Contact
How Discounts Work / Shop pages, cart, checkout and orders
  1. Home
  2. Dynamic Discount Rules for WooCommerce
  3. How Discounts Work
  4. Shop pages, cart, checkout and orders
How Discounts Work

Shop pages, cart, checkout and orders

2 min readUpdated Nov 7, 2026

Shop and product pages

When Display Discount on Shop & Product Pages is on (both the global setting and the rule's own checkbox), eligible products show the lower price first, then the regular price struck out, then a badge such as (10% off). This changes the product's real price, so the customer pays what is shown. Variable products with different prices show a price range. The theme's sale badge is also corrected when it would show 0%.

A product page with a 10% rule: lower price, struck-out regular price and the theme's sale badge (-10% on the Storefront theme).
A product page with a 10% rule: lower price, struck-out regular price and the theme's sale badge (-10% on the Storefront theme).

Shop prices ignore rules that need the cart or the payment method, as described in Conditions.

Application Method

On the Discount tab, Application Method has two options:

OptionResult
Line Item Price (Directly adjusts product prices in cart)The cart line price is lowered.
Cart Total Fee (shown as a discount line in the totals)A negative line with the rule title is added to the totals. Only used when Display Discount on Shop & Product Pages is switched off for the rule.

A rule that is shown on shop pages always changes the item price, whichever method you pick. For a percentage discount line, the title gets the percentage added, for example Summer Sale (10%).

Cart and checkout

  • Item price rules show the lower price, the struck-out regular price and the badge in the cart table. The line subtotal uses the lower price times the quantity.
  • Discount lines and payment bonuses appear in the cart totals.
  • The green savings banner shows the saved amount (item discounts plus discount lines) above the cart and the checkout form. See Global settings.

The green banner and the discount lines are added with the classic Cart and Checkout hooks. On our test site, which uses the block-based Cart and Checkout, only the item price changes (the lower price and a Save badge per line) were shown, and no banner or discount line appeared. Test this on your own checkout.

The block-based cart: each discounted line shows the lower price, the struck-out regular price and a Save badge.
The block-based cart: each discounted line shows the lower price, the struck-out regular price and a Save badge.

Orders and emails

Item price discounts change the price of the order line, so the order total and the order emails use the lower price. Discount lines are saved on the order as fee lines. For each discounted line item, the plugin also saves the regular price, the discounted price and the discount percentage in the order item meta (_wcdr_regular_price, _wcdr_discounted_price and _wcdr_discount).