> For the complete documentation index, see [llms.txt](https://ymq-app.gitbook.io/ymq-product-options-app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ymq-app.gitbook.io/ymq-product-options-app/faq/why-doesnt-the-discount-code-box-appear-in-the-checkout.md).

# Why doesn’t the discount code box appear in the checkout?

Our **price add-ons** use draft orders which aren’t compatible with the **discount code box** on the checkout page.

In order to solve this problem, the app provides the function of discount input box on the shopping cart page. Please open the settings below

<figure><img src="/files/7D0OU9aDXRNGhr6QwsQv" alt=""><figcaption></figcaption></figure>

**The app also provides 2 other principles to achieve price addition, these 2 principles can solve this problem**

**Binding variant principle:**&#x20;

Bind option A to variant A. After option A is selected, the bound variant A will also be added to the shopping cart. Please refer to the attached iamge 1

<figure><img src="/files/O0z9211Dz1u89cpmIUvQ" alt=""><figcaption></figcaption></figure>

**The one-cent principle:**&#x20;

Create a one-cent variant in shopify. If the add-on price is $100, 10,000 one-cent products will be added at checkout, which is exactly $100.&#x20;

This principle is not open yet, if you need it, please create a one-cent variant in the shopify background, and send me the variant id, and I will set it up for you.

<figure><img src="/files/L9OVVhh3zEkPovaT3HoP" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/omu3M8q1APEtrlG87TPG" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://ymq-app.gitbook.io/ymq-product-options-app/faq/why-doesnt-the-discount-code-box-appear-in-the-checkout.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
