Change Text of Customize Button

Home Forums Support Change Text of Customize Button

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #26079
    Sean PSean P
    Keymaster

    Hey Tim,

    We don’t have a setting for that yet, but it could be done wit a couple lines of javascript / jquery, for example if you want to change the button label to “Personalize” when it says “Customize”, when the page loads:

    jQuery(‘document’).ready(){
    var a2cButton$ = jQuery(‘form.cart button[type=”submit”]’);
    if(a2cButton$.text().toLowerCase().indexOf(‘customize’) >= 0)
    a2cButton$.text(‘Personalize’);
    }

    This is untested code but should work, give it a shot by adding it to the page template in the header or footer or anywhere that loads on all pages or all woocommerce pages. And, if you want something besides “Personalize” as the button label, just replace that word in the code with whatever you prefer.

    That said, if you’d like to upgrade to a Managed License we can either add this code to your site for you or build the feature into the plugin as an optional setting to avoid needing to add any code using the included dev hours. You can always downgrade licenses at anytime, too.

    Let us know either way!

Viewing 1 post (of 1 total)
  • The topic ‘Change Text of Customize Button’ is closed to new replies.

Product Personalization and Customization Solutions