Step Description | Expected result |
---|---|
Go back to BO > Catalog > Discounts > Cart rules page and Add new Cart rule | The Add New cart rule page is displayed |
Case1: Partial Use Enabled Set these fields and click on Save |
An alert “Successful creation.” is displayed |
Go to FO, add a product to the cart and Click on “Proceed to checkout” | The Shopping cart is well displayed and the discount is well applied Total is ok = 0 |
Click on “Proceed to checkout” and Click on “Sign in” > Set Email & Password of “John DOE” and Click on Continue | The Addresses step is displayed |
Choose an address > Click on “Continue” button | Shipping method step is displayed |
Choose a shipping method > Click on “Continue” button | Payment step is displayed |
Check the “Terms of service” checkbox > Click on “Place order” button | The Order confirmation page is displayed |
Click on Your account link and Click on “Vouchers” | “Your vouchers” page is displayed and check that: The initial Cart rule has been modified with: Code = automatically generated code Quantity = 1 Value = 100 (old discount amount) - Total of last order |
Go back to the BO > Cart rules page | The cart rules page is well displayed and the number of cart rules = Total cart rules + 1 |
Filter by Code | Number of cart rules < Total Cart rules and the list contains the searched Voucher |
Click on “Edit” and Click on Conditions Tab | Check that Limit to a single customer = John DOE ([email protected]) |
Click on Actions | Check that Amount discount = 100 - Total of the last Order |
Click on Cancel | The Carl rule filtered by Code is displayed |
Reset Filter and Filter by Name | The list contains the searched vouchers |
Select all discounts, delete with bulk action and confirm the deletion | A green alert “The selection has been successfully deleted.” is displayed “No records found” is displayed in the list page |
Go back to Cart rules page (list) > Reset Filter | The filter is well reset |
Click on “Add new cart rule” page Case2: Partial use disabled Set these fields and click on Save |
An alert “Successful creation.” is displayed |
Go to FO, Add product to cart and Click on “Proceed to checkout” | The Shopping cart is well displayed and the discount is well applied Total is ok = 0 |
Click on “Proceed to checkout” to the Payment step | “No payment needed for this order” is displayed |
Click to agree the terms of service and place order | The Order confirmation page is displayed |
Click on Your account link and Click on “Vouchers” | “Your vouchers” page is displayed and check that the Quantity = 0 |
Go back to the BO > Cart rules page | The cart rules page is well displayed and the number of cart rules = Total cart rules |
Delete the cart rule and confirm the deletion | A green alert “Successful deletion.” is displayed |