# Campaign/voucher code entry UI in accelerator missing?

**URL:** <https://forum.litium.com/t/campaign-voucher-code-entry-ui-in-accelerator-missing/2262>\
**Category:** Questions\
**Tags:** accelerator, litium-7\
**Created:** [October 21, 2021, 11:01am UTC](https://forum.litium.com/t/campaign-voucher-code-entry-ui-in-accelerator-missing/2262 "2021-10-21T11:01:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kdxperbol](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/kdxperbol/32/513_2.png) [@kdxperbol](https://forum.litium.com/u/kdxperbol)\
**Post date:** [October 21, 2021, 11:01am UTC](https://forum.litium.com/t/campaign-voucher-code-entry-ui-in-accelerator-missing/2262/1 "2021-10-21T11:01:51Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![NilsN](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/nilsn/32/302_2.png) [@NilsN](https://forum.litium.com/u/NilsN)\
**Post date:** [October 21, 2021, 11:40am UTC](https://forum.litium.com/t/campaign-voucher-code-entry-ui-in-accelerator-missing/2262/2 "2021-10-21T11:40:12Z")

</div>

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](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()} `

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/litium/original/1X/12eddac3b8b661de1db86af10ac8151b571e6fb9.png) [@system](https://forum.litium.com/u/system)\
**Post date:** [November 18, 2021, 11:40am UTC](https://forum.litium.com/t/campaign-voucher-code-entry-ui-in-accelerator-missing/2262/3 "2021-11-18T11:40:29Z")

</div>

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