Change add to cart text
I have try this code to change add to cart text but it not work
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 __( 'Thêm vào giỏ hàng', 'woocommerce' );
}
my site: chicam.vn
Thanks for support
Comments
Hi,
What you are trying to do requires file customization, and in reference to the Item Support Policy is not allowed. http://themeforest.net/page/item_support_policy
So if you want to modify files and don't know how, you should contact your web developer. Item Policy says:
Item support does not include services to modify or extend the item beyond the original features, style, and functionality described on the item page. For customization services that will help you tailor the item to your specific requirements, we recommend contacting the author to see if they privately offer paid customization services or checking out the great service providers on Envato Studio.
Thanks