Wordpress - Woocommerece remove “Added to Cart” message

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

    Use one of these:

    Older version

    $woocommerce->clear_messages(); 
    

    Version 2.3

    wc_clear_notices();
    
    0 讨论(0)
提交回复
热议问题