Reply 305271 to: Product page – how to set it up?

Avatar: Olga Barlow
Olga Barlow
Support staff
October 12, 2021 at 14:41

Hello,

Probably your plugin uses some of the default WooCommerce hooks that are replaced if you use the single product builder.
Ask plugin authors what function do they use to display points?
Use XStore hook in child theme functions.php, for example etheme_woocommerce_template_single_add_to_cart to show it before or after the add to cart form, for example:
add_action('etheme_woocommerce_template_single_add_to_cart', 'custom_function_name', 5);

Regards

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.