WooCommerce - unset “ removed notice…” on cart page

后端 未结 4 1236
没有蜡笔的小新
没有蜡笔的小新 2020-12-20 05:24

actions and filters. On my WooCommerce site I get the following message when I remove a product from the shopping cart:

\"\" removed. Und         


        
4条回答
  •  北海茫月
    2020-12-20 05:50

    Just an update regarding Overriding the notices.php template:

    
            
    role="alert">

    Had to have add the 'notice' array key to the strpos method or it wasn't finding the "removed" string within the notice message. Hope this helps others who were having issues attempting to use this template override method.

提交回复
热议问题