• Borneyak

    (@borneyak)


    I got a very strange problem with WooCommerce and this plugin.

    I got a couple of categories:
    – Tea
    – – Black Tea
    – – – Black Tea Products
    – – White Tea
    – – – White Tea Products
    – – Green Tea
    – – – Green Tea Products

    Tea has his own category image set up in woocommerce and that works fine. Black/White/Green tea categories gets a random thumbnail from the plugin. It picks a random thumbnail from one of the products as expected.
    But, and this is really strange, it changes all category links to the same productlink for some weird reason. Black/White/Green tea categories all three got the same link to a product. Disabling the plugin solves this problem. I tried another plugin which also picks a random thumbnail and that plugin had the exact same problem. So the problem should be somewhere in the getting the thumbnail-system or so.

    At first i used, for testing purposes, the same thumbnail for all the products. I thought that may have caused the problem, but when i changed a few thumbnails the problem wasn’t gone away. So that could not be it, i guess. Then i tried to reset the permalinks in WordPress, but that doesn’t solve the problem either.

    A workaround in this case would be to not use the plugin and set category images the normal way, but i don’t want that.

    What can be done?

    https://ww.wp.xz.cn/plugins/woocommerce-auto-category-thumbnails/

Viewing 1 replies (of 1 total)
  • just ran into this very same issue it works as advertised but the image link goes to that product instead of the category or sub category perhaps this is why this hasnt been updated in over 2 years sad really it was exactly what I was looking for Im going to try and take a whack at fixing this I will post any fix I come up with here so you can have it and the dev can integrate it in the next version

    • This reply was modified 9 years, 3 months ago by kineticartist.
Viewing 1 replies (of 1 total)

The topic ‘Productcategory link is wrong when plugin is enabled’ is closed to new replies.