This topic has 3 replies, 2 voices, and was last updated 3 years, 2 months ago ago by Chris
We’ve added a plugin to calculate loyalty points. Unfortunately we can’t set one item on the product page. It does not appear in the customization options of this page.
How can we do it differently?
An example is attached.
Thank you.
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
Thank you 🙂
The issue related to '‘Product page – how to set it up?’' has been successfully resolved, and the topic is now closed for further responses