PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Incorrect conversion with coupon

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hi,

I am using Advanced Coupons Pro version and I have a BOGO coupon setup for Buy 1 apparel, Get 30% OFF on next apparel when added to cart. When the currency is set to USD, the discounts are correctly applied. However, when CAD is selected, the conversions are incorrect. Please see attached screenshot.

Incorrect: https://1drv.ms/u/s!AtM9_MXlD7gC63xUyRxsuqBj3xPe?e=nVPpoa

Correct: https://1drv.ms/u/s!AtM9_MXlD7gC632xUndeUoRrIkpU?e=XtfRZe

I read your guide about 3rd party plugins and Advanced Coupons Pro is not listed in there. Are you able to provide a fix?

 

Hello

Please  drop  me  a link  to a site  of this third party  plugin

Paste  wp-admin+FTP  access  to  your  test site

And as described in this article -  https://currency-switcher.com/woocs-labs , I will add this plugin to the adaptation queue

Here is the plugin website:

https://advancedcouponsplugin.com/

I don't have a test website setup and in light of this error I had to disable checkouts with CAD on my production website, which has Black Friday sale happening right now.

My website with the issue is https://martialartist.ca

 

Hello

We can add this plugin to the adaptation queue

But you should create a test site (clone) - https://wordpress.org/plugins/duplicator/ -it will be very useful

Without wp-admin+FTP access we can't start working with this third party plugin

 

I just created a staging website & FTP account. Please see saved info on this ticket.

When testing the bug, please add coupon BF2022 in cart, and add any 2 t-shirts or apparel in cart.

Currency switcher is on the footer of the website.

Hello

I added the plugin to the adaptation queue

I will write to you as soon as I get the result

hello

Please  do a test

 

Hi,

It's working now! Thank you.

How can I apply the same fix on my production website?

Hello

In file - wp-content\plugins\advanced-coupons-for-woocommerce-free\Models\BOGO\Frontend.php -  add this  code - https://share.pluginus.net/image/i20221125182035.png

if (class_exists('WOOCS')) {
global $WOOCS;
if ($WOOCS->is_multiple_allowed) {
$currrent = $WOOCS->current_currency;
if ($currrent != $WOOCS->default_currency) {
$currencies = $WOOCS->get_currencies();
$rate = $currencies[$currrent]['rate'];
$new_price = $new_price/$rate;
}
}
}

Is there a permanent fix that you can recommend? I believe I'll need to apply this fix every time advanced coupons is updated, correct?

Can I use code snippets plugin or something to have this fix permanently?

Hello

Yes! Write to the author of a third-party plugin and ask him to insert this code in the new version of his plugin