wc_print_notices() Output different on dev v staging.
-
Hi, when I add a product to the cart using the add-to-cart url and land on the Cart page I get the message that “Product A has been added to your basket”.
This is inside a div with class “woocommerce-notices-wrapper”.
But on my staging site (identical everything I think, e.g. WC, WP and PHP versions) the HTML inside this div is different.
On dev this div contains messages inside a “.wc-block-components-notice-banner” div whilst the staging site displays messages inside a “.woocommerce-message” div.
Does anybody know why they are presented with different divs with different class names?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘wc_print_notices() Output different on dev v staging.’ is closed to new replies.