> For the complete documentation index, see [llms.txt](https://help.dollarlabs.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.dollarlabs.io/dollarlabs-ultimate-discounts/function-limitations-by-shopify.md).

# Function limitations by Shopify

### Restrictions imposed by Shopify&#x20;

1. You can have a maximum of 25 automatic discounts active on your store at one time. This means that a maximum of 25 automatic discount codes can be applied on the same order.
2. Customers can use a maximum of five product or order discount codes and one shipping discount code on the same order.
3. Discounts can only be combined on orders that are made through the Online Store and [Shopify POS](https://help.shopify.com/en/manual/sell-in-person/shopify-pos/discount-management/combining-discounts).
4. Products that are part of a [Buy X get Y](https://help.shopify.com/en/manual/discounts/discount-types/buy-x-get-y) discount are ineligible for further product discounts. If a customer enters a discount code that applies to products in a Buy X get Y discount, then the Buy X get Y discount is removed and only the discount code that the customer entered is applied to the order.
5. Discounts created through Shopify functions (regardless of automatic / coupon based) will only apply to the first checkout order on subscriptions.


---

# 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:

```
GET https://help.dollarlabs.io/dollarlabs-ultimate-discounts/function-limitations-by-shopify.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
