• Resolved en10

    (@en10)


    Hello,

    I’m not sure the plugin works correctly with Coupon Code.
    Note: My Woocommerce is in JPY, I force in EUR with your plugin

    I create a coupon code of 3 euros for the first time but when I try to use it, the amount is not 3 euros.
    (the plugin works correctly for the conversion of device of products.)

    If I add a second product on the card, the amount of discount decrease.
    If I add a third product, the amount decrease again.

    What can I do?

    Best Regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello

    I’m not sure the plugin works correctly with Coupon Code. – If this is a standard functional woocommerce – this should work well

    what version of the plugin are you using?

    Can you drop me link to your site?

    Thread Starter en10

    (@en10)

    Sorry for the delay to reply.

    The version of the plugin is 1.2.1

    To force in EUR, I used a function I saw in your website

    add_filter('wp_head',function(){    
        if(is_checkout()){
            global $WOOCS;
            $WOOCS->set_currency('EUR');
        }
    });

    When I want create a coupon, which currency I need to use? The default currency or the currency that I force?

    Best

    Hello

    Can you drop me exact link to the issue? Describe what I should do to get an error. (coupon code)

    the better function:

    add_filter('wp_head',function(){
               if (class_exists('WOOCS'))
              {
                                global $WOOCS;
                                 if (is_checkout() OR is_checkout_pay_page() )
                                     {
                                      
    
                                     $WOOCS->current_currency=$WOOCS->default_currency;
                                     $WOOCS->storage->set_val('woocs_current_currency',$WOOCS->default_currency);   
                                  }
              }
    });
    Thread Starter en10

    (@en10)

    Hello,

    Thank you for the new code, I put it and updated to the last version of woocommerce.
    The discount seems good after that ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Coupon code wrong amount’ is closed to new replies.