Title: Coupon code wrong amount
Last modified: January 2, 2018

---

# Coupon code wrong amount

 *  Resolved [en10](https://wordpress.org/support/users/en10/)
 * (@en10)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/coupon-code-wrong-amount/)
 * 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)

 *  [pavloborysenko](https://wordpress.org/support/users/pavloborysenko/)
 * (@pavloborysenko)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/coupon-code-wrong-amount/#post-9831063)
 * 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](https://wordpress.org/support/users/en10/)
 * (@en10)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/coupon-code-wrong-amount/#post-9908358)
 * 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
 *  [pavloborysenko](https://wordpress.org/support/users/pavloborysenko/)
 * (@pavloborysenko)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/coupon-code-wrong-amount/#post-9923416)
 * 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](https://wordpress.org/support/users/en10/)
 * (@en10)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/coupon-code-wrong-amount/#post-10044846)
 * 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.

 * ![](https://ps.w.org/woocommerce-currency-switcher/assets/icon-256x256.png?rev
   =2844633)
 * [FOX - Currency Switcher Professional for WooCommerce](https://wordpress.org/plugins/woocommerce-currency-switcher/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-currency-switcher/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-currency-switcher/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-currency-switcher/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-currency-switcher/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-currency-switcher/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [en10](https://wordpress.org/support/users/en10/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/coupon-code-wrong-amount/#post-10044846)
 * Status: resolved