What you'll build
A shipping option that always shows a 'SALE' badge and delivers free shipping automatically on Saturdays and Sundays. The badge is a static label configured on the option — it is always visible regardless of the day. The free shipping is applied by a rule that fires on weekends only.
Before you start
- You have a home delivery shipping option with a normal paid rate configured.
- This rule changes the displayed price to €0 at checkout — confirm with your operations team how free shipping is handled on the fulfilment side.
- Badge colors in Shipit are a fixed set of options. Custom hex colors are not supported.
Step 1: Open your home delivery option
Navigate to your standard home delivery shipping option. You are adding a badge and a rule to the existing option, not creating a new one.
Step 2a: Add the badge (static)
In the Badges tab of the shipping option, click Add Badge and configure:
| Field | Value |
|---|---|
| Text | SALE |
| Description | Free shipping this weekend |
| Color | green |
Save the option. The badge now always appears on this shipping option — on weekdays and weekends alike. If you only want to run the promotion occasionally, remove the badge when the sale ends.
Step 2b: Add the free shipping rule
In the Rules tab, click Add Rule and configure:
| Rule field | Value |
|---|---|
| Rule name | Free shipping on weekends |
| Condition: field | day_of_week |
| Condition: operator | in |
| Condition: value | saturday,sunday |
| Action type | modify_method_price |
| Percentage adjustment | -100 |
| Conditions match | All |
Setting outcome_price_percentage to -100 reduces the displayed price by 100%, making shipping free for the customer.
Step 3: Confirm no manual toggling is needed
Once saved, this rule is always active. On Saturday or Sunday, the condition is met and the price is reduced to zero. On weekdays, the condition is not met, the rule does not fire, and your shipping option shows its normal price.
Tip: For longer promotions spanning multiple days, add more day values to the
day_of_weekcondition using theinoperator with a comma-separated list, for examplemonday,tuesday,wednesday,thursday,fridayfor all weekdays.
How it works
When a customer opens checkout on Saturday or Sunday, Shipit evaluates the day_of_week in saturday,sunday condition. It is true, so the modify_method_price rule fires and reduces the price by 100%, showing the option as free. On weekdays, the condition is false, the rule does not fire, and the option shows its normal price. The SALE badge is always visible — it is a static label on the option, not controlled by the rule.
Testing it
- Open the Checkout tester and simulate a Saturday. Confirm the shipping price shows as free.
- Simulate a Sunday. Confirm the same result.
- Simulate a Monday. Confirm the normal price is shown. The SALE badge remains visible on all days.
- Place a test order on a Saturday and confirm zero shipping cost appears in your order management system.
