This recipe runs a weekend sale with Dynamic Pricing: 25% off every hoodie, from Friday to Sunday. Step by step builds it, and the rule switches itself on and off. The cart totals below were measured on a real cart.
The sale runs on whole days in your store’s time zone. It starts at 00:00 on the first day and ends at 23:59 on the last.
What you need
↑ Back to top- Dynamic Pricing, activated
- The sale products in a category, such as Hoodies
Set up the sale
↑ Back to top- Go to WooCommerce › Dynamic Pricing and choose Add rule on the Rules tab, then Step by step.
- Under Kind, choose Adjustment and choose Next.
- Under Products, choose Categories and pick Hoodies. Choose Next.
- Under Price, leave Percentage off and enter 25 in Amount. Choose Next.
- Under Who and when, leave Everyone. Under When, choose Dates and pick the first day in From and the last day in To. Choose Next.
- On Review, enter a Name, such as Weekend hoodie sale. The When line shows the exact start and end.
- Choose Save rule.
Before the first day, the rule shows as Scheduled on the Rules tab. During the sale it shows as Running.
What the customer is charged
↑ Back to topMeasured on a cart with a $50 zip hoodie, two $50 pullover hoodies and a $20 mug, $170.00 at regular prices:
| When | Each hoodie | Mug | Cart total |
|---|---|---|---|
| Before the sale (Scheduled) | $50.00 | $20.00 | $170.00 |
| During the sale (Running) | $37.50 | $20.00 | $132.50 |
Variations on the same rule
↑ Back to top| You want | Change |
|---|---|
| A sale on the whole store | Under Products, leave All products. |
| A sale on selected products | Under Products, choose Products and pick them. |
| $10 off each item | Under Price, choose Amount off each and enter 10. |
| One sale price for every item | Under Price, choose Fixed price each and enter the price. |
| Leave items already on sale out | Under Products, tick Skip items on sale. |
| A members-only sale | Under Who, choose Role and pick the role. |
The Dynamic Pricing documentation shows how rules work together.