Jump to content

Edit History

zenerry

zenerry

Hi everyone,

I'm searching how to change an strange requirement but I'm really in a hurry with it.

My client would like to sell online only his products that has more than 2 units in stock for combination.

Let me try to explain an example:

He has 2 sizes and 2 colors, and from the first combination only has 1 piece in stock. He needs to sell online all of them exept this first combination.

This may sound quite weird but sometimes he has problems with this last unit.

 

I found some interesting terms to edit in productController.php and cartController.php with no luck with them.

I'd like to set something like when id_product_attribute or productQuantity stock is < 2 --- product set automatically out-of-stock,  as it really happens whe stock reaches "0".

 

Hope somebody could help me because it's really complicated for me to find this solution.

Thanks in advanced.

zenerry

zenerry

Hi everyone,

I'm searching how to change an strange requirement but I'm really in a hurry with it.

My client would like to sell online his products that has more than 2 units in stock for combination.

Let me try to explain an example:

He has 2 size and 2 colors and from the first combination only has 1 piece in stock. He needs to sell online all of them exept this first combination.

This may sound quite weird but sometimes he has problems with this last unit.

 

I found some interesting terms to edit in productController.php and cartController.php with no luck with them.

I'd like to set something like when id_product_attribute or productQuantity stock is < 2 --- product set automatically out-of-stock,  as it really happens whe stock reaches "0".

 

Hope somebody could help me cause it's really complicated for me to fins this solution.

Thanks in advanced.

zenerry

zenerry

Hi everyone,

I'm searching how to change an strange requirement but I'm really in a hurry with it.

My client would like to sell online his product that has more than 2 units in stock for combination.

Let me try to explain an example:

He has 2 size and 2 colors and from the first combination only has 1 piece in stock. He needs to sell online all of them exept this first combination.

This may sound quite weird but sometimes he has problems with this last unit.

 

I found some interesting terms to edit in productController.php and cartController.php with no luck with them.

I'd like to set something like when id_product_attribute or productQuantity stock is < 2 --- product set automatically out-of-stock,  as it really happens whe stock reaches "0".

 

Hope somebody could help me cause it's really complicated for me to fins this solution.

Thanks in advanced.

zenerry

zenerry

Hi everyone,

I'm searching how to change an strange requirement but I'm really in a hurry with it.

My client would like to sell online his product that has more than 2 units in stock for combination.

Let me try to explain an example:

He has 2 size and 2 colors and from the first combination only has 1 piece in stock. He needs to sell online all of theme exept this first combination.

This may sound quite weird but sometimes he has problems with this last unit.

 

I found some interesting terms to edit in productController.php and cartController.php with no luck with them.

I'd like to set something like when id_product_attribute or productQuantity stock is < 2 --- product set automatically out-of-stock,  as it really happens whe stock reaches "0".

 

Hope somebody could help me cause it's really complicated for me to fins this solution.

Thanks in advanced.

×
×
  • Create New...