Home › Forums › Themes Support › Claue › Issue with Add to cart PopUp
Tagged: popup cart, multicurrency
- This topic has 22 replies, 2 voices, and was last updated 4 years, 1 month ago by ufonaft12.
-
AuthorPosts
-
-
March 1, 2020 at 7:54 pm #35324ufonaft12Support Expired
Hello! I have add to cart popup with multi-currency issue. You can see i have three currencies – dollar, euro and shekel.
Lets say i am on english version of website and dollars as default currency. And when i click add to cart it shows me the prices in shekels and not in dollars. It occurs just in add to cart pop up, in cart and checkout page it works fine.
So i need that add to cart popup to be syncronized to the current currency of the site. if the site is in dollars so it should show price in dollars and not in other currency.
how can you help me?
Attachments:
You must be logged in to view attached files. -
March 3, 2020 at 7:26 am #35358HarrySupport Expired
Hello Ufonaft,
Sorry for late reply.
Could you send us FTP account and check in “Set as private reply”. We need more check before give you solution.
Thanks
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
March 4, 2020 at 9:48 pm #35393HarrySupport Expired
Hi Ufonaft,
Sorry for late reply.
We fixed issue on your site .
Kind regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
March 8, 2020 at 4:32 pm #35430ufonaft12Support Expired
Hello after your fixing issue , i have new bug in the website
2020/03/08 11:27:54 [error] 15639#0: *82008 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to a member function set() on null in /home/rinatila/domains/rinatilakel.com/public_html/wp-content/plugins/woocommerce-multilingual/inc/currencies/class-wcml-multi-currency.php:538
please check it!
-
March 8, 2020 at 5:19 pm #35431ufonaft12Support Expired
Your code created fatal error in php, in woocommerce – orders section. i made there if not in admin , but after it does not fixes last issue. so please fix it normally
-
March 8, 2020 at 5:26 pm #35432ufonaft12Support Expired
i fixed it like this
if (is_ajax()) {
$load = true;
return $load;
}if i fixed right please answer me here. i dont want it to create another issues
-
March 8, 2020 at 7:28 pm #35433ufonaft12Support Expired
now i have another issue. when i am in Dollar currency https://www.rinatilakel.com/product/t-shirt-with-sleeve/
in product page it shows me it in another currency.
this is very bad bug!
-
March 8, 2020 at 10:19 pm #35434HarrySupport Expired
Hello Ufonaft,
The code we change in claue-child > functions.php
/** * Allow multicurrency on ajax */ add_filter( 'wcml_load_multi_currency_in_ajax', 'claue_load_multi_currency_in_ajax', 10, 1 ); if (!function_exists('claue_load_multi_currency_in_ajax')){ function claue_load_multi_currency_in_ajax( $load ) { $load = true; return $load; } }
Which code you change and where you fix?
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
March 8, 2020 at 10:34 pm #35435ufonaft12Support Expired
you can check it
add_filter( ‘wcml_load_multi_currency_in_ajax’, ‘claue_load_multi_currency_in_ajax’, 10, 1 );
if (!function_exists(‘claue_load_multi_currency_in_ajax’)){
function claue_load_multi_currency_in_ajax( $load ) {
if (is_ajax()) {
$load = true;
return $load;
}
}
}i just added – if (is_ajax()) and it fixed the issue.
<hr />
BUT i have another issue
when i am in Dollar currency https://www.rinatilakel.com/product/t-shirt-with-sleeve/
in product page it shows me it in another currency.
PLEASE HELP TO FIX IT
-
March 8, 2020 at 10:39 pm #35436ufonaft12Support Expired
ok i think i fixed it i made
if (is_ajax() || is_woocommerce() || is_front_page()) {
$load = true;
return $load;
} -
March 8, 2020 at 10:43 pm #35437ufonaft12Support Expired
No the bug still exists
https://www.rinatilakel.com/product/under-dress-with-sleeve/
see 189 is number in shekel, but it writes same number in dollars
and it is this function issue
when i add just this
$load = true;
return $load;so i have bug in woocommers- > orders section
-
March 8, 2020 at 10:47 pm #35438ufonaft12Support Expired
i made it meanwilte
if ($_GET[‘post_type’]!=’shop_order’) {
$load = true;
return $load;
}so the bug in orders fixed and works in site.. but i need you to check it once more.. to fix other bugs
-
March 8, 2020 at 10:59 pm #35439HarrySupport Expired
We only added the code in claue-child > functions.php
/** * Allow multicurrency on ajax */ add_filter( 'wcml_load_multi_currency_in_ajax', 'claue_load_multi_currency_in_ajax', 10, 1 ); if (!function_exists('claue_load_multi_currency_in_ajax')){ function claue_load_multi_currency_in_ajax( $load ) { $load = true; return $load; } }
The code you told
if ($_GET[‘post_type’]!=’shop_order’) { $load = true; return $load; }
not in our theme, which file you edit can you tell me the path?
Where you change
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
March 8, 2020 at 11:13 pm #35440ufonaft12Support Expired
Are you jocking ??
i am just editing your code! check it! your code creates balagan!
-
March 8, 2020 at 11:15 pm #35441ufonaft12Support Expired
it still writes me not correct prices for products
-
March 8, 2020 at 11:16 pm #35442ufonaft12Support Expired
For example this is not correct price for this product
https://www.rinatilakel.com/product/t-shirt-with-sleeve/
can you check it please?
-
March 8, 2020 at 11:22 pm #35443ufonaft12Support Expired
i clicked save again the product and the price returned to correct.
i dont know what is the problem is with theme. but there is a lot of bugs with the prices in multicurrency and languages
-
March 8, 2020 at 11:25 pm #35444ufonaft12Support Expired
ok i belive it is correct now. good day
-
March 8, 2020 at 11:29 pm #35445HarrySupport Expired
Hope it correct now.
Have a good Sunday!
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
March 16, 2020 at 2:49 pm #35495ufonaft12Support Expired
Hello please help me.!
I have another issue. it does not correctly puts the price after i change the language.
lets say this product is – https://www.rinatilakel.com/he/product/3/ – 112 shekel and if you change price to dollars in same page it gets correct correlation with prices.
but if i change the language to the translated product. it gets the wrong price.
can you fix it please? PLEASE FIX IT ASAP
-
March 16, 2020 at 4:07 pm #35496HarrySupport Expired
Hi,
I check your site it now work well https://www.loom.com/share/cf112126cc9c4fa88e54234f61675233, did you fix it?
Kind regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
March 16, 2020 at 4:45 pm #35497ufonaft12Support Expired
Yes i fixed it myself. Thanks.. i just clicked update the product in the edit of product. and it fixed the price in english version.
but i think there is more products with same problem
-
-
AuthorPosts
You must be logged in to reply to this topic.