> For the complete documentation index, see [llms.txt](https://uniocode.gitbook.io/stack-discounts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://uniocode.gitbook.io/stack-discounts/faq/can-i-make-discounts-available-only-for-logged-in-customers.md).

# Can I make discounts available only for logged-in customers?

Yes, you can restrict discounts so they are available only to logged-in customers.

#### How to set it up:

1. When creating or editing a campaign, go to the **Customer eligibility** section.
2. Check the box **“Require customer to be logged in.”**

Once enabled, the discount will apply only to customers who are logged into their accounts.

<figure><img src="https://1132191089-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFvXLYGP22kPwTy6fSNME%2Fuploads%2FAxlvlkek3wWh6D7NExqp%2Fimage.png?alt=media&amp;token=86e81e5d-5560-41b4-bf9a-b6424c849ff0" alt=""><figcaption></figcaption></figure>
