Your account expired support, please renew to get your support.

Home Forums Themes Support Claue Issue with Add to cart PopUp

Viewing 21 reply threads
  • Author
    Posts
    • #35324
      ufonaft12
      Support 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.
    • #35358
      Harry
      Support 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

      • #35365
        ufonaft12
        Support Expired
        This reply has been marked as private.
    • #35393
      Harry
      Support 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

    • #35430
      ufonaft12
      Support 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!

       

    • #35431
      ufonaft12
      Support 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

    • #35432
      ufonaft12
      Support 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

    • #35433
      ufonaft12
      Support 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!

    • #35434
      Harry
      Support 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

    • #35435
      ufonaft12
      Support 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

    • #35436
      ufonaft12
      Support Expired

      ok i think i fixed it i made

       

      if (is_ajax() || is_woocommerce() || is_front_page()) {
      $load = true;
      return $load;
      }

    • #35437
      ufonaft12
      Support 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

    • #35438
      ufonaft12
      Support 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

    • #35439
      Harry
      Support 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

    • #35440
      ufonaft12
      Support Expired

      Are you jocking ??

      i am just editing your code! check it! your code creates balagan!

    • #35441
      ufonaft12
      Support Expired

      it still writes me not correct prices for products

    • #35442
      ufonaft12
      Support 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?

    • #35443
      ufonaft12
      Support 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

    • #35444
      ufonaft12
      Support Expired

      ok i belive it is correct now. good day

    • #35445
      Harry
      Support 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

    • #35495
      ufonaft12
      Support 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

    • #35496
      Harry
      Support 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

    • #35497
      ufonaft12
      Support 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

Viewing 21 reply threads

You must be logged in to reply to this topic.