Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter tim13n

    (@tim13n)

    1-Yes it is!
    When I add a product manualy, buttons are in French.
    When I add a product with your plugin, buttons are in English.

    Ok, if you really want to take care of that .

    2-Why Brave/Chrome’s app doesn’t allow to use another currency than USD.

    This is the error message in the app when you use Aliexpress in EUR:
    ” Please switch AliExpress currency to USD ”

    Maybe my button will be in French as my entire website after resolving point 1 or 2.

    yes, you just select the only variation you want for a single product.

    You have to cancel all variations you don’t want for your single product

    Thread Starter tim13n

    (@tim13n)

    1_Add the free plugin called Code Snippet
    2_Insert the code below

    Enjoy!

    // Code Start
    // To change add to cart text on single product page
    add_filter( ‘woocommerce_product_single_add_to_cart_text’, ‘woocommerce_custom_single_add_to_cart_text’ );
    function woocommerce_custom_single_add_to_cart_text() {
    return __( ‘Buy Now’, ‘woocommerce’ ); // Replace “By Now” text with your own text
    }

    // To change add to cart text on product archives(Collection) page
    add_filter( ‘woocommerce_product_add_to_cart_text’, ‘woocommerce_custom_product_add_to_cart_text’ );
    function woocommerce_custom_product_add_to_cart_text() {
    return __( ‘Buy Now’, ‘woocommerce’ ); // Replace “By Now” text with your own text
    }
    // Code End

    Then go to :
    Extension>Cart All In One For WooCommerce>setup>Add To Cart Button>Add to Cart button label
    save

    and it’s done

Viewing 3 replies - 1 through 3 (of 3 total)