This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
Custom “Add to Cart” URLs - not working as expected with cart & checkout blocks #2670
Labels
Milestone
Describe the bug
As reported on the release post of the cart and checkout blocks - if someone is using custom add-to-cart urls on something like a landing page, and limiting the item to be sold invidually - if the customer happens to go back to the landing page and tries to add a second item (of the same thing) to their cart they get a broken error message in the cart. The shortcode used to just take them directly to the checkout page and show the error message. See screenshots below.
To Reproduce
Enable this to only allow one of this item to be bought in a single order
Expected behavior
Screenshots
Error message as shown in the cart block after trying to enter a second product:
The current message as shown in the checkout (using the shortcodes):
The text was updated successfully, but these errors were encountered: