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/
There is no need for this.
Please see: https://www.prelive.superspeedyplugins.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…
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.
On second thought, I can just use Custom fields to add extra information I’d like on the brand archives (using attributes).
Yes, it would be better to cancel this feature request.
BTW. Are you interested in sponsoring any of the following feature requests?
https://www.prelive.superspeedyplugins.com/suggestions/shortcode-attribute-ffw-on-the-product-page/
https://www.prelive.superspeedyplugins.com/suggestions/fww-sitemap-bulk-generation-of-all-available-urls/
https://www.prelive.superspeedyplugins.com/suggestions/seo-text-based-on-filters/
Maybe we can split the costs?
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.
I still like it that way.
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
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
Currently it’s possible with this option disabled: https://i.stack.imgur.com/6z9kU.png
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/
Please message Dave on Facebook to speed up development and bug fixes.
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
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/
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
Yeah
And cleared all cache’s
404 page is returned when we filter any attribute
Have you tried to re-save your permalinks via Settings > Permalinks and FWW settings and empty cache in FWW?
Hi,
Tried 2.32 still the same issue and brand pages show no products
https://instylr.co.uk/filter/a-p-c
I believe this has been fixed in 2.32.
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?
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
You can configure this in FWW settings. BTW. You can also empty cache: http://prntscr.com/yajzgw
2.25 now works – https://woocommerce-542578-1736682.cloudwaysapps.com/product-category/mens-t-shirts/?filter_brand=395
Brand appears as a number
What’s not working in FWW 2.25? URLs in your shortcode should be ok (re-save the FWW settings).
Yeah, i’ve tried that numerous times too, flushed all cache’ upgraded and downgraded the plug in too.. Not sure what else to do
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.
Do you have any idea of how to fix this?
Thanks
‘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.prelive.superspeedyplugins.com/idea/fww-2-32-remove-product-category-from-permalinks-option-not-working/
Please vote for these feature requests:
https://www.prelive.superspeedyplugins.com/suggestions/allow-filtering-products-by-any-custom-taxonomy-terms-e-g-brand-or-product-tag-new-fww-fast-custom-taxonomy-widget/
https://www.prelive.superspeedyplugins.com/suggestions/fww-sitemap-bulk-generation-of-all-available-urls/
https://www.prelive.superspeedyplugins.com/suggestions/seo-text-based-on-filters/
https://www.prelive.superspeedyplugins.com/suggestions/add-existing-filters-to-woocommerce-breadcrumbs/
https://www.prelive.superspeedyplugins.com/suggestions/move-selected-items-to-the-top/
https://www.prelive.superspeedyplugins.com/suggestions/show-the-count-of-selected-filters-after-the-title-per-widget/
https://www.prelive.superspeedyplugins.com/suggestions/add-accordion-to-fww-widgets/
More on Trello:
https://trello.com/c/llSpCRAi/129-fww-focus-on-these-3-features
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/
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
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
Yes, that does the following – https://woocommerce-542578-1736682.cloudwaysapps.com/brand/adidas
Then when filtering, it shows a bland set of products
Can you try 2.29?
Unchecked i get the issue above,
Checked i get a 404 page (Currently checked now)
https://i.stack.imgur.com/6z9kU.png
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
The new URL will be just:
https://woocommerce-542578-1736682.cloudwaysapps.com/filter/adidas
See: http://prntscr.com/y5nzsx
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
?
It’s working in FWW 2.29 with product attribute archive disabled.
https://gist.github.com/twarrdy/1da80519ca773d5097f8aedfa3b3b98b
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
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.
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
That would be amazing, Dave!
Please adding filter by taxonomy / custom taxonomy would be great. Thank you
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.
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.prelive.superspeedyplugins.com/2021/03/01/adding-a-custom-taxonomy-widget-to-faster-woo-widgets/