Show Woocommerce “added to cart” Message On Single Product page

Share Now

After adding a product from a single product page, Woocommerce will show a message that the product is added to the cart. In order to show the message add this code where you wanna show the message:

#CODE EXAMPLE

<?php do_action( 'woocommerce_before_single_product' ); ?>
Picture of Nahid Mahamud

Nahid Mahamud

Web Developer | Graphic Designer | WordPress & Woo-commerce Expert