Can't use the woocommerce_shop_loop hook
Hello,
I am writing you because I am having some issues with a website on which I am using your theme and as well woocommerce as plugin. The issue that I am having is that the hook 'woocommerce_shop_loop' is never being called when I navigate the shop page. On my functions.php file I have the following code:
add_action('woocommerce_shop_loop', 'action_woocommerce_shop_loop');
function action_woocommerce_shop_loop() {
// custom code
}
My impression is that the code (from theme Betheme) under 'woocommerce/archive-product.php' is never being executed.
Theme used: Betheme 25.1.9.1 + Child 1.6.2
Woocommerce version installed: 6.1.1
Thanks
Comments
Hi,
What you ask for requires file customization which in reference to Item Support Policy is not allowed. http://themeforest.net/page/item_support_policy
So if you want to modify files and don't know how, you should contact your web developer. Item Policy says:
Item support does not include services to modify or extend the item beyond the original features, style, and functionality described on the item page. For customization services that will help you tailor the item to your specific requirements, we recommend contacting the author to see if they privately offer paid customization services or checking out the great service providers on Envato Studio.
Thanks