How to change position of woocommerce “added to cart” message
-
I am using woocommerce version 2.3.13 and I want to change position of woocommerce messages like “Product was successfully added to cart” message which appears on the top of the product page when I click on “add to cart” button.
I want this message to appear somewhere else.
I’ve tired many solutions including this by removing ‘
woocommerce_show_messages
‘ on ‘woocommerce_before_single_product
‘ hookcode:
remove_action( 'woocommerce_before_single_product', 'woocommerce_show_messages' );
and then calling
woocommerce_show_messages();
function where I want the message to appear but with no luck.Anyone please help me in this regard.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to change position of woocommerce “added to cart” message’ is closed to new replies.