HomePage Forums Themeforest Piizalian – Fast Food Restaurant WooCommerce Theme Edit text “add to cart” button

Topic Resolution: Resolved
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #3342
    AvatarBakana Media
    Supported

    Hello,

    Is it possible to change the text that appears when you move the mouse over the “add to cart” button?

    Capture-d-cran-2021-07-29-161505

    #3344

    Please use this code:

    add_filter('woocommerce_product_add_to_cart_text', 'piizalian_woocommerce_product_add_to_cart_text');
    function piizalian_woocommerce_product_add_to_cart_text(){
    	return 'Voir le produit';
    }

    Change ‘Voir le produit’ = ‘your-text’;

    #3345
    AvatarBakana Media
    Supported

    Perfect, thank you very much

    Just a small question what language do you speak ?

    • This reply was modified 1 month, 3 weeks ago by AvatarBakana Media.
    #3360
    AvatarBakana Media
    Supported

    Hello,

    I thought that it was solved for all the articles but finally for those where it is written: “Select options”.

    Capture-d-cran-2021-07-31-014929

    #3364

    Ok, I fixed this issue.

    #3366
    AvatarBakana Media
    Supported

    Thank you

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.