Cart page issue - adding gift with purchase

Topic summary

A developer is experiencing an issue with a cart page gift-with-purchase feature that appears to be threshold-based. Despite JavaScript console logs confirming the dollar threshold is met, Shopify blocks the add-to-cart action when attempting to add the gift item.

Current Status:

  • The problem seems unrelated to existing logic in the code
  • No clear cause has been identified
  • The discussion remains open with no resolution

Community Response:
A respondent noted that insufficient information was provided for troubleshooting, requesting:

  • Inspectable URLs
  • Relevant code snippets
  • Detailed reproduction steps

Multiple resources for asking technical questions effectively were shared to help the original poster provide better context for diagnosis.

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

Hey everyone,

My dev team hit a roadblock while working on improving our cart page gift with purchase setup. It seems dollar amount related - there is no logic that would prohibit it from functioning. In fact all JS console logging shows that the threshold is met, however when the add to cart is attempted, Shopify essentially blocks the add. Has anyone else ran into this and ideas to resolve it?

Thank you!

@mochris this is nowhere near enough detail for outside parties to even guess what’s wrong.

No inspectable urls, no code, no reproduction steps etc etc

https://community.shopify.com/c/blog/how-to-get-support-from-the-community/ba-p/2254458

https://stackoverflow.com/help/how-to-ask

http://www.catb.org/~esr/faqs/smart-questions.html etc etc etc