This topic has 22 replies, 3 voices, and was last updated 3 years, 3 months ago ago by Rose Tyler
Hi team,
I have this odd thing happening with the [et_top_cart] shortcode.
When a page loads, for a very brief second, the cart contents (price, etc) show, then for some reason the whole contents of $output disappears not just from view but from the HTML as well.
This is what’s left
<div class="shopping-container shopping-container-695 style-dark "><div class="widget_shopping_cart_content"></div></div>
I’ve stripped all the plugins out so that only the following ones needed for the theme and Woocommerce plugin are on and the same thing occurs.
CMD2
REDUX
ROYAL CORE
WOOCOMMERCE
I’ve also switched the theme to a basic Royal Child theme and to the Royal main theme itself with the same outcome, it simply disappears.
I’ve also taken the contents of the [et_top_cart] shortcode and placed them into my own shortcode and when I use this one, it shows the cart. However when I then come to add a product to the cart, it doesn’t instantly reflect and update causing me to have to refresh the page to see the product in the cart, which isn’t ideal from a user perspective.
I’m not sure what’s going on, any advice would be appreciated.
Hello,
Provide us with WP Dashboard and FTP access to your site. Remove the custom shortcode you added. Let us to check the issue without your customization.
Regards
As requested
Site Access
Hello,
Could you, please, provide us screenshots or gif using Gyazo tool to explain what exactly does not work? Because I see the cart and subtotal https://prnt.sc/118x5ix
Regards
If your screenshot is from our live website, then yes it does work because that is using my own version of the cart code so it works to an extent, but with this live example, the ajax cart update doesn’t initiate on cart additions.
On my test site, which uses the shortcode et_top_cart, this (YT link) shows you what happens. The cart disappears as something on the site is deleting the cart code from the DOM.
I provided access and login details to my dev website which again has the et_top_cart shortcode in place with the minimum plugins activated to show this isn’t a plugin conflict.
I think the issue may relate to this class
widget_shopping_cart_content
On my version of the shortcode when I add it, the cart disappears and it is also declared on the et_top_cart shortcode as well.
Hello,
So, what is the link to site with the issue: dev.fourthelement.com or test.fourthelement.com?
And what credentials should we use to pass auth form https://prnt.sc/11agpnr ?
Regards
All sites dev, test and live share the same issue, but please use dev.fourthelement as the site to access and work on, I’ve provided the credentials above. Thank you lots for your continued support.
Hi, Have you had a chance to take a look at this?
Hello,
I passed your issue to our developers. Waiting for reply. We have a lot of requests these days, so take my apologies for this delay.
Regards
Hi,
Thank you, of course I absolutely understand, appreciate all the help!
Hello,
Thank you for your patience.
Regards
Good morning, apologies, I have been on some annual leave, may I ask if your team have managed to get any further in terms of understanding why the mini cart disappears?
It isn’t a problem if they haven’t, just wanted to touch base to check either way. Thank you.
Hello,
Sorry for such a long work on this issue, developers can’t find the exact reason of the issue. But they are still working on this problem and need a little bit more time.
Regards
Hi,
Is there any update you can give on this?
Hello,
We have not found the solution yet. Trying to recode the cart widget at all. I’ll inform you if it helps.
Regards
Hello,
Check now, please.
Regards
Thank you Olga and to your team for taking the time to investigate and work on this it is very much appreciated, I can see the cart there on our dev site now, that is great news. Is this something you need to roll out into a new theme release?
Best regards
Darren
Hello,
You are welcome.
Yes, we’ll include this improvement in the next theme update.
Regards
Hi, I just wanted to follow up on this, was the fix implemented in a release? I have 6.3.2 installed, but does this include the fix or will there be a incoming theme release with it in? Appreciate your help.
Darren
Hi,
Yes
Regards
You must be logged in to reply to this topic.Log in/Sign up