Campaign/voucher code entry UI in accelerator missing?

It looks like the accelerator handles campaign/voucher codes created as campaign criteria. For example, there are some setCampaignCode bits in the UI Checkout container and an API controller setCampaignCode.

But there doesn’t seem to be a UI for web users to actually enter the codes.

Is this intentionally left to accelerator implementors? If so, is there an example of what is needed to interact with the Checkout container? Or is there a setting somewhere to enable voucher/campaign code entry?

Litium version: 7.6.1 + accelerator

The box is unfortunately hidden if you only have 1 payment alternative configured. There’s a bug report on it: https://docs.litium.com/support/bugs/bug_details?id=50909

In Checkout.container.js, the payment method section (which contains the campaign code box) is only shown with more than 1 options.
{(paymentMethods && paymentMethods.length > 1 && (!paymentWidget || paymentWidget.isChangeable)) && this.renderPaymentMethodsSection()}

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.