Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1025391

    Hi!
    I can’t seem to find the place where to edit the “select options” button on my products.
    I checked some solutions already but all didnt work.
    Please give me a hint.
    An example you can find on my homepage.
    I will link it in Private Content Field

    I tried loco translate,
    And in Childtheme i tried to add this code to function.php:
    add_filter( ‘woocommerce_product_add_to_cart_text’, function( $text ) {
    global $product;
    if ( $product->is_type( ‘variable’ ) ) {
    $text = $product->is_purchasable() ? __( ‘Custom options text’, ‘woocommerce’ ) : __( ‘Read more’, ‘woocommerce’ );
    }
    return $text;
    }, 10 );

    Thank you very much

    #1026135

    Hey webbiz215,

    Unfortunately, it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However, if it’s really important for you to get this done, you can always hire a freelancer to do the job for you :)

    Best regards,
    Basilis

    #1026313

    Hi there,
    Thank you for your reply.
    Maybe there is a misunderstanding? I only want to translate 1 thing.
    “Select Options”
    I think this is useful for everybody using Enfold Theme with Woocommerce.
    I found an older reply to the same question, but it doesn’t work for me, because maybe woocommerce was updated since that time?

    https://kriesi.at/support/topic/how-can-i-change-the-select-options-button-text-in-the-shop-preview-image/

    would be great if you can have a look again.
    Thank you !

    Maik

    #1027817

    Hi,

    Thanks for the update.

    Use the following plugin to translate the string or text of the product select field.

    // https://wordpress.org/plugins/say-what/

    I can’t see the page, so I’m not really sure if that’s what you’re referring to.

    Best regards,
    Ismael

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