Title: Feature Request: Processing Days
Last modified: September 27, 2022

---

# Feature Request: Processing Days

 *  Resolved [nostile](https://wordpress.org/support/users/nostile/)
 * (@nostile)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/feature-request-processing-days/)
 * Hello there,
 * Now that your plugin has a cut-off time for orders to be placed by to be delivered
   within the estimated window, I think it only lacks a specification for processing
   days.
 * In my case, Deliveries are done Monday to Saturday
 * However, Orders are processed Sunday to Friday.
 * Currently, delivery days are considered as processing days which causes an additional
   day added. If an Order is being placed on Saturday with a 1-2 day window, the
   estimate will show as Tuesday – Wednesday because the next Delivery day is Monday
   which is when the system will expect the order to be processed.
 * In reality however the order will be processed on Sunday and be out for delivery
   on Monday – Tuesday.
 * Can you implement processing days and cut-off times to work with each other? 
   Probably a simple checkbox to select the days on which orders are processed for
   the shipping method.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [RLDD](https://wordpress.org/support/users/rermis/)
 * (@rermis)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/feature-request-processing-days/#post-16056589)
 * Hi there,
    This will probably be a fix using the custom function due to it’s 
   complexity to integrate into the interface. I will see if this can be done and
   get back to you. Thank you!
 *  Plugin Author [RLDD](https://wordpress.org/support/users/rermis/)
 * (@rermis)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/feature-request-processing-days/#post-16066620)
 * The following function pasted in your theme’s functions.php file or in the plugin’s
   functions.php file will subtract one day from the delivery estimate if an order
   is placed on Sat or Sun. The date function uses 1 for Monday, 7 for Sunday, so
   it is configurable according to your business rules.
 *     ```
       function wse_adjust_days($method,$days,$type) {
         $ship_days=0;
         $now=strtotime(current_time('mysql'));
         if(date('N',$now)>=6) $ship_days=-1; // Subtract one day if Sat/Sun
         return $ship_days;
       }
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Feature Request: Processing Days’ is closed to new replies.

 * ![](https://ps.w.org/wc-ship-est/assets/icon-256x256.png?rev=2510249)
 * [Ship Estimate for WooCommerce](https://wordpress.org/plugins/wc-ship-est/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wc-ship-est/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wc-ship-est/)
 * [Active Topics](https://wordpress.org/support/plugin/wc-ship-est/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wc-ship-est/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wc-ship-est/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [RLDD](https://wordpress.org/support/users/rermis/)
 * Last activity: [3 years, 8 months ago](https://wordpress.org/support/topic/feature-request-processing-days/#post-16066620)
 * Status: resolved