Notice only the second page reload
-
Hi there. I created a plugin so that the user can request product samples in WooCommerce that is based on adding the product to the cart with $ woocommerce-> cart-> add_to_cart and then modifying its name and price.
In variable products it shows the “Product added to cart” notice correctly but in simple products it only shows the notice when reloading the page for the second time.
The way to add the simple product and the variable is the same but the result is different.
Do you know why WooCommerce can have this behavior?
Thank you very much for your help!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Notice only the second page reload’ is closed to new replies.