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

Home Forums Themes Support Claue Deprecated Error Showing in Checkout Page

Viewing 15 reply threads
  • Author
    Posts
    • #41902
      wellmed
      Support Expired

      Hello Team,

      Some deprecated error showing in my checkout page. Error mention below kindly check it and resolve the error.

      Deprecated: WC_Cart->tax_display_cart ble forespurt med et argument som er foreldet siden versjon 4.4! Use WC_Cart->get_tax_price_display_mode() instead. in /home/customer/www/shop.wellmed.no/public_html/wp-includes/functions.php on line 5157

      The above error showing page URL is     https://www.shop.wellmed.no/sjekk-ut/ 

      If you directly go to this page then there is no error showing.

      To check error you have to add some product to cart page then proceed to check out. Then you can able to see the error in checkout page.

      I attached error page image below.

       

      Kindly resolve error as soon as possible.

       

       

      Thank You!

      Attachments:
      You must be logged in to view attached files.

      Rasa Zemaitiene

    • #41904
      Harry
      Support Expired

      Hi Wellmed.

      Please try update all plugins and theme.

      If issue still there, please add below code to the file wp-config.php

      define( 'WP_DEBUG', false );
      define( 'AUTOSAVE_INTERVAL', 300 );
      define( 'WP_POST_REVISIONS', false );
      Enable Debug logging to the /wp-content/debug.log file
      define( 'WP_DEBUG_LOG', false );
      Disable display of errors and warnings 
      define( 'WP_DEBUG_DISPLAY', false );

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

      • #41905
        wellmed
        Support Expired

        Hello Team,

        Thanks for your quick response.

        Yesterday i was updated all plugins & theme. After theme was updated the cart button doesn’t working. So what will i do for it?

        Thank You!

        Rasa Zemaitiene

    • #41906
      Harry
      Support Expired

      Hi

      I checked and see the update cart button on cart page now working well. Please try clear cache on your browser and check again.

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

      • #41907
        wellmed
        Support Expired

        Hello,

        Thanks for your response.

        Yes, Now the cart button working well but after update the theme it was not worked. So i just back to previous version. It was not updated now. So as per my 1st query the same error is showing till now. kindly resolve it. Error mension below.

        some deprecated error showing in my checkout page. Error mention below kindly check it and resolve the error.

        Deprecated: WC_Cart->tax_display_cart ble forespurt med et argument som er foreldet siden versjon 4.4! Use WC_Cart->get_tax_price_display_mode() instead. in /home/customer/www/shop.wellmed.no/public_html/wp-includes/functions.php on line 5157

        If you directly go to this page then there is no error showing.

        To check error you have to add some product to cart page then proceed to check out. Then you can able to see the error in checkout page.

        I attached error page image below.

        Attachments:
        You must be logged in to view attached files.

        Rasa Zemaitiene

    • #41909
      Harry
      Support Expired

      Hi Rasa,

      Did you try add the code I suggested to wp-config.php file?

      If not please update theme to latest version, and give me admin account to check/

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

      • #41910
        wellmed
        Support Expired
        This reply has been marked as private.

        Rasa Zemaitiene

    • #41911
      Harry
      Support Expired

      I update theme and clear cache on your site, the error message disappear and try Update Cart button on cart page, it work well. Please check.

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

      • #41912
        wellmed
        Support Expired

        Hello,

        Thanks for your response..

        It work well for desktop version… But no work well in mobile version.. Please check it properly and solve it…

         

        Thanks!

        Rasa Zemaitiene

    • #41913
      wellmed
      Support Expired

      Hello Team,

      Kindly check cart button after logout the admin.. It is not working.. If admin is in login then it is working well.

      Please solve the error as soon as possible..

      Thanks!

      Rasa Zemaitiene

    • #41914
      Harry
      Support Expired

      Hi,

      I check without login it still work well https://www.loom.com/share/d6e08025947e4a2a972def1483aaa848

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #41915
      wellmed
      Support Expired

      Hi, I think we are not on the same page. The main issue is when we add any product to the cart. Then we click on the cart button on the top right side. We are unable to click there and we are unable to visit the cart page but when we double click and choose the option to open that cart page on a new tab it works. We need to check that part why it is not working after clicking on the cart button and we are unable to open on the same tab and the mobile version is not working.

      I have attached the video also what issue I am facing.

      Rasa Zemaitiene

    • #41916
      wellmed
      Support Expired

      Please check the video link.

      https://linksharing.samsungcloud.com/lv2rf0oUKrtn

      Rasa Zemaitiene

    • #41917
      Harry
      Support Expired

      Hi,

      Please go to claue-child > views > header > layout-4.php and change class “jas-icon-cart pr” to “jas-icon-cart1 pr” https://tppr.me/GAETm

      And add below code to claue-child > style.css

      .jas-icon-cart1 .count {
      	width: 20px;
      	height: 20px;
      	font-size: 12px;
      	line-height: 22px;
      	left: 14px;
      	top: 0;
      }

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

      • #41918
        wellmed
        Support Expired

        Hi,

        I added the given code. Now my cart button work well. But There is another problem occurred.

        When i add some product to cart page then there is nothing showing in cart icon. it showing 0 only. But when i will click on cart button then cart page opened and then there is showing 1 product is in cart page and 0 replace to 1 in cart icon.

        Kindly solve this error.

        Thanks!

         

        Rasa Zemaitiene

    • #41919
      Harry
      Support Expired

      Hi,

      Please revert your code and remove the comment code in claue-child > script.js

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

      • #41920
        wellmed
        Support Expired

        Hi,

        All the comment code removed from claue-child > script.js.. But nothing is happening. Same error showing till now.

        Plz solve the error.

        Thanks!

        Rasa Zemaitiene

      • #41932
        wellmed
        Support Expired

        Hi,

        Kindly respond on my query as soon as possible.

        All the comment code removed from claue-child > script.js as per your last suggestion. But nothing is happening. Same error showing till now which is define below.

        “When i add some product to cart page then there is nothing showing in cart icon. it showing 0 only. But when i will click on cart button then cart page opened and then there is showing 1 product is in cart page and 0 replace to 1 in cart icon.”

        Plz solve the error.

        Thanks!

        Rasa Zemaitiene

    • #41933
      Harry
      Support Expired

      Hi,

      I see you remove the code js related to cart icon. Can you revert the code, just remove the comment?

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

      • #41935
        wellmed
        Support Expired

        Hi,

        I revert the js code from claue-child > script.js and  just removed the comment.

        But there is no changes done. Same problem are there.

        Kindly solve the error.

        Thanks!

        Rasa Zemaitiene

    • #41940
      Harry
      Support Expired

      Hi,

      I’m sorry. It only can show cart popup when user add item to cart, it not update count number.

      Please add below code to replace code in claue-child > views > header > layout-4.php line 94 to 113

      global $woocommerce;
      echo '<div class="jas-icon-cart2"><a class="cb chp hidden-xs" href="' . esc_url( wc_get_cart_url()) . '" title="' .  esc_html__( 'View your shopping cart', 'claue' ) . '"><i class="pe-7s-shopbag"></i>';
      echo '<span class="pa count bgb br__50 cw tc">' . esc_html( $woocommerce->cart->get_cart_contents_count() ) . '</span>';
      echo '</a></div>';

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

      • #41941
        wellmed
        Support Expired
        This reply has been marked as private.

        Rasa Zemaitiene

    • #41946
      Harry
      Support Expired

      Hi,

      I go to Claue > Theme Option > WooCommerce > Product Detail Settings > Add to cart behavior and change to Popup Cart and it work.

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

      • #41948
        wellmed
        Support Expired

        Hi Harry,

        I have created the video of the exact issue which we are facing. When you will add the product your cart will show zero on the screen and when you will click on the cart then it will show the one product added. Please check the video till the last so you can see what we need to do.

        Video Link:    https://linksharing.samsungcloud.com/lPkABGhVHp1q

        Thanks!

        Rasa Zemaitiene

    • #41950
      Harry
      Support Expired

      Yes, i understand the issue but when you change the code the number can’t update when add item to cart.

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #41951
      wellmed
      Support Expired

      Then what is the solution for this issue?

      Rasa Zemaitiene

Viewing 15 reply threads

You must be logged in to reply to this topic.