aryan grewal
aryan grewal

Reputation: 23

Text under Add to cart (woocommerce)

How can I add a text saying "Contact us for bulk purchase enquiry" under 'Add to cart' button for all woocommerce products.

Thanks

Upvotes: 2

Views: 4245

Answers (1)

Yashpal Puri
Yashpal Puri

Reputation: 86

Try adding this code to your functions.php file :

add_action( 'woocommerce_after_add_to_cart_button', 'content_after_addtocart_button_func' );

function content_after_addtocart_button_func() {
// Echo content.
echo '<div  style="font-size:10px;"><em>(*Contact us for bulk purchase enquiry)</em></div>';
}

Hope it helps!

Upvotes: 6

Related Questions