---
title: "Can I give a discount to logged-in customers only?"
description: "Yes. The Is logged in condition limits any Pricepep rule to registered customers, for members-only prices, or to guests. Setup with an example."
url: "https://pricepep.com/docs/can-i-give-a-discount-to-logged-in-customers-only/"
updated: "2026-12-02"
category: FAQ
---

# Can I give a discount to logged-in customers only?

Yes. Add the condition **Is logged in** **yes** to any rule in **WooCommerce > Pricepep**. Example: a **Simple adjustment** with **Percentage discount** 10 and **Is logged in** yes: a $50.00 product costs $45.00 for customers who are logged in, whatever their role, and $50.00 for guests.

## How do I set it up?

1. Go to **WooCommerce > Pricepep > Product Pricing** and click **Add Rule**.
2. Set **Method** to **Simple adjustment**.
3. Under **Adjustment**, choose **Percentage discount** and type `10`.
4. Under **Products**, leave it empty for every product, or click **Add Product** to choose categories.
5. Under **Conditions**, click **Add Condition**, choose **Is logged in** and **yes**.
6. Type a **Description - Public** such as "Member price" and click **Save Changes**.
7. On the **Settings** tab, set **Change display prices in shop** to **Change - Include simple adjustments** and click **Save Changes**, so members see their price on shop and product pages.

## Who pays what?

| Shopper | $50.00 product |
| --- | --- |
| Logged in, any role | $45.00 |
| Guest | $50.00 |

## Variations

- **Guests only:** **Is logged in** **no**. A **Percentage fee** of 10 for guests makes the same product $55.00 for them and leaves members at $50.00.
- **Only some members:** **User role**, **User capability** or **Customer** instead; see [prices for user roles](/docs/can-i-set-different-prices-for-user-roles/) and [prices for specific customers](/docs/can-i-set-special-prices-for-specific-customers/).
- **A line in the cart totals instead of lower prices:** a cart discount in **Cart Discounts** with the same condition.
- **Members-only products:** [Restrict purchase of matched products](/docs/restrict-purchase/) with **Is logged in** **no** stops guests buying them.

## What should I know?

- Pricepep can't hide prices from guests; that needs a catalog mode plugin. See [can I hide prices from guests?](/docs/can-i-hide-prices-from-guests/)
- A full-page cache must not serve pages cached for guests to logged-in customers, or members see guest prices. Most caching plugins skip logged-in users by default; see [caching](/docs/caching/).

## Frequently asked questions

### Do logged-in customers see the member price on product pages?

Yes, once Change display prices in shop on the Settings tab is set to Change - Include simple adjustments. Guests keep seeing the normal price.

### Can guests get a different price instead?

Yes. Use Is logged in with no. For example, a Percentage fee of 10 for guests makes a $50 product cost $55 for them.

### Can only some registered customers get it?

Yes. Use User role, User capability or Customer instead of Is logged in to pick roles or accounts.

## Related articles

- [Can I set different prices for user roles?](https://pricepep.com/docs/can-i-set-different-prices-for-user-roles/)
- [Can I hide prices from guests?](https://pricepep.com/docs/can-i-hide-prices-from-guests/)
- [Customer conditions: roles, users and order history](https://pricepep.com/docs/customer-conditions/)
- [Caching plugins and Pricepep prices](https://pricepep.com/docs/caching/)

All articles in [FAQ](https://pricepep.com/docs-category/faq/)
