How can we change the Sale text on the sing product image
we tried in the theme options see screenshots
We tried with Loco translate
This topic has 17 replies, 4 voices, and was last updated 2 weeks, 4 days ago ago by Andrew Mitchell
How can we change the Sale text on the sing product image
we tried in the theme options see screenshots
We tried with Loco translate
Hello, Creatica,
Thank you for reaching out to us.
Could you please provide temporary wp-admin access? We need to check your settings.
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.
Best Regards,
8Theme’s Team
Our site is staging and If you want to access the admin panel of our site you will need to change your hosts file in Windows\System32\drivers\etc folder
Hello, Creatica,
Unfortunately, we are unable to log in. Could you kindly verify the credentials for us? Additionally, we would appreciate it if you could provide the URL of the product page shown in your screenshot.
Have you also had the chance to review the translation of the XStore Core plugin?
Best Regards,
8Theme’s Team
Yes i will send you.
Yes i review the xstore core translation in Loco and all the “Sale” strings are translated
Hi @Creatica,
Could you please try adding this custom code under functions.php file locates in your child theme?
add_filter('et_option_sale_icon_text', 'n2t_et_option_sale_icon_text', 999);
function n2t_et_option_sale_icon_text(){
return 'ПРОМО';
}
Let us know how it goes!
Hi i tried and i get this message:
Fatal error: Cannot redeclare n2t_et_option_sale_icon_text()
Hi @Creatica,
It’s weird.
We couldn’t see that custom code under functions.php file: https://prnt.sc/_xG6tzLmR6UF.
Can you please double check again?
Thank you!
i removed it because of the error. Now i put it again!
Hi @Creatica,
Did you change the password?
We can’t login anymore.
Best Regards,
8Theme’s Team
no, just there is an error wait to remove the code again. if you want you put the code. Try now.
If you want i can give you FTP too?
Dear @Creatica,
We hope this message finds you well.
Could you kindly provide us with your FTP account details? This will allow us to add the necessary custom code to assist you further.
Thank you in advance for your cooperation.
Best regards,
The 8Theme Team
Hi, here is the FTP access.
Hi @Creatica,
We’ve added this custom code under functions.php file and the sale label is changed:
add_filter('et_option_sale_icon_text', '_n2t_et_option_sale_icon_text', 999);
add_filter('et_option_product_sale_label_text_et-desktop', '_n2t_et_option_sale_icon_text', 999);
function _n2t_et_option_sale_icon_text(){
return 'ПРОМО';
}
Best regards,
The 8Theme Team
Yes it works now. Thank you very very much!
Dear Creatica,
We trust our theme is enhancing your experience. Taking a brief moment to rate it with a glowing 5 stars on ThemeForest would be immensely appreciated. Your feedback holds significant value for us.
Click here to rate now: https://themeforest.net/downloads
Thank you sincerely for your ongoing support!
Best Regards,
The 8Theme Team
The issue related to '‘Change Sale text on image single product’' has been successfully resolved, and the topic is now closed for further responses