Support » Plugin: WooCommerce Local Pickup Time Select » Set maximum order-pickup per interval

  • wpcarls



    first of all – great and easy plugin.

    As COVID-19 dominates the way we do business today, we have to ensure that people don’t assemble in front of our store when they choose local pickup. Therefore I kindly request you to include an option, that allows me to set a maximum amount of local pick ups within the same interval.

    For Example,
    Interval 1: 5pm – 5:15pm -> 5 Slots to pick up your Product left

    Thank You and cheers!

    • This topic was modified 10 months ago by wpcarls.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Tim Nolte


    @wpcarls we have a ticket opened already for a similar request. You can see my response here in regards to potential performance impact and added complexity this would cause. Another aspect would be requiring session state to track the number of users actively choosing a time slot before checkout has been completed, or at the very least validating the pickup time slot during checkout processing and causing an error that would require a used to choose another time. We will do our best to see about making this request happen sooner than later.

    Thread Starter wpcarls


    @tnolte thanks for your quick supply and sorry that I haven’t checked the open tickets before contacting you.

    I see, this extension is going to be quite difficult as it reveals many topics that will be affected by it. I thought about that and maybe my idea will help you addressing the problem from an other perspective. If I am totally wrong at this point – please excuse me!
    Why don’t implement a “child” storage only for pick up products that refresh itself’s automatically based on the set interval parameters (for example time slots and maximum amount of order per time slot) and reduces the parent storage (WooCommerce Storage settings) accordantly. As the availability of products gets adjusted each time a product is added to the cart, the child storage will be reduced by the amount of the added to cart products which are tagged as “local pickup delivery” in the WC product settings. If the maximum amount of pick ups per interval got reached, the system makes a suggestion based on conditional logic. So instead of an error message like “sold out” it says “the amount of maximum local pick up is reached – please adapt your settings”.

    @tnolte I just checked ticket #68 and saw that this issue is marked in progress. Any possibility of a release of this feature soon?

    Plugin Author Tim Nolte


    Yeah, just working out an acceptable migration as this is going to require a custom index table and moving all the pickup time data there. And I’m trying to consider what to do about custom code that people have written where they are pulling the pickup time directly from the order meta fields.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Set maximum order-pickup per interval’ is closed to new replies.