How to change Add to Cart Button Text on Woocommerce pages in 2021
#webrpoint #woocommerce, #addtocart #woocommercetutorial
Hi, In this video tutorial, we will show you How to change woocommerce default ADD TO CART button text to any other text in Hindi
We will show you two methods to change Woocommerce cart button text
1. Change cart button text with the help of coding
2. change add to cart button woocommerce text with the help of plugin
Find the code for the first method to change default add to cart button text below
Use this code at the bottom of theme function.php
//To change add to cart text on single product page
add_filter( 'woocommerce_product_single_add_to_cart_text', 'webrpoint_button' );
function webrpoint_button() {
return __( 'Add to bag', 'woocommerce' );
}
// 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 __( 'Add to bag', 'woocommerce' );
}
with the second method Add to cart button custom text plugin will be used to remove the add to cart text on woocommerce.
Please don’t forget to Like, Share & Subscribe.
Topics covered in this Video -
1.WooCommerce. How To Change "Add To Cart" Button Text
2.Woocommerce Customizer Tutorial | How to Change Add to Cart Button & More
3.How to change Add to Cart Button Text on Woocommerce pages
4.How to change the text on Add to Cart Button for Woocommerce
5.How to change woocommerce default ADD TO CART button text to any other text
6.WooCommerce Change Add to Cart Button Text
#Webrpoint #Wordpress #WooCommerce
You can also visit our website webrpoint to get the latest article related to WordPress and web development.
webrpoint - https://www.webrpoint.com
Facebook - /
Instagram id- webr_point
For Business inquiries: [email protected]
......THANKS FOR WATCHING......