Have you removed the hook woocommerce_after_shop_loop_item?
in WooCommerce
Hi,
have you removed the hook woocommerce_after_shop_loop_item
in the shop archive loop?
If so, can you reintroduce it in the next update?
I have a plugin that adds color swatches under the product image.
Comments
Hello,
Are you using your own custom template for your archive pages or a default one?
Best regards
I'm using the default one.
I have active the child theme but worked on the previous version of the theme.
Update: I made a simple test: setting the option “Add to cart button” to “Show” under Shop → Product List → Content the plugin swatches reappeared.
So can you put the execution o the hook out of the “Add to cart button” condition?
Or add an option to display the product hook independently of the option selected for “Add to cart button”
I have contacted the dev team, and they told me they will take a look at it.
If I will have more information, I will let you know.
Best regards
Phil,
I have seen a notification that you commented but cannot see the comment
Ok, thanks
The dev team said that this hook should be there and work in such a way for proper functionality.
So, in that case, you should keep the add to cart button enabled.
Best regards
Hi Phil,
for now I enabled the “add to cart” button and hided it with custom CSS, so visually the result is the same as before.
I look forward to a definitive fix.
Best regards,
Mattia