I’d love to have the option to add a filter by brand (with SEO-friendly URLs). At this moment, this is possible if we’re using an attribute as Brand.
The archive pages for attributes are not very customizable, thus I’d like to use an add-on for brands. I prefer Perfect WooCommerce Brands, but I’d be happy with compatibility with any of the following plugins:
1) Perfect WooCommerce Brands – https://wordpress.org/plugins/perfect-woocommerce-brands/
2) WooCommerce Brands – https://woocommerce.com/products/brands/
3)YITH WooCommerce Brands Add-on – https://yithemes.com/themes/plugins/yith-woocommerce-brands-add-on/
July 28, 2019 @ 10:48 pm
There is no need for this.
Please see: https://www.wpintense.com/suggestions/seo-text-based-on-filters/
This will allow us to add text based on the choice of filter configuration. We will have control over each generated page, not only brands.
I added this request 8 months ago, so maybe it will be available soon…
July 29, 2019 @ 10:57 am
A little more advanced option would be creating landing pages based on filters. For such page you can specify a unique H1, title, meta description and SEO text that will overwrite global FWW settings.
July 29, 2019 @ 2:47 pm
On second thought, I can just use Custom fields to add extra information I’d like on the brand archives (using attributes).
July 29, 2019 @ 3:15 pm
Yes, it would be better to cancel this feature request.
BTW. Are you interested in sponsoring any of the following feature requests?
https://www.wpintense.com/suggestions/shortcode-attribute-ffw-on-the-product-page/
https://www.wpintense.com/suggestions/fww-sitemap-bulk-generation-of-all-available-urls/
https://www.wpintense.com/suggestions/seo-text-based-on-filters/
Maybe we can split the costs?
September 3, 2019 @ 3:32 am
I think adding a general custom taxonomy filter would be the most effective, especially with hierarchical taxonomies. This would would with all “brand” plugins as well.
September 29, 2019 @ 7:43 am
I still like it that way.
March 29, 2020 @ 7:49 pm
Can I get feedback on this? I think the brands landing page can be implemented with the suggested new feature or allowing top and bottom HTML per URL.
Basically – FWW will generate a list of all combinations of categories and canonical attributes and then for each you will be able to view and edit the top and bottom HTML.
This would allow for example:
/nike/ -> You could have HTML above and below the nike products
/adidas/ -> You could have unique HTML above and below the adidas products
/adidas/copa-mundial/ -> You could have unique HTML above and below these beautiful football boots.
https://trello.com/c/qy1GHWHG/41-fww-add-generated-sitemap-urls-tab-and-allow-users-to-configure-top-and-bottom-text-including-bulk-edit
February 2, 2021 @ 12:21 pm
Is it possible to filter categories on an attribute archive? https://woocommerce-542578-1736682.cloudwaysapps.com/brand/a-p-c
The attribute is brand, you can filter the colour, price etc but not the category, (currently set to children) in this case the categories available for the brand A.P.C are T-shirts & Hoodies
Thanks
February 2, 2021 @ 3:46 pm
Currently it’s possible with this option disabled: https://i.stack.imgur.com/6z9kU.png
February 2, 2021 @ 4:10 pm
When i do that and list the brands on a page and choose a brand i get this – https://woocommerce-542578-1736682.cloudwaysapps.com/?taxonomy=pa_brand&term=adidas-originals
Which re-directs to the homepage
February 2, 2021 @ 4:46 pm
I understand now, the brands permalink on a brand page should be /filte/brand/adidas
The trouble is, im not sure now how to list those in a directory list, is there any short code we could change here to make that possible?
https://wordpress.org/plugins/a-z-listing/
February 2, 2021 @ 8:42 pm
What version are you using?
https://woocommerce-542578-1736682.cloudwaysapps.com/filter/brand/adidas
should be redirected to:
https://woocommerce-542578-1736682.cloudwaysapps.com/filter/adidas
Add this code to your child theme’s functions.php:
add_filter (‘term_link’, ‘fww_fix_attributelink’, PHP_INT_MAX, 3);
function fww_fix_attributelink( $termlink, $term, $taxonomy ) {
if (!is_plugin_active( ‘faster-woo-widgets/faster-woo-widgets.php’)) return $termlink;
if (!taxonomy_is_product_attribute($taxonomy)) return $termlink;
$fwwoptions = get_option(‘fww_settings’);
$fwwpermalinkbase = $fwwoptions[‘permalinkbase’];
if (!$fwwpermalinkbase) return $termlink;
$termlink = home_url ($fwwpermalinkbase . ‘/’ . $termname = $term->slug);
return $termlink;
}
This code could be improved, but should be ok.
February 3, 2021 @ 11:56 am
Hi,
Were using FWW 2.25
The brand list page here – https://woocommerce-542578-1736682.cloudwaysapps.com/brands
Is shown using the shortcode: [a-z-listing display=”terms” taxonomy=”pa_brand”]
I’ve added the code you so kindly provided and the url output when clicking on any brand shows as –
https://woocommerce-542578-1736682.cloudwaysapps.com/brand/adidas
And not
https://woocommerce-542578-1736682.cloudwaysapps.com/filter/brand/adidas
February 3, 2021 @ 12:48 pm
It’s working in FWW 2.29 with product attribute archive disabled.
https://gist.github.com/twarrdy/1da80519ca773d5097f8aedfa3b3b98b
February 3, 2021 @ 2:04 pm
Okay, so with 2.29
If i list the pa_brand shortcode to create the /brands page, when choosing a brand, for example
https://woocommerce-542578-1736682.cloudwaysapps.com/?taxonomy=pa_brand&term=adidas
That will redirect to
https://woocommerce-542578-1736682.cloudwaysapps.com/filter/adidas
?
February 3, 2021 @ 2:42 pm
The new URL will be just:
https://woocommerce-542578-1736682.cloudwaysapps.com/filter/adidas
See: http://prntscr.com/y5nzsx
February 3, 2021 @ 3:08 pm
Okay, i’ve updated the plugin to 2.32 and added your code, still no luck.. see here –
https://woocommerce-542578-1736682.cloudwaysapps.com/brands
February 3, 2021 @ 3:19 pm
https://i.stack.imgur.com/6z9kU.png
February 3, 2021 @ 3:23 pm
Unchecked i get the issue above,
Checked i get a 404 page (Currently checked now)
February 3, 2021 @ 3:31 pm
Can you try 2.29?
February 3, 2021 @ 3:35 pm
Yes, that does the following – https://woocommerce-542578-1736682.cloudwaysapps.com/brand/adidas
Then when filtering, it shows a bland set of products
February 3, 2021 @ 3:46 pm
The URL when filtering shows this – https://woocommerce-542578-1736682.cloudwaysapps.com/category/mens-clothinga-bathing-ape/
Notice theres no forward slash between mens clothing and the brand
February 3, 2021 @ 4:32 pm
Send me a screenshot of your brand attribute settings page:
https://woocommerce-542578-1736682.cloudwaysapps.com/wp-admin/edit.php?post_type=product&page=product_attributes&edit=1
or
https://woocommerce-542578-1736682.cloudwaysapps.com/wp-admin/edit.php?post_type=product&page=product_attributes&edit=2
or
https://woocommerce-542578-1736682.cloudwaysapps.com/wp-admin/edit.php?post_type=product&page=product_attributes&edit=3
etc. just change the last digit in the url &edit=X to find the brand attribute
February 3, 2021 @ 4:41 pm
It wont let me take the screen shot its set as
NAME: Brand
SLUG: brand
Enable Archives: Checked
Type: Select
Default order: Custom ordering
If you look now, the URL its correct (I changed the word ‘filter’ to ‘Shop’ –
https://woocommerce-542578-1736682.cloudwaysapps.com/shop/adidas/
February 3, 2021 @ 5:59 pm
‘Enable Archives: Checked’ should be unchecked to avoid duplicates:
https://woocommerce-542578-1736682.cloudwaysapps.com/shop/adidas
https://woocommerce-542578-1736682.cloudwaysapps.com/brand/adidas
Glad to hear you got it working. It seems you have not added and saved the custom permalink base in FWW settings. You can change the word ‘Shop’ to ‘filter’ again. Remember to flush permalinks by visiting the permalinks page and save the FWW settings. Anyway, these attribute issues should be solved in the core.
You can update/downgrade the plugin and see how it goes. BTW. There is still a bug in FWW 2.32:
https://www.wpintense.com/idea/fww-2-32-remove-product-category-from-permalinks-option-not-working/
Please vote for these feature requests:
https://www.wpintense.com/suggestions/allow-filtering-products-by-any-custom-taxonomy-terms-e-g-brand-or-product-tag-new-fww-fast-custom-taxonomy-widget/
https://www.wpintense.com/suggestions/fww-sitemap-bulk-generation-of-all-available-urls/
https://www.wpintense.com/suggestions/seo-text-based-on-filters/
https://www.wpintense.com/suggestions/add-existing-filters-to-woocommerce-breadcrumbs/
https://www.wpintense.com/suggestions/move-selected-items-to-the-top/
https://www.wpintense.com/suggestions/show-the-count-of-selected-filters-after-the-title-per-widget/
https://www.wpintense.com/suggestions/add-accordion-to-fww-widgets/
More on Trello:
https://trello.com/c/llSpCRAi/129-fww-focus-on-these-3-features
February 4, 2021 @ 1:50 pm
Do you have any idea of how to fix this?
Thanks
February 4, 2021 @ 3:15 pm
I answered yesterday, but ‘my comment is awaiting moderation’.
It seems you have not added and saved the custom permalink base in FWW settings. You can change the word ‘Shop’ to ‘filter’ again. Remember to flush permalinks by visiting the permalinks page and save the FWW settings. You can update/downgrade (maybe 2.25?) the plugin and see how it goes.
February 4, 2021 @ 3:51 pm
Yeah, i’ve tried that numerous times too, flushed all cache’ upgraded and downgraded the plug in too.. Not sure what else to do
February 4, 2021 @ 4:12 pm
What’s not working in FWW 2.25? URLs in your shortcode should be ok (re-save the FWW settings).
February 4, 2021 @ 4:24 pm
2.25 now works – https://woocommerce-542578-1736682.cloudwaysapps.com/product-category/mens-t-shirts/?filter_brand=395
Brand appears as a number
February 4, 2021 @ 4:51 pm
You can configure this in FWW settings. BTW. You can also empty cache: http://prntscr.com/yajzgw
February 10, 2021 @ 3:37 pm
Hi,
How do we change the URL from number to brand? There are no settings in 2.25 to do this?
https://instylr.co.uk/product-category/mens-t-shirts/?filter_brand=413
Thanks
February 10, 2021 @ 4:17 pm
Never mind ive upgraded up to 2.29..
Do you know why here https://instylr.co.uk/filter/a-p-c
When i try to filter by category the URL misses a ‘/’ in between the category and the brand?
When you try it with Colour, its fine?
February 10, 2021 @ 4:43 pm
I believe this has been fixed in 2.32.
February 10, 2021 @ 5:00 pm
Hi,
Tried 2.32 still the same issue and brand pages show no products
https://instylr.co.uk/filter/a-p-c
February 10, 2021 @ 5:06 pm
Have you tried to re-save your permalinks via Settings > Permalinks and FWW settings and empty cache in FWW?
February 10, 2021 @ 8:51 pm
Yeah
And cleared all cache’s
404 page is returned when we filter any attribute
February 11, 2021 @ 10:12 am
Found this in the FWW – Appearance – Widget section
“By default FWW will use filter_attributeslug as the URL parameter to be compatible with existing URLs for users using standard WooCommerce filters.”
– So its men to show as it does – https://instylr.co.uk/product-category/mens-clothinga-p-c/
But when we filter, no products show
February 11, 2021 @ 10:17 am
Re: missing ‘/’
You can enable or disable trailing slashes in WordPress links.
Google: How to force trailing slashes.
A link without a trailing slash: https://instylr.co.uk/product-category/mens-clothing
A link with a trailing slash: https://instylr.co.uk/product-category/mens-clothing/
February 11, 2021 @ 10:30 am
Thanks will check that out.
I did find that it works fine when we use the “ID” instead of “Slug” and URL Param in FWW
February 11, 2021 @ 8:01 pm
Please message Dave on Facebook to speed up development and bug fixes.
March 30, 2020 @ 9:04 am
That would be amazing, Dave!
December 13, 2020 @ 9:11 pm
Please adding filter by taxonomy / custom taxonomy would be great. Thank you
February 16, 2021 @ 5:56 pm
Liam – re: the a-p-c filtering issue:
If there is no category, then there *must* be a preceding slug, e.g. /filter/ or /filtr/ or /f/ or whatever.
You set this inside FWW settings under the “Attributes-only permalink base” setting – please do not leave this empty.
Here you can see a-p-c filtered correctly with pretty-permalinks:
https://instylr.co.uk/filter/a-p-c
Also – when you change the permalink settings, you may need to visit /wp-admin/options-permalink.php and hit the save button. The plugin attempts to do this for you, but it seems like sometimes it doesn’t succeed.
March 9, 2021 @ 10:22 am
I’d appreciate any comments and help anyone can provide with testing the new feature to address this feature request – more info available here: https://www.wpintense.com/2021/03/01/adding-a-custom-taxonomy-widget-to-faster-woo-widgets/