Hi Nabi,
Thanks for reaching out! I hope you’re doing well. Apologies for the delayed response.
This is a common issue with POST form requests. WooCommerce uses a POST request to add a product to the cart. If you refresh the page after adding a product, the browser attempts to re-submit the request, which triggers a confirmation prompt and adds the product again.
To prevent this issue, you can try the following:
-
Enable AJAX “Add to Cart”
-
Redirect on “Add to Cart”
You can find these options under WooCommerce > Settings > Products > Add to Cart Behavior. Please try these settings and let me know if the issue is resolved on your end.
Looking forward to your feedback!
Best regards,