fbpx
  • Hot
  • Top
  • New
1
votes

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

Filter Categories at brand or store level

Guest shared this feature

February 9, 2019

I think this would be useful if not critical to stores who have brand or store pages. For example.

Balenciaga (Brand)
ASOS (Store)

To be able to filter various types of categories for those attributes.

At the moment if you click Balenciaga as a brand and scroll to category its blank as there are no children, but at the top level if you click t-shirts, in the sidebar under “Brand” Balenciaga will show, as there are t-shirts for Balenciaga..

Same for ASOS, as ASOS is a merchant (store) attribute for us, you navigate to Stores – ASOS, you’re presented with an ASOS page showing the various products, navigate to Categories and it is blank, again there are no children, but at top level if you again click t-shirts, jumpers or whatever it may be, under Merchant (Store) ASOS has them products.

Is this possible?

32 Comments

  1. Dave H.
    March 8, 2019 @ 11:16 am

    I think I understand what you are saying:

    If user clicks ‘red’, but has not clicked a category (if you allow this) then the category list should be restricted to ‘red’ products. That’s already achievable.

    Currently, when I test this on foundthru.com, I see all the categories – i.e. not restricted to the attributes at all. That’s the intended behaviour. The categories are more like top-level-pages really – and the default behaviour is to reset all attribute filters when a category is selected.

    You can change this behaviour by altering the widget settings – which I’ve just done now – so that if you visit:

    https://foundthru.com/filter/beef/

    You see only the category of ‘dogs’ since that’s the only category containing ‘beef’ products.

    Reply

  2. Liam F.
    July 22, 2019 @ 4:13 pm

    Hi Dave,

    What would i have to change in the settings to achieve this,

    https://instylr.com/brand/balenciaga

    Here we have the Balenciaga brand, how would we display the various sub categories available, i.e Hoodie, T-Shirts, Shoes?

    Thanks

    Reply

    • Dave H.
      July 24, 2019 @ 3:22 am

      What are you using here to display ‘brand’? Is brand an attribute? If so, it should work.

      If it’s from another plugin, I’ll have to code something up – but let me know because I’m coding extra features for FWW right now.

      Reply

  3. Liam F.
    July 24, 2019 @ 9:24 am

    Hi Dave,

    Yes brand is an attribute.

    Reply

    • Dave H.
      July 24, 2019 @ 9:29 am

      Are you sure it’s not from another plugin? Or did you set ‘brand’ as the permalink in FWW?

      Is it maybe Woo Brands or the Codecanyon one?

      It’s fine if so, I’ve been meaning to add compatibility for a while.

      Would you be able to send me over fresh credentials for your store – both FTP and wp-admin? I’ll include your site as a test-case for my upgrade. Should be ready by Friday.

      Reply

      • Liam F.
        July 24, 2019 @ 1:43 pm

        Its not from another plug in,

        The only permalink set in FWW is product_cat

        I’ll send over the credential via live chat now

        Thanks!

        Reply

        • K T.
          July 24, 2019 @ 3:27 pm

          Where did you set ‘brand’ slug: http://prntscr.com/ojgcqm? Did you enable archive for brand attribute?

          Reply

          • Liam
            July 24, 2019 @ 4:47 pm

            We use the brand slug in attributes.

            We then set some custom code to pull the brand attribute from our data feed

            It then populates the brand attribute list for all the brands that are imported.

            Archives are enabled as we need the user to be able to land on a brand page and browse through that particular brand.

            I took your advice and disabled “enable archives” and tested the Balenciaga brand, it then displays nothing, 0 products

          • K T.
            July 24, 2019 @ 5:15 pm

            You can disable archives, enable this option: http://prntscr.com/ojhy5s and set there custom slug.

            e.g. https://foundthru.com/filter/beef/

  4. K T.
    July 24, 2019 @ 10:34 am

    It’s working like you want. Update the plugin and enable:
    http://prntscr.com/ojar9y + http://prntscr.com/ojavq0

    There is no need to use WooCommerce Brands plugin (with its archives). It’s better to add brands as attributes and wait for the next update with the following features:

    https://www.wpintense.com/suggestions/seo-text-based-on-filters/
    https://www.wpintense.com/suggestions/fww-sitemap-bulk-generation-of-all-available-urls/

    Reply

  5. K T.
    July 24, 2019 @ 10:59 am

    And disable archives for attributes: http://prntscr.com/ojbyrp

    Reply

    • Liam
      July 25, 2019 @ 8:58 am

      Hi,

      Everything is set up as you have described, we are not using the woocommerce brands plug in, we are using the attribute, I’ve tried every setting in the widgets.

      Current heirachy
      Full heirachy
      Children
      Top Level

      It doesn’t work.

      Reply

      • K T.
        July 25, 2019 @ 9:21 am

        Hi, please see my comment above:

        You can disable archives, enable this option: http://prntscr.com/ojhy5s and set there custom slug.

        Live example: https://foundthru.com/filter/beef/

        The only difference will be the global permalink base, so instead of:
        merchant/asos
        brand/balenciaga

        you will have:
        filter/asos
        filter/balenciaga

        Could you please temporarily disable archives? I use the same settings on my website and it works like a charm.

        Reply

  6. Liam
    July 25, 2019 @ 3:37 pm

    Yes, thats what i have done, i disable the archives on the attributes, i re vist the brand in this example Balenciaga, and it throws me back to the homepage.

    Reply

  7. Liam
    July 25, 2019 @ 3:40 pm

    https://instylr.com/?taxonomy=pa_brand&term=balenciaga

    And throws me back to the homepage

    Reply

  8. Liam F.
    July 26, 2019 @ 4:12 pm

    Should be accessible now

    https://instylr.com/brand/balenciaga

    Brings up the filters: Brand & Colour

    “To make it work you should change the permalink base in a function you are using to list the attributes”

    Where is this done?

    Thanks

    Reply

  9. Liam
    July 26, 2019 @ 8:00 pm

    We’ve entered the slugs:

    Brand
    Merchant

    In the WooCommerce product attributes.

    We import the feed and it automatically imports the brands & merchants and lists them in the attributes.

    Reply

  10. Liam
    July 26, 2019 @ 8:10 pm

    Or do you mean,

    How are we listing them in the pages? I.e as an index page?

    Reply

  11. Liam
    July 26, 2019 @ 9:17 pm

    Could you show me on your site, displaying the filtering as we need it? Where it works like a charm?

    We had a developer do it for us on PPH

    Reply

  12. Liam
    July 26, 2019 @ 9:43 pm

    Thanks,

    Yeah I don’t know what I’m doing wrong, if tried everything you’ve suggested, and nothing.

    Reply

    • K T.
      July 26, 2019 @ 10:06 pm

      1. Disable archives for attributes – this is the main problem.
      2. Widget settings: https://prnt.sc/ojar9y FWW settings: https://prnt.sc/ojhy5s
      3. Don’t use links like: merchant/asos and brand/balenciaga, but: filter/asos and filter/balenciaga
      4. /brands and shops/ pages – Edit an A-Z index or create a new function/shortcode to list the attributes with the NEW permalink structure – links shouldn’t point to their archive pages, so instead of: get_term_link you should use there something like: https://instylr.com/filter/$term->slug

      Reply

  13. Liam
    July 27, 2019 @ 9:15 am

    Ok,

    Trying this on the Shops page – this is the shortcode

    [a-z-listing taxonomy=”pa_merchant” display=”terms”]

    What do i have to do to get this to work, based on your description above.

    FWW settings are set
    Pretty permalinks are on
    Filter is set
    Archives are disabled

    Thanks

    Thanks

    Reply

  14. Dave H.
    July 27, 2019 @ 12:27 pm

    Can you check if this is related to another feature request for Shortcodes?

    https://www.wpintense.com/suggestions/shortcode-attribute-ffw-on-the-product-page/

    Reply

    • K T.
      July 27, 2019 @ 1:11 pm

      Yes!

      Reply

Leave a Reply

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

Pin It on Pinterest