Mobile App Refresh Campaign [Banner] 2024

Product Icon

WooCommerce Points and Rewards

by  Woo
Reward your customers for purchases and other actions with points which can be redeemed for discounts.

New hook – variation message

‘Hello,

Can you please add a hook in class WC_Points_Rewards_Product, method render_variation_message ?
I would love to hook to the $price_html value, before it is returned.

This would allow me to code a consistent behaviour with the single product message (method render_product_message), where I can hook before the message is displayed.

I would love all $messages rendered in the WC_Points_Rewards_Product class to have a hook.
This applies to the additional methods below :
– create_variation_message_to_product_summary
– create_at_least_message_to_product_summary

Thanks in advance !
Antoine

Author

Current Status

Open

Last updated: November 11, 2016

0 comments

Log in to comment on this feature request.