Home › Forums › WoodMart support forum › Extra text “1” show in shopping cart

Extra text “1” show in shopping cart

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #731014

    jesanahmmed
    Participant

    My website shopping cart show an extra text “1” , how can i hide it

    website: kopaliya.com

    Attachments:
    You must be logged in to view attached files.
    #731025

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    Sorry to hear about the inconvenience. Kindly, please share your Site WP-ADMIN Login details in the Private Content field so that we can check this concern on your Site and help you out accordingly.

    Best Regards.

    #731026

    jesanahmmed
    Participant

    Site admin details

    #731034

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    Looking at your site’s code, the stray “1” character appears right before the quantity input wrapper (<strong><div class="quantity"></strong>). This happens when a custom PHP snippet uses hooks into the quantity output and accidentally echoes/returns a “1” character into the HTML output.

    Here is how you can resolve this:

    Check WP Code lite plugin and check the added custom PHP code, check for any echo or return functions that output 1 or true.

    If you prefer to hide the stray text immediately without touching PHP files, navigate to > Theme Settings > Custom CSS > Global Custom CSS and paste the following snippet:

    .cart-info {
        font-size: 0;
    }
    
    .cart-info > * {
        font-size: initial;
    }

    Save your settings and clear your site/browser cache. The extra “1” will no longer be visible in the shopping cart widget.

    Please let us know if you have any questions or need further assistance!

    Best regards,

    #731035

    jesanahmmed
    Participant

    when i use this code, the all text on shopping cart is hide, i want to hide only extra “1” , is it possible ?

    .cart-info {
    font-size: 0;
    }

    .cart-info > * {
    font-size: initial;
    }

    Attachments:
    You must be logged in to view attached files.
    #731040

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    Your issue has been resolved. I have updated the custom css code in Theme Settings > Custom CSS, and it is working fine.

    See the screenshot for clarification: https://postimg.cc/8jzXfBW6

    Best Regards

    #731044

    jesanahmmed
    Participant

    Thank you so much. Your suport is the best support. best wishes for you

    #731046

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    You’re Most Welcome!

    Feel free to write back anytime. If you need further assistance, we are always here to help you.

    If you have a minute, we’d truly appreciate your feedback — it helps us improve the product and shape future updates more effectively. We’d love your feedback on our theme:
    https://www.trustpilot.com/review/xtemos.com

    Thanks for contacting us.
    Have a great day.

    Topic Closed.
    Best Regards.

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Extra text “1” show in shopping cart’ is closed to new replies.