Closing product link
-
Hello,
I am hooking a function into woocommerce product on shop page.
By default woocommerce_template_loop_product_link_close closes after product ratings but i want it to close just after the image thumbnail. So i am using this actionn which works fine.add_action('woocommerce_shop_loop_item_title', 'woocommerce_template_loop_product_link_close', 1);
But if i hook any other function , suppose after product price.add_action('woocommerce_after_shop_loop_item_title','my_function',11);
it again opens the product link only for that hooked element.
This only happens in virtue? How can i fix it
Thanks.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Closing product link’ is closed to new replies.