You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If add to cart query is running against an out-of-stock product it should expose the error to the frontend. Otherwise it's impossible to implement a user interface an inform the user.
Actual Behaviour
Request that is trigged by the DOM event aem.cif.add-to-cart throw the following error:
Reproduce Scenario (including but not limited to)
Product must be out-of-stock
Steps to Reproduce
Click on "Add to cart" on a product that is out-of-stock
Inspect browser console
Check cart amount (no changes)
Platform and Version
AEM v6.9
CIF components, v2.4.0
(Magento Cloud)
Sample Code that illustrates the problem
No example needed.
Logs taken while reproducing problem
Browser console see above.
The text was updated successfully, but these errors were encountered:
Expected Behaviour
If add to cart query is running against an out-of-stock product it should expose the error to the frontend. Otherwise it's impossible to implement a user interface an inform the user.
Actual Behaviour
Request that is trigged by the DOM event
aem.cif.add-to-cart
throw the following error:Reproduce Scenario (including but not limited to)
Product must be out-of-stock
Steps to Reproduce
Platform and Version
AEM v6.9
CIF components, v2.4.0
(Magento Cloud)
Sample Code that illustrates the problem
No example needed.
Logs taken while reproducing problem
Browser console see above.
The text was updated successfully, but these errors were encountered: