grandnode2 icon indicating copy to clipboard operation
grandnode2 copied to clipboard

Checkout attribute validation

Open jithendraprasad9999 opened this issue 3 years ago • 0 comments

Resolves #303
Type: bugfix

Issue

In shopping cart page when we working as guest even though checkout attribute pre-selected value is none, it is defaulting to the first value,Even though it is a mandatory field, it is allowing us to proceed without any selection.

Solution

1.Added additional API call on "Continue As Guest" button to validate the checkout attribute using existing API from checkout controller. 2.And unified checkout buttons code

Breaking changes

none

Testing

  1. Navigate to shopping cart without any user login .
  2. If we tap on "Checkout As Guest" button without selecting any checkout attribute which is mandatory . One should get a model state error

jithendraprasad9999 avatar Aug 10 '22 11:08 jithendraprasad9999