How to get variants to be automatically deleted when sold out?

Highlighted
New Member
4 0 0

We already looked at this page: https://shopify.dev/tutorials/customize-theme-hide-variants-that-are-sold-out

However, our store has two locations and therefore the code does not work for us.

Is there another code or third party app we can use to automatically delete variants that are out of stock? 

 

Thanks. 

0 Likes
Highlighted
New Member
2 0 0

Hi Vincy,

 

You shouldn't need any code for this! If you go to the product in shopify admin, and scroll down to "variants," you'll have the option for each variant to edit or delete it (there's a button with a trash can icon) to the far right of the variant in the list of variants. Screenshot here:

 

Screen Shot 2020-06-01 at 4.06.19 PM.png

0 Likes
Highlighted
New Member
4 0 0

Hi sorry I meant how can I get it removed automatically? I know how to manually delete variants, but thanks!

0 Likes