Limiting the overall quantity of all the variations of a product.

Solved

Limiting the overall quantity of all the variations of a product.

HenrySanderson
New Member
4 0 0

I am trying to make it so I can sell up to 7 of any combination of size and bagginess of pants. For example 3 M baggy+, and 4 L baggy++ would cause the listing to be deemed out of stock. Is this even possible?

Accepted Solution (1)

Moeed
Shopify Partner
7135 1928 2352

This is an accepted solution.

Hey @HenrySanderson 

Yes, it is possible to set up a system where you can sell up to 7 of any combination of size and bagginess of pants. You would need to track the inventory of each specific combination and update it accordingly when sales are made. Here's an example of how you could approach it:

 

  1. Define the inventory combinations: Create a list of all possible combinations of size and bagginess for your pants. For example, you might have combinations like "S baggy+", "M baggy++", "L baggy+", etc.

  2. Set the initial inventory count: Assign an initial inventory count of 7 to each combination. This means that you have 7 available for sale for each combination at the beginning.

  3. Track inventory: Whenever a customer purchases a pair of pants, deduct one from the corresponding inventory combination. For example, if a customer buys "M baggy+", subtract 1 from the inventory count of that combination.

  4. Check inventory availability: Before allowing a purchase, you need to check if the desired combination is in stock. If the inventory count for a specific combination reaches 0, mark it as out of stock and prevent customers from selecting it.

  5. Display stock availability: Provide a user interface or display on your website where customers can see the available stock for each combination. This helps them make informed choices and avoids the situation of selling more than 7 of any combination.

  6. Manage restocking: Periodically, you may need to restock your inventory. You can reset the inventory count to 7 for all combinations or use a different restocking strategy based on demand and sales patterns.

By implementing these steps, you can ensure that you can sell up to 7 of any combination of size and bagginess of pants while also managing stock availability.

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

 

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


View solution in original post

Replies 2 (2)

Moeed
Shopify Partner
7135 1928 2352

This is an accepted solution.

Hey @HenrySanderson 

Yes, it is possible to set up a system where you can sell up to 7 of any combination of size and bagginess of pants. You would need to track the inventory of each specific combination and update it accordingly when sales are made. Here's an example of how you could approach it:

 

  1. Define the inventory combinations: Create a list of all possible combinations of size and bagginess for your pants. For example, you might have combinations like "S baggy+", "M baggy++", "L baggy+", etc.

  2. Set the initial inventory count: Assign an initial inventory count of 7 to each combination. This means that you have 7 available for sale for each combination at the beginning.

  3. Track inventory: Whenever a customer purchases a pair of pants, deduct one from the corresponding inventory combination. For example, if a customer buys "M baggy+", subtract 1 from the inventory count of that combination.

  4. Check inventory availability: Before allowing a purchase, you need to check if the desired combination is in stock. If the inventory count for a specific combination reaches 0, mark it as out of stock and prevent customers from selecting it.

  5. Display stock availability: Provide a user interface or display on your website where customers can see the available stock for each combination. This helps them make informed choices and avoids the situation of selling more than 7 of any combination.

  6. Manage restocking: Periodically, you may need to restock your inventory. You can reset the inventory count to 7 for all combinations or use a different restocking strategy based on demand and sales patterns.

By implementing these steps, you can ensure that you can sell up to 7 of any combination of size and bagginess of pants while also managing stock availability.

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

 

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


HenrySanderson
New Member
4 0 0

Thank you so much!