Liquid, JavaScript, themes, sales channels
If you try to buy a gift card on my site, it's auto-rejected from the cart (upon checkout) with a message saying that it's "Out Of Stock".
How do I fix this?
They used to work and I don't know what could have changed in the settings so I'm lost as to where to even start.
To Replicate:
Put any denomination in the cart.
Check out.
Receive this error message:
Things I've tried:
Hey, I just went through the same issue. I think it is because I manually added a Variant to the "Gift Card" product via "Products", rather than going through the "Gift Card> Add a Gift Card" method. After I did this, my gift card product started showing the out of stock.
I looked through shopify docs but was unable to find a way to actually update an existing product to add more variants:
https://help.shopify.com/en/manual/products/gift-card-products/add-update-gift-card-products
While it says "update" is an option, I was unable to do so.
To resolve the issue on my end, I recreated the gift card product with all the "Denominations" I previously had, plus the additions I was looking to make in the first place. I tested this out and it no longer has the Out Of Stock issue at checkout.
I then moved the old one to "Draft" status and renamed it with an "- OLD" at the end of the name. Not sure if this is necessary but instead of deleting the product entirely, I wanted to ensure that the customers who bought these would still be able to use it.
User | RANK |
---|---|
38 | |
30 | |
12 | |
12 | |
8 |
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023