• Resolved alexbesnier

    (@alexbesnier)


    Hi,

    I love your plugin but I’ve found a bug when you try to display some attributes as links.

    If it is a global attribute then woo commerce creates a specific archive page for the attribute and the links should point to these special pages exactly like you do with the product category pages.

    The bug is quite easy to reproduce, I have created a test page with just one filter on the attribute ‘Brand’ and it is displayed as links. https://adventure4x4equipment.fr.nf/test/

    All the links are good but when you clic on it, the page it loads is the home of woo commerce with filters passed as parameters in the url instead of the brand pages with their specific urls.

    The website uses the Divi Theme but I tried it with Twenty Twenty Four and it is the same.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author themifyme

    (@themifyme)

    Hi,

    The Product Filter will add the links as Filter URLs, based on your default shop page, to add static links to your sidebar you can use a text widget, you won’t need a product filter for that.

    Thread Starter alexbesnier

    (@alexbesnier)

    Hello,

    A text widget would not be dynamic, it would not display the count badge. And the attributes can change over time. Moreover a text widget would not be able to highlight the current item.

    And your plugin is already doing the exact same thing for the product categories. In the categories when you display them as link they act as links to the category pages, not as filters ! And it is a good thing.

    And it would be logical to do the same thing to attributes but ONLY when they are global attributes.

    Plugin Author themifyme

    (@themifyme)

    Hi,

    Unfortunately that is not possible with the attributes, the direct link to the archive is only available for the WC Product Categories, because WC attributes doesn’t always have dedicated archives.

    Thread Starter alexbesnier

    (@alexbesnier)

    Exactly, they have dedicated archives only when they are global !

    If that is not a feature you want to implement then why the links to the dedicated archives are in your code ? Sorry but that is just weird : When you mousse-over the links you can see the dedicated archive URLs but when you clic on it you go to another page… I call that a bug, not a feature ??

    The algorithm to correct it would be simple :

    • if it is a global attribute then go to the dedicated URL archive (the URL is already in your code)
    • if it is not a global attribute then go to the Shop page applying the filters like it is doing now.
    • This reply was modified 11 months, 2 weeks ago by alexbesnier.
    Plugin Author themifyme

    (@themifyme)

    Please contact us via email at [email protected] so we can forward this to our developer, so he can check that / if we can implement the link to the attribute archives.

    @alexbesnier I’m thinking about buying a plugin, have you solved this problem and how? Thank you

    Plugin Author themifyme

    (@themifyme)

    Hi @lillyenn

    Please contact us via email at?[email protected] so we can help if you have the same issue.

    Thread Starter alexbesnier

    (@alexbesnier)

    Hi,

    I’ve not found THE perfect solution but my client is satisfied with the one I’ve found.

    On the Category pages I used the old default WooCommerce widget that is called ‘Product Filter – Attributes’ (the old widget you can still use with the plugin called ‘Classic Widgets’). The new ones are really slow and does not work great for me.

    And for the Brand pages I used a plugin called ‘Product Attributes Shortcode By 99w’ to display a simple list of all the brands with the count badge. To use it you have to use the shortcode with this options :

    [wcpas_product_attributes attribute=”brand” archive_links=”1″ show_counts=”1″]

    You can see the result on this brand page (‘marque’ is the French word for brand) : https://adventure4x4equipment.com/marque/dometic/

    You can navigate between the brands in the menu called ‘TOUTES LES MARQUES’.

    Plugin Author themifyme

    (@themifyme)

    Hi @@alexbesnier,

    I’m glad it’s resolved and thank you for sharing your alternative solution to the issue.

    Have a good day!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Bug with global attributes and “Display as links”’ is closed to new replies.