We are using the Craft theme and the app PC Product Options. The app is correctly showing an error message when a customer selects “Add to Cart” and required fields are not entered, but it only flashes for a second and then the customer winds up in an empty cart. The app developer contends this is a code error with the theme code. (This is one of the free Shopify themes.) Shopify says I need to get an expert to review the theme code to find the problem. By chance has anyone run in to this problem and know what the fix is for it?
Hey @cjames,
Thanks for the post. A heads up, this forum is dedicated to developers building apps and themes on Shopify, and we typically expect more technical details when reporting issues. FAQ - Shopify Developer Community Forums
That said, I can help point you towards some next steps.
A few things you can try:
-
Install a new (non-craft) theme temporarily and see if validation works correctly there. If it does, that confirms it’s specific to how Craft handles the cart.
-
Temporarily disable any other cart-related apps to rule out conflicts.
-
Check for theme edits. If anyone has customized your theme code, those changes could be interfering.
-
If you’re comfortable with developer tools, you can watch for errors in your browser console when the validation flashes to narrow down what’s happening.
For more general troubleshooting steps, the Help Center has a good guide: Troubleshooting your online store theme.
If none of the above helps, post a link to your storefront with some steps to replicate and the community may have some guidance.
Alternatively, you can reach out to our support teams in the help center since this is a Shopify developed theme.