How to Hide Specific Shipping Methods Based on Start and End Date in WooCommerce
This feature allows you to hide specific shipping methods for a fixed time period.
You can control shipping visibility by date, day, and time without manual changes.
It is useful for temporary rules like traffic-heavy days, holidays, or special delivery windows.
Once configured, the rules apply automatically.
In The Article
How it works
The plugin checks the date, day, and time before showing shipping methods.
If the current date or time matches your configured rule, the selected shipping method is hidden.
Outside the defined period, the shipping method becomes visible again automatically.
Steps to configure the settings
Step 1: Create or edit a hide shipping rule
- Go to WooCommerce > Hide Shipping Method > Manage Rules
- Click Add New Rule or edit an existing rule
Step 2: Set the Start Date
- Start Date defines when the rule should begin
- From this date onward, the shipping method will be hidden
Example:
Set the start date to June 1 to hide a shipping method starting June 1.
Step 3: Set the End Date
- End Date defines when the rule should stop
- After this date, the shipping method will appear again
Example:
Set the end date to June 10 to hide the shipping method only during this period.
Step 4: Choose Day(s) of the Week
- Select specific days when the rule should apply
- You can choose one day or multiple days
Example:
Hide express shipping from Thursday to Saturday due to heavy traffic.
Step 5: Set the Time duration
- Choose a Start Time and End Time
- The rule will apply only during this time every selected day
Example:
Hide fast delivery from 9:00 AM to 7:00 PM.
Step 6: Save and enable the rule
- Review your settings
- Make sure the Status is enabled
- Click Save
The rule will now work automatically based on your selected date and time.
Example scenario
A WooCommerce store offers Same-Day Delivery.
However, due to traffic and courier limitations, the store does not want to offer this service:
- On weekdays
- During office hours
The store owner configures:
- Start Date and End Date for the current month
- Days: Monday to Friday
- Time: 9:00 AM to 6:00 PM
As a result:
- Same-Day Delivery is hidden during busy hours
- The shipping method becomes visible again after the defined time
No manual updates are needed.
FAQs
1. Can I hide shipping methods for only one day?
Yes. Set the same date as both Start Date and End Date.
2. Can I use time rules without setting dates?
Yes. You can apply rules only by day and time if needed.
3. What happens after the End Date?
The rule stops automatically, and the shipping method becomes visible again.
4. Do these rules work on both cart and checkout pages?
Yes. The rules apply to both cart and checkout.
5. Do I need technical knowledge to use this feature?
No. All settings are dropdown-based and easy to configure.