Overview #
The WooCommerce Shipping Methods by Current Date/Time plugin allows you to set the date and/or time to include/exclude for shipping methods to be displayed on your WooCommerce site.
Enabling Shipping Methods by Current Date/Time #
To enable and use the Shipping Methods by Current Date/Time plugin, you should first download and install Booster for WooCommerce.
1. Navigate to WordPress Dashboard > WooCommerce > Settings > Booster > SHIPPING & ORDERS > Shipping Methods by Current Date/Time.
The Shipping Methods by Current Date/Time Module Options page will be displayed.
2. In the Shipping Methods by Current Date/Time section, check the box for Enable Module field.
3. Scroll down to the end of the page and click Save changes.
The WooCommerce Shipping Methods by Current Date/Time plugin will be enabled for your site.
Configuring Shipping Methods by Current Date/Time #
You can set the date and/or time to include/exclude for shipping methods to be displayed on your site using the option.
1. Navigate to WordPress Dashboard > WooCommerce > Settings > Booster > SHIPPING & ORDERS > Shipping Methods by Current Date/Time.
The Shipping Methods by Current Date/Time Module Options page will be displayed.
2. If you want to use shipping methods instances instead of shipping methods, check the box for Use Shipping Instances – Enable field.
3. Scroll down to the end of the page and click Save changes.
Note:
- Format to specify the current date and time is 2022-02-14 12:35:25.
- Time/date must be in the format time from ~ time to (time from and time to must be separated with ~ symbol). Each input for time must be set in the format that is parsable by the PHP strtotime() function.
- Valid time input examples:
- this week Thursday 4:30pm ~ this week Friday 4:30pm
- this year September 1 ~ this year September 30
4. To enable setting shipping methods by current date/time, check the box for the Shipping Methods by Current Date/Time – Enable section field.
5. Enter the date/time that you want to include and exclude for Flat rate, Free shipping, and Local pickup in the respective fields.
6. Enter the priority of the current module’s execution in the Filter Priority field.
7. Click Save changes.
Shipping methods will be set by the current date/time.