Jump to content

Unique (one-off) products: how to ensure that only one cart can contain it


petertorok

Recommended Posts

Hi,

 

I'm having to handle the sale of thousands one-off, unique products (antique books).

This means that no two products are the same: stock levels always start at 1 and when that single one is bought, the product goes out-of-stock.

 

I need to modify PrestaShop 1.6 to ensure that if two or more customers try to put the same unique product into their carts, that only one (the first) is successful, and the second gets an out-of-stock warning.

 

Then, the successful cart has a certain time window to create an order. Otherwise the cart releases the product which becomes in-stock again.

 

My questions are:

– Does anyone know of any module which provides this (or similar) functionality?

– If not, at which points in the PrestaShop code would recommend implementing the above enhancements?

– Is the "reservation" concept of AdvancedStockManagement helpful here?

 

I would very much appreciate the insights of anyone who has implemented something similar.

 

Thanks!

 

Peter

Edited by petertorok (see edit history)
Link to comment
Share on other sites

But what is someone put an item in their cart for a an hour then never buys it, thereby denying others the chance to buy it.

If you have a look at you your abandoned carts you can get an idea of how much a problem this could or could not be, personally many store have really high cart abandonment rates.

Link to comment
Share on other sites

Jimbola,

that's a valid point – I think a short cart timeout would be the solution.

In this case, it's most important to ensure that a popular item is not ordered by two customers because one of them would have to be manually cancelled and the customer will be disappointed and not return.

 

Peter

Link to comment
Share on other sites

  • 1 month later...
  • 4 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...