Manually specify individual relations in each category

Top WooCommerce & WordPress Plugins Forums Related Categories for WooCommerce Manually specify individual relations in each category

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #90907
    Tamar
    Guest

    It looks like I can only show related categories in the archives page by parent,etc. I was hoping I can manually specify individual relations in each category.

    How do I get support to create woocommerce category settings, similar to how you can select related categories in the product edit page?

    #90908
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Tamar,

    Please give me a minute – I will try to implement it right now. I will get back to you shortly.

    #90909
    Tom Anbinder
    Moderator
    Plugin Support

    Hi again, Tamar,

    Hopefully I’ve managed to implement it. Please update the plugin to new v1.2.0. After that you need to enable new “Per category” option in “Relate Options” settings section (in “WooCommerce > Settings > Related Categories”). Then you need to go to some category admin edit page (“Products > Categories > Your Category”) and there you will find new “Related categories” option.

    Please check it out and let me know if something is not working as expected or if you have any other questions/ideas. And if you like the plugin, please consider leaving me a rating.

    #90910
    jacob maymudes
    Participant

    Thank you for the quick response!
    I see the settings, but I don’t see the related category in the category view (using archive-product.php) page from woocommerce.

    I tried the regular 2020 wordpress theme as well as the storefront theme from woocommerce on a fresh installation of wordpress.

    Does it work for you or do I need to add something special to the archive-product page in order for it to display?

    #90911
    Tom Anbinder
    Moderator
    Plugin Support

    Hi,

    No, you don’t need to add anything to any template, however, as you’ve mentioned archive-product.php, I can see where the problem is. Our plugin shows related categories for the product, i.e. on single product page – by going through all product’s categories and finding related categories. Anyway, I’m already adding the option to show it on archives – will be releasing new plugin version in an hour or so. Will get back to you shortly.

    #90912
    Tom Anbinder
    Moderator
    Plugin Support

    It took me a bit longer than expected but, hopefully, I’ve managed to implement it. Please update the plugin to the latest version 1.3.0. After the update, you will find new “Archives” settings section (in “WooCommerce > Settings > Related Categories > Archives”). Please take a look and let me know if it’s working correctly now.

    #90913
    jacob maymudes
    Participant

    Yes it works well now. I can select categories for the archive page.

    I had to remove the “products” class in the $shortcode_output so that it wouldn’t interfere with infinite scrolling plugins that rely on the products class in, the shop loop section, to load more products.

    Thank you for your timely help!

    #90914
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Jacob,

    Happy to hear it’s solved! Please let me know if you need anything else.

    P.S. And thank you for the review, I really appreciate it.

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.