“New” badge doesn’t display corectly on shop page

This topic has 3 replies, 2 voices, and was last updated 3 hours, 41 minutes ago ago by Mario :)

  • Avatar: yeb3ch
    Mario :)
    Participant
    October 18, 2024 at 06:41

    Hi

    I activated the “New” badge from the theme settings but it’s not displayed correctly, as you can see on screenshots. So for now I just changed the days limit to 0 so it doesn’t appear.
    After that, I also tried with Yith badge management but still the same issue.
    Credentials in private.

    Regards,
    Mario 🙂

    Content is visible for topic creator and
    support staff only.
    Files is visible for topic creator and
    support staff only.
    2 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    October 18, 2024 at 07:15

    Hello Mario,

    Thank you for reaching out to us.

    Please read this article – https://www.8theme.com/documentation/xstore/xstore-features/xstore-badges-on-products/

    The New Label takes into account the “last update or modification date” of the product. To change this, custom code can be added in the functions.php file of the child theme:
    add_filter('product_new_label_on_date_created', '__return_true');

    Best Regards,
    8Theme’s Team

    Avatar: yeb3ch
    Mario :)
    Participant
    October 18, 2024 at 07:36

    Hi Rose,

    I already read the article.
    The issue is about how it looks.

    Regards,
    Mario 🙂

  • Viewing 3 results - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.