Wordpress - Woocommerece remove “Added to Cart” message

后端 未结 7 785
天命终不由人
天命终不由人 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:39

    To solve this at PHP level, add the following template file (and structure) to your theme:
    /wp-content/themes/YOUR-THEME/woocommerce/shop/messages.php:

    
                

    See: Template Structure + overriding templates via a theme

提交回复
热议问题