Hello,
Thanks for using our plugin.
It seems that you are using the product assign points feature to providing points to your customer.
In our pro version, you can assign points globally only. Not to the specific product.
If you want to provide a point to the specific product then please go for our pro version.
Regards,
Hello,
adding points globally to all products is correct, I don’t need to add them individually.
I’ll try to explain again.
The site is an eshop selling cooked meals. The customer gets 1 point for the purchase of 1 meal. After purchasing 7 meals = 7 points, he is entitled to order 1 free meal (7 points = 165 CZK – value of one meal). This all works fine. But when “buying” this food for free, the customer gets another 1 point. So to redeem another coupon, he only needs to buy another 6 meals, not 7.
Is there any chance to set that if the coupon is redeemed, 1 point will not be added to the purchase for this meal?
Thanks.
Hello,
Thanks for explaining your problem in detail.
You want that when any customer redeem the points while placing the order then they will not get any points for that order.
But currently, we don’t have this feature in our plugin.
Regards,
You can tell me which function adds points to the user after the order is completed. I will try to modify this function myself.
Thanks.
Hello,
For providing points to the customer on order status completed. We have written the code in this file-
points-and-rewards-for-woocommerce/public/class-points-rewards-for-woocommerce-public.php
In this file you will find a function-
public function mwb_wpr_woocommerce_order_status_changed( $order_id, $old_status, $new_status )
You can make the changes in this function. It may help you.
Regards,
I apologize for my late response. I found a solution in this function.
Thank you very much!!