• Resolved Jan Vašák

    (@wacki)


    Hello. We have products (meals) that all cost, for example, $ 10 and for the purchase of 1 product, the customer gets 1 point. It is set there that, for example, for 10 purchased products you can apply a coupon worth $ 10 -> one product for free. It all works great, but the customer also gets a point for this product, which is basically free. Is it possible to set that no points are counted for this product when applying the collected points? Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • MakeWebBetter

    (@makewebbetter)

    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,

    Thread Starter Jan Vašák

    (@wacki)

    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.

    MakeWebBetter

    (@makewebbetter)

    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,

    Thread Starter Jan Vašák

    (@wacki)

    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.

    MakeWebBetter

    (@makewebbetter)

    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,

    Thread Starter Jan Vašák

    (@wacki)

    I apologize for my late response. I found a solution in this function.

    Thank you very much!!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Points when applying coupon’ is closed to new replies.