• Resolved webmark487

    (@webmark487)


    Hi,

    On https://www.ginspiracy.com/shop/ginspiracy-classic-proof-5cl/ I want to change the text of the “Add to cart” button.

    See screenshot: https://ibb.co/jMsDbVm

    Can I do this without installing WPML or any other translation plugin?

    I’ve tried many variants of adaptions in the language folder files, eg.

    wp-content/themes/betheme/languages/

    wp-content/themes/betheme-child/languages/

    wp-content/plugins/woocommerce/i18n/languages/

    wp-content/languages/plugins/

    wp-content/languages/themes/

    But I could not find a solution.

    Any hint from your side how to get the result that I need?

    Best regards and thank you in advance

    Markus

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • You could try the Say What? plugin which is handy for a quick text change.
    https://en-gb.wordpress.org/plugins/say-what/

    Set up a new text change under the Tools menu with these settings:
    Original text: Add to cart (must be exactly that, no spaces at each end, and no “”)
    Domain: woocommerce
    Context: (leave empty)
    Replacement text: your-words-go-here

    If it doesn’t work, find out the language domain of your theme. It will be in
    wp-content/themes/betheme/style.css
    Its probably betheme but I can’t check as its a commercial theme.

    If it still doesn’t work, it may be coming from one of your plugins which is doing something with the product page. Identify possible plugins, find the language domain in the comment section at the top of the main plugin file, and try that in the text change settings.

    Thread Starter webmark487

    (@webmark487)

    Thank you very much for your reply!

    I found a simple solution (I was blind before as it seems).

    My products do have custom templates, that are provided by my theme (BeTheme).
    I could simply choose the respective template used for single products, click on Add to cart element, and you was able to change the text there.

    Hi

    I’m glad we were able to find a solution to your inquiry here and thanks for sharing it with the community too! 🙂

    If you have a few minutes, we’d love it if you could leave us a review:

    https://wordpress.org/support/plugin/woocommerce/reviews/

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change Add to cart button text’ is closed to new replies.