Variant Not Found Error when adding Product to Cart

Topic summary

A user encounters a “cannot find variant” error when attempting to add product variants to their cart on a Shopify store using the Narrative theme. Despite having inventory available, the product information tab for adding variants is missing from the default product page.

Troubleshooting attempts:

  • The issue appears isolated to specific products; other products add to cart successfully
  • Duplicating the affected product reproduces the same error
  • Without access to product configuration and theme code, the root cause remains unclear

Community solutions offered:

  • Check that products are added to the Online Sales Channel (common oversight)
  • Contact Shopify support to “flush the front end cache” - resolved the issue for one user within minutes
  • Modify the Narrative theme’s product form code to send variant IDs to the cart instead of just option names, as the theme may be handling variant IDs incorrectly

Status: The original poster has not confirmed whether any suggested solutions resolved their issue. The discussion remains open with multiple potential fixes to try.

Summarized with AI on October 24. AI used: claude-sonnet-4-5-20250929.

I am getting a “cannot find variant” error when I go to a variant to my Cart. There is inventory and I don’t see the production information tab on my Narrative Theme Default Product Page where I can add variants. What step am I missing or is this a coding issue

Looks like it’s a code issue, but it’s hard to say without having a look at the problem. Could you share the store link, please?

https://bhurgxrs56cxst36-56376525005.shopifypreview.com/products_preview?preview_key=7057d1bd7a0a626205a2fd687fcd9fc8

Thanks Drew, does the preview mode have anything to do with it?

Thank you! Yes, it’s fine.

As I can see, the problem occurs only with this specific product. I tried to add other products to the cart and it worked fine. Try duplicating it and see if the error is still there. You can try to change some values in the copy to see if it affects anything.

The copy did the same thing

Then in this case it’s hard to say what’s wrong with the product or with the theme. If you still need tech assitance and would like me to have a look, let me know. I’m afraid that without seeing the actual product configuration and the theme code I’m not able to help you.

Hi, did you find a solution for this?

Thanks

I had the same problem with some new products I added. I simply forgot to add the items to the Online Sales Channel. I added them and now they add to the cart.

1 Like

I had same issue with two of my products.
I contacted the Shopify support and asked them to “flush the front end cache“.
After a couple of minutes everything was working normal

In Narrative, you may need to change the product form code in the product template or the main product section so that it sends the variant ID to the cart and not only the option names. This error usually happens if the theme is using the variant IDs instead of the inventory.