Skip to content
  • Hot
  • Top
  • New
1
votes

You have ... votes left in this category for this week!

Shortcode attribute FFW on the product page

terzalova shared this feature

April 10, 2019

Users love to use tag product (categories+brand, categories+brand+color) for quick access to all products with such characteristics. But tag woocommerce very long boot. Is it possible to do shortcode with FWW?
Something like this [product_cat pa_brend] this shortcode displays the terms related to a product on the product page, the customer can click a term and all products with the same characteristics will be displayed.

7 Comments

  1. Dave H.
    July 27, 2019 @ 12:24 pm

    As I understand it, this will list ATTRIBUTE NAMES based on filters in the shortcode, or with no filters – e.g. show all brands, show all colours, show all sizes etc.

    What else would then be displayed?

    e.g. Colours – White, Blue, Black etc

    * White example – could show count of white products, but should it also show a break-down of category counts or attribute counts that are in white?

    Could show: White (1,200) or it could be White with an attribute image, then a list of top categories underneath, e.g. Shirts (75), Jeans (2), Blazers (17) etc

    That would mean the shortcode would need to take a few params:

    1. Attribute to show
    2. Filters for the attribute
    3. Attributes/category to group by in the attribute description (e.g. category above for shirts, jeans, blazers etc)

    Another example:

    Brand: Adidas, Nike, Puma

    Filter could be Men, Women, Children etc in the shortcode.

    Dimension would probably be category, but could instead be Colour – if it were colour, you could have the filters of Men’s Shirts:

    Adidas: White (17), Blue (5), Green (3)
    Nike: White (25), Blue (7), Green 2) etc

    Presumably pagination would be required? Because some shops have a lot of attributes. Although maybe just the top X would suffice?

    What else am I missing?

    Does this relate to the Woo Brands functionality?

    Reply

  2. Krzysztof T.
    July 27, 2019 @ 2:21 pm

    A little more advanced version where you can define two attributes + category:

    colour + brand + category = Black Nike Shoes with the url: /product-category/shoes/black/nike

    I think that nobody will use more than two attributes.

    Reply

  3. Liam
    July 27, 2019 @ 5:38 pm

    This would be great.

    To be able to filter as you’re now able to in the product categories, on a brand/merchant level

    So pa_brand is selected, all the relevant categories. I.e

    Pa_brand – Nike
    Categories – T-Shirts – Hoodies – Joggers

    It would be also useful to be able to do this on a merchant / store level, a store being ASOS

    Pa_asos – Asos
    Categories – T-Shirts, Hoodies, Joggers

    Reply

  4. Liam
    August 5, 2019 @ 2:21 pm

    We have a bug on our site..

    If you visit here – https://instylr.com/merchant/urban-celebrity

    And filter for example via brand on the left – https://instylr.com/filter/urban-celebrity/11-degrees/

    This should filter the brand 11 Degrees within the Urban Celebrity archive, however it loads up 11 Degrees across the whole site, so any merchant that sells the brand 11 Degrees is brought up and displayed in the results.

    It also occurs here https://instylr.com/filter/asos/adidas/.

    Any ideas?

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *