voucher.html.twig
Path from content root : mails/themes/{theme_name}/core/voucher.html.twig
Basic Scenario
As merchant I want send an email with all informations about voucher when i create one for a customer to inform him of the voucher he has at his disposal, so that he can use it easily
Accpetance Test
Acceptance test 1 : Voucher - Partial Refund (BO)
Given that your are on “customer" page
When
Selects a customer who has made purchases
In order table click in “ view” button on action colone.
Click on “partial refund” button
Selects the quantity to be refund
Check the box "Generate a voucher” 4.Click in “partial refund” button
Then the costomer must receive an email to informe him a voucher has been generated in his name
Acceptance test 2 : Voucher - Return products (BO)
Given that your are on “customer" page
When
Selects a customer who has made purchases
In order table click in “ view” button on action colone.
Click on “return products” button
Selects the quantity to be refund
Check the box "Generate a voucher” 4.Click in “Standard refund” button
Then the costomer must receive an email to informe him a voucher has been generated in his name
⚠️ When creating a voucher on the "basket rules" page, the email is not sent.
Last updated