Archived topic
Block hook element for Shop page
5 replies · Started by Juned on April 19, 2022
Hi Team,
I am using Block Hook Element for first 03 urls with Hook Name - woocommerce_breadcumb (location - Product Category Archive) and the image banner is appearing at desired location.
But when I am replicating the same at Shop Page and same location by using same Hooke Name, then it is not appearing. I mean the hook is not working.
I selected:
Location: Page >> Shop Page (online hygiene shop)
Hook name >> I tried many combinations but not succeeded.
Please suggest me the right combination. (P.S.: I refered this guide also but no results: https://www.businessbloomer.com/woocommerce-visual-hook-guide-archiveshopcat-page/)
(Either location selection is wrong or hook name is wrongly selected??)
Kindly help.
Hi there,
Try using the woocommerce_before_main_content hook. And when you done clear any server/plugin and browser caches
Hello Sir,
I followed it, but still there's no response. I cleared caching from CDN and plugins also.
Please suggest.
Hi Juned,
Can you try setting the Display rule location to Product Archive and see how it goes? Try clearing your cache once more after changing.
Kindly let us know how it goes. Hope to hear from you soon. :)
Thanks Fernando. It worked.
You’re welcome Juned! Glad to be of assistance! Feel free to reach out anytime you’ll need assistance with anything else. :)