Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
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.
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024