I want to change buy now button text to “Buy Now (UPI/COD)” so how can i change it? please help me out
This topic has 5 replies, 4 voices, and was last updated 2 months, 2 weeks ago ago by Andrew Mitchell
I want to change buy now button text to “Buy Now (UPI/COD)” so how can i change it? please help me out
Hello, @Fantasy,
Thank you for contacting us and for using XStore.
To change the “Buy Now” button text, You need to install the Loco translate plugin.
Please watch this video – https://youtu.be/WYBlzdJs5PU
and read our theme documentation: https://www.8theme.com/documentation/xstore/theme-translation/base-theme-translation/
You need to change the mentioned string in the XStore theme language file under Loco > Themes > XStore. Please refer to the screenshots provided at the following links: https://postimg.cc/fVs6KMnG , https://postimg.cc/G8T7RfnP
We hope you find these instructions helpful. Should you require any further assistance, please do not hesitate to contact us.
Best Regards,
The 8Theme Team
This is not Working
Hi @Fantasy,
We’ve added the following code under functions.php file locates in your child theme and it’s working now:
add_filter('etheme_buy_now_button_text', 'n2t_etheme_buy_now_button_text', 9, 1);
function n2t_etheme_buy_now_button_text(){
return 'Buy Now (UPI/COD)';
}
Could you please check?
Thank you!
Dear Fantasy,
Choosing our theme reflects your commitment to quality, and for that, we’re genuinely grateful. As we constantly strive to elevate your experience, your feedback is an invaluable gift. Could you kindly take a moment to rate our product with 5 stars on ThemeForest?
Click here to share your insights: https://themeforest.net/downloads
Your support fuels our journey, and we appreciate it more than words can express.
Best Regards,
The 8Theme Team
The issue related to '‘I want to change my buy now button text’' has been successfully resolved, and the topic is now closed for further responses