Error in the “Sale” and “New” labels with errors

This topic has 10 replies, 4 voices, and was last updated 2 months, 2 weeks ago ago by Andrew Mitchell

  • Avatar: Rodrigo
    Rodrigo Carlos
    Participant
    July 20, 2024 at 19:30

    Hey guys,

    The “Sale” label system is giving error text. The percentage shows normally, but the text only shows the shortcode:
    https://drive.google.com/file/d/1YqehAYXPBBhPmj8m07IXxpj_drrrrowh/view?usp=sharing
    https://drive.google.com/file/d/1lEiGBVvRbmTBuid5HzSEjQDK1gGvj1jx/view?usp=sharing

    If I don’t activate the percentage calculation feature, the text appears normally:
    https://drive.google.com/file/d/1t1nGoN4ZId_TbBNBdmY2Nj30WCki4leA/view?usp=sharing

    And if you notice in the screenshot above, the background color is purple and has a 10% rounded edge, but notice that on the live page this configuration was not applied:
    https://drive.google.com/file/d/1prPN7Lr8gc3UqGDBdld9_z_8xypOjUFy/view?usp=sharing

    Another situation is with the “New” label. It is configured to show for 9 days after being registered:
    https://drive.google.com/file/d/1I4fxX7SkLPhirom5q1bTgO-o_iIJqyJl/view?usp=sharing
    However, there are products that were registered months ago and the label is still being displayed. For example, the product sku 1825 was registered on 11/22/2023, but the “New” label is still appearing today:
    https://drive.google.com/file/d/1DHsr7H6759FTbZx22aslxx0m9JG4JI-K/view?usp=sharing

    Thank you and I look forward to it,
    Rodrigo Carlos

    Please, contact administrator
    for this information.
    Files is visible for topic creator and
    support staff only.
    9 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 21, 2024 at 07:02

    Hello Rodrigo Carlos,

    Thank you for reaching out and providing detailed information about the issues you are encountering with the label system on your website.

    1/ Please provide temporary wp-admin and FTP access.

    To grant WP-Admin access, please proceed to create a new user account with an administrator role through your WordPress Dashboard. Once the account is established, you may securely transmit the username and password to us via the Private Content section designated for this purpose.

    For FTP access, we require the following details: FTP host, FTP username, FTP password, FTP port, and FTP encryption type. If you need assistance in creating these credentials, please reach out to your hosting provider who will guide you through the process.

    2/ https://www.8theme.com/topic/xstore-badges-new-label-range-limit-does-not-work/

    Best Regards,
    8Theme’s Team

    Avatar: Rodrigo
    Rodrigo Carlos
    Participant
    July 25, 2024 at 05:35

    Hi Rosa,

    I send you the access data.

    Thanks!
    Rodrigo

    Please contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    July 25, 2024 at 08:48

    Dear @Rodrigo Carlos,

    I hope this message finds you well. I would like to bring to your attention an important matter regarding the translation variables in your project. It has come to our notice that certain variables, which should remain untranslated, were modified. Specifically, the variable of this string “{sales_text} %s” was translated, which caused an issue in the code as the {sales_text} variable could not be found.

    For your reference, please review the affected variables here: https://gyazo.com/7dac0361dc097fa97b5220a7d2ba221a.

    To rectify this, we have removed the incorrect translation, and I am pleased to inform you that your frontend sale label is now displayed correctly. Additionally, we have addressed other related issues to ensure smooth operation.

    Also, we would like to inform you that we have implemented the following snippet of code to address the recent issue about ‘new’ label as such label is displayed based on the date modification by default:

    add_filter('product_new_label_on_date_created', '__return_true');

    Thank you for your attention to this matter. Should you have any further questions or require additional assistance, please do not hesitate to contact us.

    Best Regards,
    Jack Richardson
    8Theme’s Team

    Avatar: Rodrigo
    Rodrigo Carlos
    Participant
    July 28, 2024 at 03:33

    Hi Jack,

    OK thanks!

    What about the background color and the border radius? When defining a color and border rounding, it is not being applied to the label.

    If you need to access the admin, the access data I sent in my previous message is still valid.

    Thank you!

    Files is visible for topic creator and
    support staff only.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    July 29, 2024 at 07:31

    Hello @Rodrigo Carlos,

    We checked and those settings work correctly -> https://gyazo.com/09869819f46202f281fef33932b04389.
    If you expect any issues, please, describe us in more details with screenshots.

    Kind regards,
    Jack Richardson
    The 8theme’s team

    Avatar: Rodrigo
    Rodrigo Carlos
    Participant
    July 29, 2024 at 18:21

    Hi Jack,

    Okay, now it’s working.

    However, notice that the radius border is not rounding correctly. See attached print of how it looks.

    Thanks!

    Files is visible for topic creator and
    support staff only.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    July 30, 2024 at 08:23

    Dear @Rodrigo Carlos,

    I hope this message finds you well.

    I would like to inform you that by default, our badges are configured with a radius percentage to ensure optimal display. Should you require the radius to be specified in pixels, you may easily achieve this by adding the following CSS code to your theme:

    Please navigate to Theme Options, then select Theme Custom CSS, and finally Global CSS. Insert the code below:

    .template-content {
        --et_on-sale-radius: 5px;
    }

    This adjustment will apply a 5px radius to the badges as per your requirement.

    Should you need any further assistance or have additional questions, please do not hesitate to reach out.

    Best regards,
    Jack Richardson
    The 8Theme Team

    Avatar: Rodrigo
    Rodrigo Carlos
    Participant
    July 31, 2024 at 05:47

    Thank you Jack!

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    July 31, 2024 at 05:47

    Dear Rodrigo Carlos,

    As we continue our mission to exceed expectations, your insights become increasingly valuable. Could we, with all due respect, request your thoughtful feedback by giving our theme a deserved 5-star rating on ThemeForest?

    Click here to share your valuable perspective: https://themeforest.net/downloads

    Your time and trust are highly appreciated!

    Best Regards,
    The 8Theme Team

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

The issue related to '‘Error in the “Sale” and “New” labels with errors’' has been successfully resolved, and the topic is now closed for further responses

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.