Step Description | Expected result |
---|---|
BO > Catalog > Discounts | Discounts page should be displayed empty discount list |
Click to Create discount | Create cart discount displayed |
Fill form | Discount page displayed |
Select a card condition > product segment >Save | We have errors messages: “The field names is required at least in your default language." “This value should not be blank." “At least one product segment must be selected.” |
Select a card condition > product segment >Save | We have an error message: At least one product segment must be selected. |
Select a card condition > product segment >Save | We have an error message: This value should be greater than or equal to 1. |
Select a card condition > product segment >Save | We have an error message: Reduction value “-10” is invalid. It must be greater than 0. |
Select a card condition > product segment >Save | We have an error message: This value should not be blank. |
Select a card condition > product segment >Save | We have an error message: This value should not be blank. |
Select a card condition > product segment >Save | Discount page displayed Notification : Successful update The discount has been created Discount list = 1 |
Go to the FO > add a product > enter the promo code | We have this: 1 item €14.28 Discount(s) - €10.00 Shipping Free Total (tax incl.) €4.28 test -€10.00 |
Go to the home page and add another product that is not part of supplier accessories >Go to shopping cart | We have this: 2 items €48.74 Discount(s) - €10.00 Shipping Free Total (tax incl.) €38.74 test -€10.00 |
Delete Mug The best is yet to come | The discount is automatically removed. 1 item €34.46 Shipping Free Total (tax incl.) €34.46 |
Go to the catalog > discount > edit discount > increase the minimum quantity of the product | We have a successful message: “Successful update” |
Go back to FO> Add a product > apply discount | We have an error message: “You cannot use this voucher with these products” |
Go to the catalog > discount > edit discount > Choose Create automatic discount with percent value | We have a successful message: “Successful update” |