Avaliable hooks to manipulate woodmart archive page
-
Hello,
I was searching the documentation to find any available hooks or filters that the theme provides, in order to manipulate the archive page of woocommerce, and make some changes as I see fit. For example, I want to add a see more button below the product’s title and a video button, that I upload inside the product.
Are there any hooks available, or any filters? If there are any settings available that I missed, please feel free to point them out. I have also added below what i want to achieve
Best Regards
Hello,
You can use the Visual Hook Guide from the below article.
https://www.businessbloomer.com/woocommerce-visual-hook-guide-archiveshopcat-page/
In the meantime, feel free to ask me any questions you may have.
Kind Regards
(Accidentally I changed tabs and the reply was inside the private message)
Thank you for this article,
The filters above apply also archive page, even if it is custom-made from the theme Layouts builder?
Also, is there any hook or filter available from the theme to make the video button appear below?
I mean the video is displayed inside the product.
Best Regards
I have found a way to implement the button of the video, but the button appears unstyled.
woodmart_enqueue_inline_style( 'mfp-popup' );
The above inline style does not properly load inside the archive page that I have created with the Layouts builder.
Should I try to enqueue another script?
Best Regards
Hello,
I apologize for the delay.
Sorry, but we don’t have styles for the “Play” button, unfortunately.
Only those hooks inside the product work on the builder: https://take.ms/i3LAO
In the meantime, feel free to ask me any questions you may have.
Kind Regards