Proposal for the recurring order

In this proposal we are recurring oder option in checkout page of SCA website. When a customer places an order with the recurring order option enabled, the same order will be placed with exact items and quantity within a fixed time interval.

Requirement 

Need a feature that would be similar to a “subscription”, customers often have a standing order. This means that an automatic reorder for the same products/quantities is processing per a certain time period (ie every 2 weeks). 

Our Solution: 

  • We will create a Recurring order option in review page of checkout section. We can add a checkbox and the text as ‘Make this a recurring order?’. When customer select this option a section to add the start and end date will show. After filling the start date and end date of recurring order this details will be saved in sales order. 
recurring order checkbox
recurring order date
sales order
  • If the customer has selected the recurring option while placing the order we will create a custom record with the sales orders id, name, recurring order start date and recurring order end date and other required details.  
custom record
  • We will create a script to check the records on daily basis and if the record has a RECURRING ORDER DATE matches with the date, we will create sales order with same items that customer placed while selecting recurring order option and we will update the RECURRING ORDER DATE to next order date that is 2 weeks from the order date. 
  • If any records have end date as expired date, we will delete or remove the record from the custom records. 

Assumption 

  • Recurring order start date should be a day after the order date. Otherwise, multiple orders will place in the same day. 
  • We can’t stop the recurring order in between the start and end date, to stop then we need to delete the custom record manually. 
  • We assume that items that customers added while creating recurring order will be available. 
  • We assume that the shipping and billing address which customer set while creating the order will be used as the shipping and billing address in the next recurring orders.  
  • The same items and quantity will be reordered in the fixed interval (2 weeks). 

Leave a comment

Your email address will not be published. Required fields are marked *