Clicking “View Cart” after clicking “Pre-order now” sends two emails
-
I noticed a strange problem on a website I manage. For testing, I disabled all plugins on the site except for WooCommerce and YITH Pre-Order for WooCommerce, but the problem still persists.
I created both a Single Product and a Variable Product and enabled Pre-Order on each of them, then selected a random future date for each. I set one for In Stock and one for Backordered in case that was an issue.
Whenever I add either or both of these items to the cart, I get the usual notice, “[item] has been added to your cart.” with a View Cart link right next to it. When I click that link, I see the cart contents with the button that says “Proceed to Checkout” at the bottom. However, without doing anything, the system sends a “New pre-order received” email to the admin, and a “Your pre-order placed” email to the customer. Simply viewing the cart sends emails! Multiple items in the cart elicit multiple emails as well – two for each item.
I have no idea what could be causing this, or how to resolve it! WooCommerce is using its Cart block system (not a shortcode). I’ve included the details of my installation below. Can anyone help me?
YITH Plugin Framework Version4.5.2
WordPress Version?6.4.2
WooCommerce Version?8.4.0
PHP Version?7.4.33
- The topic ‘Clicking “View Cart” after clicking “Pre-order now” sends two emails’ is closed to new replies.