This topic has 10 replies, 4 voices, and was last updated 3 months, 3 weeks ago ago by Andrew Mitchell
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
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
Hi Rosa,
I send you the access data.
Thanks!
Rodrigo
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
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!
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
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!
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
Thank you Jack!
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
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