@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.
@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?
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.