So my shop is going to sell entry Tickets of all kind.
How can I reserve the Ticket for 20 minutes and then remove it if the customer did not start a checkout?

closed as too broad by Marius Apr 2 '15 at 20:57

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Run a batch process to disable the products, hope you have a good server as you need to do it via the API. – user2935 Sep 16 '14 at 10:59

Do you actually need to do this? Presumably you will have a limited stock of the tickets. By adding the product to the cart, the stock for that product is not altered or 'reserved' in any way, this only happens when you actually make the purchase. This means others can continue to purchase tickets and if the product is then out of stock when the customer comes to checkout, they will be informed of that and will not be able to checkout themselves.

  • Yes I need this as some tickets are bind to a entry time and some customers put the ticket in the cart 30 minutes before the selected entry time. So i need to remove the tickets quite a time before the selected entry time. Otherwise they might take to long and checkout with an selected entry time in the past. And this would bring A LOT of problems. So removing the Tickets early enough is what we want to go for. – Harrys Kavan Sep 16 '14 at 11:21
  • Ok, well it's up to you how you work it but from how you have described things so far it doesn't sound like just removing the product from the cart is going to be anything like a complete solution... – Jonathan Hussey Sep 16 '14 at 11:30
  • I already have the rest of the solution. This question is the missing part to the hole solution. In the meanwhile i found this: store.plumrocket.com/magento-extensions/… With this plugin I should be able to achive the needed removals. I'm gonna give this a try and answer if it works out. – Harrys Kavan Sep 16 '14 at 11:33
  • Have a look at Mage_Checkout_CartController and deleteAction(). It's a very short method showing how to remove a product from the cart. – Jonathan Hussey Sep 16 '14 at 13:25

Not the answer you're looking for? Browse other questions tagged or ask your own question.