This topic has 14 replies, 3 voices, and was last updated 1 months, 1 weeks ago ago by Andrew Mitchell
Hi
How to change “Sale” text on single product page ?
I change “sale” text on product badges settings – its working on products archive page.
Dear @kamil109,
By default, such text originates from the WooCommerce plugin files. Therefore, we recommend checking the relevant string in the Loco Translate plugin’s translations for the WooCommerce plugin. Please ensure that you synchronize the translations after each plugin or theme update to ensure everything functions correctly.
Should you require any further assistance, kindly provide us with the appropriate wp-admin access, and we will be happy to help.
Best regards,
8Theme Team
Loco translation does not work (woocommerce, theme xstore).
I tried various entries in function.php (e.g.:
add_filter( ‘woocommerce_sale_flash’, ‘wooc_custom_replace_sale_text’ );
function wooc_custom_replace_sale_text( $html ) {
return str_replace( __( ‘Sale!’, ‘woocommerce’ ), __( ‘Your Text’, ‘woocommerce’ ), $html );
}
It seems that this element is related to the template because it also displays the discount percentage.
Hello @kamil109
Please, provide us the correct wp-admin + FTP access in private area. Also, provide us a url to the page where such sale discount is displayed on the product.
Kind regards, Jack Richardson
Every single product page with a promotional price displays the word SALE with a percentage.
But the product catalog displays the description correctly. In this case, I only added a minus sign at the backend of the page in the settings.
Dear @kamil109,
We have re-saved the Theme Options, and the text is now displaying correctly, as shown in the following screenshot: https://prnt.sc/CRGhJVEM7VcZ. Kindly check it at your convenience.
Best regards,
Jack Richardson
8Theme Team
Ok.
And which theme function did you save again? I have changed the text that is currently displayed via loco to a different one and I would like to confirm the change.
Dear @kamil109
As we wrote you previously we re-saved the global Theme Options -> https://prnt.sc/7SNFRl-kBjfI. Does it work now as it should, or maybe you have any other questions ? If the main issue you requested in this topic is solved, please, mark this topic as closed.
Kind regards, Jack Richardson
The 8theme’s team
That’s weird.
Because I changed the word “wyprzedaż” in the loco (sync) to “promocja -” everywhere – I approved the changes in the theme settings and the word “wyprzedaż” is still displayed..
Dear @kamil109,
We hope this message finds you well.
Should you wish to modify the text, please follow the steps outlined below:
Navigate to Theme Options -> WooCommerce -> Single Product Builder -> Sale Label Text (you can refer to this screenshot for guidance: https://prnt.sc/Jm4JlxWCWLRt).
For the time being, we have made the necessary changes on your behalf. Kindly review them at your convenience.
Best regards,
Jack Richardson
The 8Theme Team
OK.
And one last thing.
How to change uppercase letters to lowercase?
Hello @kamil109
Please, try to use next custom CSS snippet to be added in your Theme Options -> Theme Custom CSS -> Global CSS:
.sale-wrapper .onsale {
text-transform: lowercase;
}
Kind regards, Jack Richardson
The 8theme’s team
Thank You.
Dear kamil109,
We hope you’re reveling in the experience our theme brings! Your enthusiasm is what fuels our passion. Would you be so kind as to channel that energy into a 5-star rating on ThemeForest? Your feedback is the spark that lights our way!
Click here to spread the love: https://themeforest.net/downloads
Thank you for being an integral part of our journey!
Best Regards,
The 8Theme Team
The issue related to '‘How to change “Sale” text on single product page ?’' has been successfully resolved, and the topic is now closed for further responses