Mini cart issues
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 pleaseIf 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.
Quote from Forever4Life.rs on November 27, 2020, 02:09I installed WOOCS and everythings looked fine. I use EUR as base currency and all prices around are in EUR. My second currency is RSD and I added it correctly. Currency conversion work perfectly, but there is only problem with mini cart.
When I add:
add_filter('wp_head',function(){
global $WOOCS; if(is_checkout()){
$WOOCS->set_currency('RSD'); }else{ $WOOCS->set_currency('RSD'); } });my mini cart drives me crazy. It acts like base currency. Single product is shown correctly in RSD, but Subtotal in mini cart looks like it has been done double conversion.
For example: Bottle costs 7,00€ and is shown in catalog in RSD as it is (7,00 x conversion rate 117,6). When add it to the cart, mini cart shows that I added 1x Bottle with price 7,00 x 117,6 but subtotal shows 7,00 x 117,6 x 117,6.
Is there any code I can add to filter I'm using above in order to prevent this issue. Everywhere else is shown correctly (basket, cart, after-order emails).
Thanks in advance.
I installed WOOCS and everythings looked fine. I use EUR as base currency and all prices around are in EUR. My second currency is RSD and I added it correctly. Currency conversion work perfectly, but there is only problem with mini cart.
When I add:
add_filter('wp_head',function(){
 global $WOOCS; if(is_checkout()){
 $WOOCS->set_currency('RSD'); }else{ $WOOCS->set_currency('RSD'); } });
my mini cart drives me crazy. It acts like base currency. Single product is shown correctly in RSD, but Subtotal in mini cart looks like it has been done double conversion.
For example: Bottle costs 7,00€ and is shown in catalog in RSD as it is (7,00 x conversion rate 117,6). When add it to the cart, mini cart shows that I added 1x Bottle with price 7,00 x 117,6 but subtotal shows 7,00 x 117,6 x 117,6.
Is there any code I can add to filter I'm using above in order to prevent this issue. Everywhere else is shown correctly (basket, cart, after-order emails).
Thanks in advance.
Quote from Pablo Borysenco on November 27, 2020, 13:01Hello
I see no point in your code. Do you want to always display only one currency?
In any case, this code cannot cause a double conversion
I think this is a conflict with a third party plugin. Try to disable all plugins except woo+woocs and do a test
Hello
I see no point in your code. Do you want to always display only one currency?
In any case, this code cannot cause a double conversion
I think this is a conflict with a third party plugin. Try to disable all plugins except woo+woocs and do a test
Quote from Forever4Life.rs on November 27, 2020, 13:14My country allows us to use EUR as wholesale currency and RSD must be retail currency. What we want is to keep all prices in EUR, to use autoupdate of conversion rate and to show only RSD as currency through whole process (catalog, mini-cart, cart, check-out, orders...).
We did the check with third-party plugins. Only this might be a problem.
My country allows us to use EUR as wholesale currency and RSD must be retail currency. What we want is to keep all prices in EUR, to use autoupdate of conversion rate and to show only RSD as currency through whole process (catalog, mini-cart, cart, check-out, orders...).
We did the check with third-party plugins. Only this might be a problem.
Quote from Pablo Borysenco on November 30, 2020, 11:35Hello
Only this might be a problem. - It's impossible
Do you use any plugins to change the price?
Drop me exact link to the issue
Hello
Only this might be a problem. - It's impossible
Do you use any plugins to change the price?
Drop me exact link to the issue
Quote from Forever4Life.rs on November 30, 2020, 12:25Hello Pablo,
And thanks on helping out. You can open https://forever4life.rs/shop and you will see. I set up all prices to be shown in RSD and that's ok (sometimes you need just to refresh page to show RSD) . Try to add any product to the cart. What you will see on the top of the page in mini cart is wrong price. When You click to expand mini-cart, You will see correct prices for single product(s) but total is wrong.
Try to go further, to open the cart. Prices will be shown correctly in RSD. Then go to the checkout (payment) page and there will be shown correct prices.
So my conclusion is only how to force mini cart to show correct subtotal in RSD and to avoid acting as with base currency (EUR) and do double conversion.
And yes, I'm using WOOCS to do this.
Hello Pablo,
And thanks on helping out. You can open https://forever4life.rs/shop and you will see. I set up all prices to be shown in RSD and that's ok (sometimes you need just to refresh page to show RSD) . Try to add any product to the cart. What you will see on the top of the page in mini cart is wrong price. When You click to expand mini-cart, You will see correct prices for single product(s) but total is wrong.
Try to go further, to open the cart. Prices will be shown correctly in RSD. Then go to the checkout (payment) page and there will be shown correct prices.
So my conclusion is only how to force mini cart to show correct subtotal in RSD and to avoid acting as with base currency (EUR) and do double conversion.
And yes, I'm using WOOCS to do this.
Quote from Pablo Borysenco on December 1, 2020, 11:41Hello
It looks like this is a conflict with the current theme
Find a mini cart template in your theme
Hello
It looks like this is a conflict with the current theme
Find a mini cart template in your theme