elementor icon indicating copy to clipboard operation
elementor copied to clipboard

Woocommerce Menu Cart not working on latest updates (had to rollback to previous versions)

Open mylimoproject opened this issue 7 years ago • 46 comments

Prerequisites

  • [x ] I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
  • [x ] The issue still exists against the latest stable version of Elementor.

Description

After last updates of Elementor, Woocommerce menu cart stopped working. The only way for getting it back to work is to roll back Elementor (see attached working version image. Anything above those version causes menu cart to crash).

Steps to reproduce

Isolating the problem

  • [ x] This bug happens with only Elementor plugin active (and Elementor Pro).
  • [ x] This bug happens with a default WordPress theme active + Hello Theme.
  • [ x] I can reproduce this bug consistently using the steps above.

Environment

[system-info-igadgedx.com-10-10-2019.txt](https://github.com/elementor/elementor/files/3710485/system-info-igadgedx.com-10-10-2019.txt) ![elementor-rollback](https://user-images.githubusercontent.com/29313121/66538932-60e43880-eaf4-11e9-8a00-decba1b2fcbf.JPG) ``` ```

mylimoproject avatar Oct 10 '19 04:10 mylimoproject

Hi @mylimoproject

As mentioned in our Pro v2.7 beta release specs, we implemented a New Approach to WooCommerce mini-cart.

Starting Pro v2.7, Elementor adds its own mini-cart template. Instead of having the Menu Cart widget print the mini-cart markup, we are introducing a new mini-cart template which will be used by the Elementor Menu Cart widget.

This change doesn’t affect the majority of our users. Want to revert to your theme's mini-cart template instead of Elementor's? disable the Elementor mini-cart markup and keep using the custom mini-cart template.

In order to disable Elementor mini-cart template simply go to your Dashboard > Elementor > Settings > Integrations tab > WooCommerce section and choose “Disable”.

Let me know if your issue persists.

shilo-ey avatar Oct 10 '19 06:10 shilo-ey

Hi @shilo-ey

I've just updated one of my sites to Elementor 2.7.4 and Elementor Pro to 2.7.2 and believe I am being impacted by the changes made to the mini-cart. For starters, you mentioned that 2.7 changes the render pipeline of the Menu Cart to now render a new Elementor mini-cart template rather than the default mini-cart for the site. By 'template' I was assuming that this would be a user-created and/or user-modifiable Elementor Pro template (from the template library) but I don't see a new template type for mini-cart nor do I see a template selector in the Menu Cart widget to assign to the fly-out overlay. Presuming that this 'template' is just something Elementor is doing under the hood, my larger concern is that the Integrations menu feature to disable the Elementor Mini-Cart markup and use the default may not be working?

Long story short, my site's pre-2.7 menu fly-out looks like:

image

And post-2.7 menu now renders blank even though there are multiple items in the cart: image

I've changed my Integrations menu option for "Mini Cart Template" to 'Disable' then cleared my full cache stack / rebooted my web servers entirely in case that was an issue but to no avail. Frankly I'm not sure if this is something in the Elementor rendering stack or possibly a mis-match with WooCommerce hooks (Currently on 3.7.1) but would like to get some movement somewhere. Happy to provide any further info I can if it's helpful in debugging the situation

jon-sully avatar Oct 16 '19 17:10 jon-sully

Hi @mylimoproject

Please contact our support at support @elementor.com for guidance in resolving this issue and mention that you were directed by me (shilo-ey) and reference this issue.

thanks.

shilo-ey avatar Oct 17 '19 10:10 shilo-ey

@shilo-ey @JonSullivanDev @mylimoproject was a fix found for this? Im having same issue, I contacted support and they cant figure it out. I have disabled the cart option in settings, reset cache, tried everything. Only thing that works is downgrading to 2.6.5 please advise.

berkmh avatar Oct 26 '19 01:10 berkmh

@berkmh I wasn’t ever able to get it working and didn’t want to go through the pain of monkey-patching Elementor so ended up just swapping my menu cart with an icon that statically links to my /cart/ page 😕 not great but it is functional.

jon-sully avatar Oct 26 '19 02:10 jon-sully

@berkmh nah... I've gone through every plugin/switch themes and see if there is a conflict, but as you pointed-out yourself... version 2.6.5 is the latest version you can downgrade to if you want the cart to work.

elementor-rollback

mylimoproject avatar Oct 28 '19 18:10 mylimoproject

@berkmh Please proceed your conversation with our support team for troubleshooting this problem.

@mylimoproject Have you tried contacting our support?

Thanks

shilo-ey avatar Oct 29 '19 06:10 shilo-ey

The most frequent answer here when things REALLY DON'T WORK is: "Please proceed your conversation with our support team for troubleshooting this problem."

Why do these issues require private messaging to resolve, we all here are interested to figure out what's wrong and you - as a tech staff member(s) - shouldn't just CLOSE IT as being resolved while it's not. Are you trying to keep the issues number relating to Elementor under 1000?

mr. shilo-ey wrote:

In order to disable Elementor mini-cart template simply go to your Dashboard > Elementor > Settings > Integrations tab > WooCommerce section and choose “Disable”.

Did you actually try to do that? You can not DISABLE that stupid mini-cart, it keeps showing up regardless of being Disabled.

Stop closing issues that persist, that's not the way to keep your customers!

oooh-boi avatar Jan 12 '20 16:01 oooh-boi

Have really no idea why a global problem needs to be sorted-out privately. Elementor should really start delaying deployment of new features and start addressing long standing issues affecting every user (i.e. the "post excerpt length" issue that has been reported again and again and still not resolved).

mylimoproject avatar Jan 12 '20 23:01 mylimoproject

Any solutions yet? Im reading this 7 months later and I am having the exact same problem..

JoshBreda avatar May 25 '20 23:05 JoshBreda

@JoshBreda welcome to the club.

oooh-boi avatar May 26 '20 07:05 oooh-boi

@JoshBreda same fuc**** problem here...I'm in conversations with Elementor suppor, we'll see how it goes...

sebito32 avatar May 26 '20 10:05 sebito32

@sebito This is ridiculous. So we've spent money and time on a non viable product here? I thought this was a professional business. There goes all my hours of work. Incredible..

Could you keep us updated? And I sure do hope you get a solution within this year.

JoshBreda avatar May 26 '20 11:05 JoshBreda

@JoshBreda no worries mate, as soon as they provide me a solution I'll get in touch with you guys!

sebito32 avatar May 26 '20 11:05 sebito32

Would be great thanks.

To let you know, I asked a guy on fiverr to fix the problem. He said it would not be a problem. I just can not wait months for a solution. Will send the bill to Elementor.

JoshBreda avatar May 27 '20 18:05 JoshBreda

@JoshBreda THIS IS THE SOLUTION eELEMENTOR SUPPORT PROVIDED ME...of course any of the steps fix the issue...

If you haven't already done so, could you kindly try the steps below and see if the issue remains?

  1. Try to deactivate all your plugins (besides Elementor) and see if it helps. If it solves the issue reactivate them one by one to find the culprit.
  2. If it didn't help, try to switch your theme (temporarily) to a default WP theme such as Twenty Sixteen.

Along with that, could you try toggling the menu cart between Elementor and WooCommerce's version and see if the issue remains? To do that, just go to Dashboard > Elementor > Settings > Integrations tab > WooCommerce section and choose “Disable”

Please let me know how that turns out.

Best Regards,

sebito32 avatar May 28 '20 14:05 sebito32

@sebito32 Step 1 did the trick for me! Thank you very much. The strange thing about it is that I tried it before without positive results. But now all of a sudden it did. Thank you once again.

Did it worked out for you as well?

Kind regards

JoshBreda avatar May 28 '20 15:05 JoshBreda

@JoshBreda No way mate...there is any incompatibility between woocommerce plugins and Elementor....

sebito32 avatar May 29 '20 09:05 sebito32

@sebito32 sorry to hear man. Hope it can be resolved asap. Wish you the best.

Kind regards

JoshBreda avatar May 29 '20 16:05 JoshBreda

Hi. I bought elementor pro and when I activate it, then the mini cart icon at the top right side shows not correct. in the backend there is a settings / Integration there is a point: Mini Cart Template, where you can switch do “disable” to show the themes mini cart icon but it does not work. it always shows the cart wrong and when I switch to disable, the shop gets a 500 error!

here you find some screenshots: first 3 pictures shows correct mini cart and last 2 shows the bug version with elementor pro:

https://ibb.co/ZVfp7Kz https://ibb.co/K5M0DHM https://ibb.co/g3L5Ft4 https://ibb.co/mbWB5v9 https://ibb.co/pXdqq4c

you can compare to original site: linsenklick.ch where just elementor free version is actually activated.

at staging4.linsenklick.ch is elementor pro activated and here you see the mini cart bug.

I already made ticket to elementor company but I have the feeling they DONT WANT to help.

they mention always 3rd part plugin conflict or theme conflict. But if it would be like that, the WHOLE shop would break and not just the mini cart.

I found different similar topics about mini cart problem so it must be a problem by the elementor pro plugin.

Who can help? without elementor pro product in cart without elementor pro  product in cart mouse hover without elementor pro with elementor pro with elementor pro product in cart

eltoine avatar Oct 01 '20 23:10 eltoine