Jump to content

Decrement pack when product from inside pack is sold?


Recommended Posts

Hi, 

 

I have this situation in (Presta 1.6) i cannot solve and i'm asking for your help.

 

I have a pack containing:

  • 1 pcs x product_A
  • 1 pcs x product_B

Before testing and buying anything, let's assume we have the following quantities:

  • pack = 1 pcs
  • product_A = 1 pcs
  • product_B = 5 pcs

When i buy 1 pack, all the items are decremented from stock: the pack itself, the product_A and the product_B. This means that if i buy 1 pack, we will have the following quantities left in stoc: pack = 0 pcs (because i just bought 1 pcs), product_A = 0 pcs, product_B = 4 pcs. So far so good.

The problem is when i buy only product_A, for example. If i buy only product_A, the pack will not decrease its quantity

 

 

If again i have these quantities in stock before the test order: 

  • pack = 1 pcs
  • product_A = 1 pcs
  • product_B = 5 pcs

If i buy product_A, the quantities after the test order will be: 

  • pack = 1 pcs (it should have been decreased to 0 pcs, because i have only 0 pcs of product_A left in stock)
  • product_A = 0 pcs (i just bought it)
  • product_B = 5 pcs (it is not affected)

 

Can you help me decrease the pack quantity when the products that form the pack are not available?

 

Thank you in advance!

 

Link to comment
Share on other sites

  • 2 weeks later...
  • 5 months later...
  • 1 month later...
  • 1 month later...

I have the same problem. 

 

We hoped that with 1.6.1.4. release it will be fixed but no go. Why make packs option if you cannot use it ? 

 

Our stock goes to -1 and so on when too many packs is bought. Customers will buy products on their own as well.

 

Cmon Presta, I dont want to spend fortune on the separate module !

  • Like 1
Link to comment
Share on other sites

  • 4 weeks later...

I'm actually trying to fix the same issue.

There must be an easy way to update packs quantity based on products that are inside.

 

On my shop it should be even easier as I have only packs of same products like 10  x t-shirt,  20 x t-shirt etc.

 

So when stock looks like this:

 

t-shirt: 100 items

t-shirts pack: 10 (with 10 t-shirts in a pack)

 

and someone orders 5 t-shirts available stock of "t-shirt" pack" should decrease to: 9.

 

 

 

I was actually pretty surprised that this functionality is not yet implemented in prestashop :/

  • Like 1
Link to comment
Share on other sites

  • 7 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...