Home › Forums › Themes Support › Claue › Deprecated Error Showing in Checkout Page
- This topic has 35 replies, 2 voices, and was last updated 2 years, 8 months ago by wellmed.
-
AuthorPosts
-
-
July 17, 2021 at 7:48 pm #41902wellmedSupport 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
-
July 17, 2021 at 9:25 pm #41904HarrySupport 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 -
July 19, 2021 at 7:27 am #41906HarrySupport 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-
July 19, 2021 at 12:56 pm #41907wellmedSupport 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
-
-
July 19, 2021 at 1:46 pm #41909HarrySupport 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 -
July 19, 2021 at 4:49 pm #41911HarrySupport 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 -
July 19, 2021 at 11:19 pm #41913wellmedSupport 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
-
July 19, 2021 at 11:57 pm #41914HarrySupport 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 -
July 20, 2021 at 1:20 am #41915wellmedSupport 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
-
July 20, 2021 at 1:21 am #41916wellmedSupport Expired
-
July 20, 2021 at 2:00 am #41917HarrySupport 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-
July 20, 2021 at 3:19 pm #41918wellmedSupport 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
-
-
July 20, 2021 at 5:47 pm #41919HarrySupport 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-
July 20, 2021 at 7:34 pm #41920wellmedSupport 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
-
July 22, 2021 at 8:35 pm #41932wellmedSupport 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
-
-
July 22, 2021 at 10:01 pm #41933HarrySupport 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 -
July 23, 2021 at 6:11 pm #41940HarrySupport 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 -
July 23, 2021 at 9:19 pm #41946HarrySupport 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-
July 24, 2021 at 12:42 am #41948wellmedSupport 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
-
-
July 24, 2021 at 11:20 pm #41950HarrySupport 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 -
July 25, 2021 at 1:08 am #41951wellmedSupport Expired
Then what is the solution for this issue?
Rasa Zemaitiene
-
July 26, 2021 at 3:11 pm #41956wellmedSupport Expired
Hi harry
Please let me know the solution for this?
Regards
Rasa Zemaitiene
-
July 26, 2021 at 5:34 pm #41961HarrySupport Expired
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 #41962wellmedSupport Expired
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 #41963wellmedSupport Expired
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 #41964HarrySupport Expired
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 #41965wellmedSupport ExpiredThis reply has been marked as private.
Rasa Zemaitiene
-
July 27, 2021 at 7:43 pm #41966wellmedSupport Expired
Hi harry,
Did you get a chance to have a look into it?
Regards
Rasa Zemaitiene
-
July 27, 2021 at 10:48 pm #41968HarrySupport Expired
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 #41969wellmedSupport Expired
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 #42000wellmedSupport Expired
Hi harry,
Please respond on my text
Thanks
Rasa Zemaitiene
-
-
AuthorPosts
You must be logged in to reply to this topic.