Follow the instructions below to configure products for PDP assignment on Cloud UI PDPs.
Prerequisite Tasks
This section describes all requirements that must be completed before you can begin setting up this feature. Once these tasks are complete continue to the next section.
Commerce Tasks
Follow the instructions for configuring vouchers.
Detailed Setup Guide
Configure Setting
Configure Language Strings
Configure Setting to Display Link to My Account
Setting name | Details |
---|---|
vouchersettings.voucherentry.showvoucherslink | Controls whether the “View My Vouchers” link and “Sign in, to view my vouchers” link is displayed in the Voucher Entry Modal. Note: This only appears when the voucher plugin is installed. |
Configure language strings
Several language strings are available for customizing the Voucher Redemption modals.
Language String | Default Text | Location |
---|---|---|
publicui.voucherentry.title | Redeem your voucher | On the redeem voucher modal |
publicui.voucherentry.subtitle | Enter your voucher code below to receive your discount price. | On the redeem voucher modal |
publicui.voucherentry.code.label | Type in voucher | On the redeem voucher modal |
publicui.voucherentry.code.placeholder | Enter code | On the redeem voucher modal |
publicui.voucherentry.or | Or | On the redeem voucher modal when linking to My Account’s Voucher page is enabled |
publicui.voucherentry.signintoviewvouchers | Sign in to view my vouchers | On the redeem voucher modal when linking to My Account’s Voucher page is enabled and the guest is not logged in |
publicui.voucherentry.viewvouchers | View My Vouchers | On the redeem voucher modal when linking to My Account’s Voucher page is enabled and the guest is logged in |
publicui.voucherentry.confirm | Next | On the redeem voucher modal |
publicui.voucherentry.cancel | Cancel | On the redeem voucher modal |
publicui.voucherentry.product.success | Success | Displayed once a successful Product Voucher is entered |
publicui.voucherentry.product.redirecting | Redirecting to voucher page | Displayed once a successful Product Voucher is entered |
publicui.voucherentry.discount.details | Remember, your code will be applied at checkout. Online only. | Displayed once successfully entering a Discount Voucher ID (note: the top line text displays the discount code’s name configured in Admin) |
publicui.voucherentry.enternewbutton | Enter new code | Displays on Product Voucher PDPs |
publicui.voucherentry.pageprompt | Do you have a voucher? | On Large Pricing calendar pages when the global setting to display the link is enabled |
publicui.voucherentry.error.required | Code is required | On the redeem voucher modal when the code field is left empty |
publicui.voucherentry.error.invalid | Invalid or incorrect code | On the redeem voucher modal when the code entered is not valid |