Actions overview
Actions
VoucherAdd
This action redeems a voucher code in the basket. Usage exampleCan be used on the basket page or in the basket offcanvas, where customers can enter a voucher code and apply it directly to their order. Parameters
Error codes
Related modules, variables & methods
Example showing how a voucher code is redeemed via an input field.
VoucherDelete
This action removes a voucher that has already been redeemed from the basket. Usage exampleCan be used on the basket page or in the basket offcanvas when customers want to remove a redeemed voucher. Parameters
Error codes
Related modules, variables & methods
Example showing how all redeemed vouchers are listed and each one can be removed via a button.
