Cart Menu Point outputs raw HTML (<span class="laycart-button-count">) instead of rendering count
-
Hi,My website is:
https://joseporroche-test.com/I'm having an issue with the Cart Menu Point.
When I add the Cart Menu Point to my menu, instead of rendering the cart count correctly, it outputs raw HTML in the menu like this:
Cart <span class="laycart-button-count"> (2)
So the <span> is not being interpreted properly and appears as text.
Some context:
WooCommerce is installed and working correctly
The cart page itself works fine and shows correct item count
The issue only happens in the menu (outside the cart page)
I am not using any cart plugins (no Side Cart, no Menu Cart plugin)
Same behavior on both desktop and mobile (although mobile sometimes behaves differently)What I’ve tried:
Removing and re-adding the Cart Menu Point
Using a normal /cart/ link instead (works but no count)
Clearing cache
No custom JS related to cartQuestion:
Is the Cart Menu Point supposed to work without a Side Cart plugin?
Or is there a dependency required for the count to render correctly?Thanks a lot!
-
HI,
With last version 10.8.5 - 25 April 2026, (cart label fix) is working!
Thanks so much :)
-
hey, okay, that's great. Yeah, I just released the update that fixes this.
For 1on1 paid Lay Theme Coaching, contact: audrey@cyberslayers.work.
We also code custom websites or custom Lay features.
💿 Email us here: 💿
info@laytheme.com
Our Web Development company: 100k.studio
Want to tip me? https://www.paypal.com/paypalme/arminunruh
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it