Skip to main content
This section describes the available actions in the Voucher area. With these actions, voucher codes can be redeemed in the basket and removed again.

Actions overview


Actions

VoucherAdd

This action redeems a voucher code in the basket. Usage example
Can 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 example
Can 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.