Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. Shop / WooCommerce
  3. Cart Menu Point outputs raw HTML (<span class="laycart-button-count">) instead of rendering count

Cart Menu Point outputs raw HTML (<span class="laycart-button-count">) instead of rendering count

Scheduled Pinned Locked Moved Shop / WooCommerce
2 Posts 1 Posters 30 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Online
    J Online
    joseporroche
    wrote last edited by joseporroche
    #1

    Captura de pantalla 2026-04-24 a las 14.38.00.png 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 cart

    Question:
    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!

    1 Reply Last reply
    0
    • J Online
      J Online
      joseporroche
      wrote last edited by
      #2

      HI,

      With last version 10.8.5 - 25 April 2026, (cart label fix) is working!

      Thanks so much :)

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      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:
      1. When using a WordPress Cache plugin, disable it or clear your cache.
      2. Update Lay Theme and all Lay Theme Addons
      3. Disable all Plugins
      4. 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:
      1. Post a link to where the problem is
      2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
      3. If the problem is difficult to explain, post screenshots / link to a video to explain it
      Online Users
      J
      joseporroche
      Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
      laytheme.com
      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Recent
      • Tags
      • Popular
      • Users
      • Search