Tagged: Cart, double, duplicate, woocommerce
-
AuthorPosts
-
May 20, 2021 at 8:50 pm #1301490
Hi,
I have a problem on my Woocommerce cart page, it shows the items in the cart, the cart totals and below that a duplicate table with the items in the cart and a table with the cart totals. I disabled all the other Woocommerce related plugins except Woocommerce itself and the problem remained.
It seemed to have appeared recently, so I think it has to do with either updating WordPress, Woocommerce or the theme.
I hope you can help, I have searched for a solution and tried a CSS display:none trick I saw on these forums but that didn’t seem to work.
Link to the page in the private content box.
Thanks! Still loving the Enfold theme!May 21, 2021 at 1:48 pm #1301631Hey Yowl,
Thank you for the inquiry.
Did you add the cart shortcode in the page manually? Please check if the shortcode has been duplicated, or post the login details in the private field so that we could check the site properly.
Best regards,
IsmaelMay 24, 2021 at 9:26 pm #1302092Hi Ismael,
Thanks for your response. The shortcode is not duplicated.
It is on the page, and I might have manually added it back in because once I deleted it, that resulted in an empty page.
I’ll post the login details in the private field.May 25, 2021 at 9:34 pm #1302309Hi,
Thank you for the info.
We tried to login using the account above but it seems to be invalid. Please check the info carefully or provide another login account. For the meantime, please try to disable the plugins temporarily, see if it changes anything in the cart or checkout view.
Best regards,
IsmaelMay 26, 2021 at 10:11 am #1302387I provided another login account below. This should be active now.
May 28, 2021 at 11:16 am #1302795Hi,
Thank you for the info.
Looks like you have modified the cart.php template in the child theme. What happens when you disable the template?
Is there a staging or development version of the site? We would like to try and disable the plugins temporarily and edit a few files.
Best regards,
IsmaelMay 28, 2021 at 6:06 pm #1302871Hi Ismael,
That modified cart.php file was an attempt to fix the issue, which it didn’t do. I’ve renamed it to backup.cart.php and the problem persists.
I currently have no staging version of the site. Any pointers for how I could set that up for you? I guess it’s a good idea anyway. I just edit things on the live site, which I know is not good practice.May 31, 2021 at 6:27 am #1303069Hi,
Regarding the staging site, these articles should help.
// https://themeisle.com/blog/wordpress-staging-site/
// https://www.wpbeginner.com/wp-tutorials/how-to-create-staging-environment-for-a-wordpress-site/You can use this css code to temporarily hide the cart duplicate.
.woocommerce-cart .container .content .post-entry-1122 { display: none !important; }
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.