---
title: Do rules apply to orders created in the admin?
description: "Mostly no: Pricepep applies rules in the storefront cart. Products added in the order editor get their own price, and recalculating keeps cart discounts."
url: "https://pricepep.com/docs/do-rules-apply-to-orders-created-in-the-admin/"
updated: "2026-12-02"
category: FAQ
---

# Do rules apply to orders created in the admin?

Mostly no. Pricepep calculates prices in the customer's cart on the storefront, so orders you create in **WooCommerce > Orders** get no cart discounts or checkout fees, and the customer's rules aren't checked.

- **Products you add in the order editor** (**Add item(s)** on an order) get the product's own WooCommerce price, its regular or sale price, whatever **Change display prices in shop** is set to. Before 2.6.0, with a **Change** option, such a line could get the price the rules gave you, the logged-in admin: your own role, cart and address.
- **Orders created through the REST API over HTTP**, or by plugins in background tasks (WP-Cron), get the products' own prices too. Order editing plugins that add products with their own admin-ajax actions get the shop price shown to you with a **Change** option; a developer can give them their own price with the `rp_wcdpd_order_editor_ajax_actions` filter (see the [filter reference](/docs/filter-reference/)).
- **Since 2.6.0, Pricepep's cart discounts** on orders placed in the storefront stay as they were at checkout when the order is recalculated (WooCommerce 8.7 or later; below).

## Known issues in 2.6.0

- **Orders created with WP-CLI** (`wp wc shop_order create --user=...`) get the prices the rules give that user when **Change display prices in shop** is set to a **Change** option. Check the line prices, or enter them by hand.
- **"Exclude sale items" coupons in the order editor** don't see rule discounts. Such a coupon added to an order in the admin also discounts the lines that rules discounted at checkout. And when you add or remove any coupon there, WooCommerce applies the checkout's coupons again, so an "Exclude sale items" coupon from checkout then discounts those lines too. In the cart and checkout, products discounted by product pricing rules count as sale items for such coupons. A fix is planned.

## How do I give the discount on a phone or manual order?

- **Place the order in the storefront for the customer**, logged in as them or as a guest with their details, so the cart applies every rule. Plugins that let staff shop as a customer do this.
- **Or enter the price by hand** on the order line, or add a coupon to the order.

Orders placed by customers keep the prices and discounts from their cart, and Pricepep stores which rules applied in the order's data; see [discounts in order emails and invoices](/docs/do-discounts-show-in-order-emails-and-invoices/). If a discount is missing from a storefront order, see [discount not applied](/docs/discounts-not-applied/).

## What happens to cart discounts when an order is recalculated?

Since 2.6.0 they stay as they were at checkout. WooCommerce recalculates an order's coupons when you apply or remove a coupon in the order editor, and some REST API updates and other plugins do the same. Each Pricepep cart discount keeps the amount it had at checkout, shared over the order's products by price the way checkout shared it. A discount that was only for some products stays on those products. Example: an order with a $10.00 "Spring sale" cart discount still has $10.00 off after you add a 5% coupon in the order editor, and again after you remove that coupon.

- This works with WooCommerce 8.7 and later, in the order editor, through the REST API and in background tasks (WP-CLI, WP-Cron); with older versions WooCommerce's own handling applies.
- Product pricing rules aren't applied again: existing lines keep their prices, and products you add in the order editor or through the REST API get their own WooCommerce price (see above; WP-CLI: see the known issues).
- Developers can keep WooCommerce's own handling with the `rp_wcdpd_keep_cart_discounts_on_order_recalculation` filter; see the [filter reference](/docs/filter-reference/).

## Related articles

- [Pricepep discount not applied? A checklist](https://pricepep.com/docs/discounts-not-applied/)
- [Does Pricepep work with WooCommerce Subscriptions?](https://pricepep.com/docs/does-pricepep-work-with-woocommerce-subscriptions/)
- [Do Pricepep discounts show in product feeds?](https://pricepep.com/docs/do-pricepep-discounts-show-in-product-feeds/)
- [Shop shows a different price than the cart](https://pricepep.com/docs/prices-shown-vs-charged/)

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