Wordpress - Woocommerece remove “Added to Cart” message

后端 未结 7 571
天命终不由人
天命终不由人 2021-01-18 15:32

I\'m looking to remove the wording and area that says \"Product Successfully Added to Cart\" after I add an item to the cart. I just want there to be nothing, no message an

7条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-18 16:15

    Use CSS and set the display to none for the ID or associated class.

     
    .page-id-522 .woocommerce_message {
         display: none;
    }
    

    This is specific to page id 522. Make sure this doesn't also hide other useful messages like credit card declines, etc.

提交回复
热议问题