I want to change my buy now button text - by Fantasy

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

  • Avatar: Fantasy
    Fantasy
    Participant
    December 20, 2024 at 13:10

    I want to change buy now button text to “Buy Now (UPI/COD)” so how can i change it? please help me out

    Files is visible for topic creator and
    support staff only.
    4 Answers
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    December 20, 2024 at 13:57

    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

    Avatar: Fantasy
    Fantasy
    Participant
    December 21, 2024 at 05:16

    This is not Working

    Avatar: Justin
    Luca Rossi
    Support staff
    December 21, 2024 at 16:10

    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)';
    }
    

    https://prnt.sc/rgqPOxdStbxn

    Could you please check?

    Thank you!

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    December 23, 2024 at 06:28

    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

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

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

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.