How to set a variable that has consistent stock levels across all sizes/colours

Hi,

I am looking to set up my product in a unique way and am having trouble doing so. I would like to have my product set up so my hoodies have different colours and sizes available which is already set up however I would also like a third variable in number, however, the number stock must be consistent across all sizes/colours.

For example, a customer purchases a Small Blue hoodie with #10 and due to that #10 is no longer available to any other customers across all sizes/colours. Making for an exclusive #10 hoodie. Setting up that third variable so that it is locked out to other customers after it’s been purchased once is my problem. Please help!

Thanks,

Cam

To set up a unique third variable for your product, such as a serial number or exclusive identifier, and ensure that it is locked out after being purchased once, you will need to use a combination of Shopify’s product variants, inventory management, and possibly some custom coding.

Here’s a general approach to achieve this:

  1. Set up your product variants for colors and sizes as you have already done.

  2. Create a third variant option called “Number” or “Identifier” to represent the unique value for each hoodie. Assign a unique value or identifier to each variant, such as #10, #11, #12, and so on.

  3. Set the inventory for the third variant option to match the number of unique values you have. For example, if you have 20 unique values, set the inventory to 20 for each variant.

  4. In your theme, modify the product page to display the available third variant option (number) for each hoodie. This will allow customers to select the desired unique value.

  5. Implement custom code or use an app to manage the inventory and prevent the same unique value from being selected by multiple customers. The code/app should track the availability of each unique value and update the inventory accordingly when a purchase is made.

Note that the implementation details may vary depending on your theme and specific requirements. You might need to customize the code or seek assistance from a Shopify developer to achieve the desired functionality.