Support » Plugin: WooCommerce » Product/Add-to-Cart Button Text

  • Resolved bodhi1970

    (@bodhi1970)


    I was just looking for the right shortcode to change the text on the [product] or [add-to-cart] button and only have found instructions to do that in PHP.
    I am wondering why this is not possible directly in the shortcode with a “button-text=” or something?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Amanda

    (@amandasjackson)

    Hi @bodhi1970

    You can do this by using either of these plugins:

    https://wordpress.org/plugins/wc-custom-add-to-cart-labels/

    https://wordpress.org/plugins/loco-translate/

    Loco allows you to find the text string and change it to be what you’d like.

    I don’t want to fill my server with plugins. Why is this not part of Woo core?

    From the description of the first plugin I don’t see it is possible to use it just on the [product] button.

    Loco is much too oversized for just changing the text of 1 button!

    • This reply was modified 1 month, 3 weeks ago by bodhi1970.
    • This reply was modified 1 month, 3 weeks ago by bodhi1970.
    Plugin Support Rynald0s

    (@rynald0s)

    Automattic Happiness Engineer

    Hi @bodhi1970!

    From the description of the first plugin I don’t see it is possible to use it just on the [product] button.

    The [product] code will list all your products. All products will have the same text — whether or not you are using a shortcode.

    The first plugin recommended in the previous reply will let you change the label on a per-product type basis and will work when using shortcodes.

    Cheers!

    Plugin Support Rynald0s

    (@rynald0s)

    Automattic Happiness Engineer

    Howdy!

    We haven’t heard back from you in a while, so I’m going to go ahead and mark this thread as resolved. If you have any other questions please start a new thread.

    Cheers!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.