• Hi, it seems that after the last version the “buy” button is not getting the rfq label as “add to quote” anymore. Could you, please, tell me what to do to fix that? Thank you!

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter diegpl

    (@diegpl)

    I needed to translate it using this code:
    function my_custom_cart_button_text( $text, $product ) {
    if( $product->is_type( ‘variable’ ) ){
    $text = __(‘Silicitar Orçamento’, ‘woocommerce’);
    }
    return $text;
    }
    add_filter( ‘woocommerce_product_single_add_to_cart_text’, ‘my_custom_cart_button_text’, 10, 2 );

    But Im not sure that is the best option, since it seems to be a bug, or not? Thank you very much!!!

    Plugin Author Neah Plugins

    (@gplsaver)

    I don’t think it is a bug. Variable products take you to the single product first. “Add to quote” does not add to quote but takes you to single product to choose an option. The default label is “Choose Option”. I will add an option for that wording in the next update. But you can also use the language files to translate the plugin to Portuguese which is even a better option.

    Plugin Author Neah Plugins

    (@gplsaver)

    checkout 1.8.25. I think the issue is resolved there.

    Plugin Author Neah Plugins

    (@gplsaver)

    I don’t know if this was fixed for you but if it was not try 1.8.28. It should be fixed there.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Variation product “to buy button”’ is closed to new replies.