Woocommerce notice

how to add notice when i operate “add to cart” on archive page

like “view cart”

I think that’s the point of this dynamic field, but your mileage may vary (I don’t think it updates on add to cart events, currently):

If nothing else, you can use the stock WooCommerce block:
<!-- wp:woocommerce/store-notices /-->

thanks, i will try it :100: