Home › Forums › Themes Support › Claue › Deprecated Error Showing in Checkout Page
- This topic has 35 replies, 2 voices, and was last updated 3 years, 7 months ago by
wellmed.
-
AuthorPosts
-
-
July 17, 2021 at 7:48 pm #41902
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
-
July 17, 2021 at 9:25 pm #41904
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-
July 17, 2021 at 10:38 pm #41905
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
-
-
July 19, 2021 at 7:27 am #41906
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-
July 19, 2021 at 12:56 pm #41907
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
-
-
July 19, 2021 at 1:46 pm #41909
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-
July 19, 2021 at 2:56 pm #41910This reply has been marked as private.
Rasa Zemaitiene
-
-
July 19, 2021 at 4:49 pm #41911
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-
July 19, 2021 at 6:27 pm #41912
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
-
-
July 19, 2021 at 11:19 pm #41913
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
-
July 19, 2021 at 11:57 pm #41914
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 -
July 20, 2021 at 1:20 am #41915
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
-
July 20, 2021 at 1:21 am #41916
-
July 20, 2021 at 2:00 am #41917
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-
July 20, 2021 at 3:19 pm #41918
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
-
-
July 20, 2021 at 5:47 pm #41919
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-
July 20, 2021 at 7:34 pm #41920
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
-
July 22, 2021 at 8:35 pm #41932
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
-
-
July 22, 2021 at 10:01 pm #41933
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-
July 23, 2021 at 12:20 pm #41935
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
-
-
July 23, 2021 at 6:11 pm #41940
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-
July 23, 2021 at 7:01 pm #41941This reply has been marked as private.
Rasa Zemaitiene
-
-
July 23, 2021 at 9:19 pm #41946
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-
July 24, 2021 at 12:42 am #41948
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
-
-
July 24, 2021 at 11:20 pm #41950
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 -
July 25, 2021 at 1:08 am #41951
Then what is the solution for this issue?
Rasa Zemaitiene
-
July 26, 2021 at 3:11 pm #41956
Hi harry
Please let me know the solution for this?
Regards
Rasa Zemaitiene
-
July 26, 2021 at 5:34 pm #41961
Hi Rasa,
I’m sorry. i don’t have solution for it. it only can show popup cart https://tppr.me/EfYdd
Kind regards.
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
July 26, 2021 at 6:44 pm #41962
Hi, harry
It was working earlier in the previous version. There was no issue at that time. In the latest version, I am facing this issue.
There might be some solution for it. If it was working in the last version. There will be a solution for the latest version
Rasa Zemaitiene
-
July 26, 2021 at 8:59 pm #41963
there is no solution for this when we add products to the cart why does the cart show 0 figures on the top? but when we click on the cart it shows that the product is added?
It was working earlier in the previous version. There was no issue at that time. In the latest version, I am facing this issue.
There might be some solution for it. If it was working in the last version. There will be a solution for the latest version
Rasa Zemaitiene
-
July 26, 2021 at 10:00 pm #41964
Hi Rasa,
Can you tell me which version of theme you use before?
Or you set staging site for me can check.
Thanks
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
July 27, 2021 at 12:11 am #41965This reply has been marked as private.
Rasa Zemaitiene
-
July 27, 2021 at 7:43 pm #41966
Hi harry,
Did you get a chance to have a look into it?
Regards
Rasa Zemaitiene
-
July 27, 2021 at 10:48 pm #41968
Hi Rasa,
It now work when i uncheck 2 options in WooCOmmerce > Setting > Products > Add to cart behavior
Kind regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
July 27, 2021 at 11:42 pm #41969
Hi harry
It is working but in a different way and created more problems
when you click on “kjop” button, it takes few sec until page refresh, client can not see what is going on. before was different, when you click “kjop” button, around “kjop” button was visible dots going around “Kjop” and you could see that products was added to cart
And another problem is
And now always refreshing popup this massage
Also client can not continue shopping normal way, he have to scroll down to add another product
Can you please call me on my contact number +91-9780-228811
So I can explain you the exact issue.
I have rechecked the options again
But thisnew issue occured in the site. Please check why this bew issue occured screenshots are attached.
Attachments:
You must be logged in to view attached files.Rasa Zemaitiene
-
July 29, 2021 at 3:29 am #42000
Hi harry,
Please respond on my text
Thanks
Rasa Zemaitiene
-
-
AuthorPosts
You must be logged in to reply to this topic.