Insert 'Add to cart' Button on Search Results

Topic summary

A user running Shopify’s Dawn theme wants to add an ‘Add to cart’ button to search results pages, noting it already appears on collection pages. Screenshots illustrate the missing functionality.

Initial Solution (Posts 2-3):

  • Edit main-search.liquid file
  • Add specific code snippets at two locations
  • Include show_quick_add: true parameter
  • Original poster confirms this worked

Compatibility Issues (Posts 4-9):

  • Multiple users report the solution fails on other themes (Spotlight, Kalles)
  • Alternative suggestions include third-party apps like ‘Add to cart button ‑ Carty’, ‘GA: Sticky Add to Cart Button’, and ‘FoxCart’
  • One user finds apps visually unappealing

Updated Solution (Posts 10-14):

  • After theme updates broke the original fix, a comprehensive 5-step code implementation is shared
  • Involves editing main-search.liquid with CSS/JavaScript includes, class modifications, and parameter additions
  • Final step enables the quick add feature through theme editor settings (none/standard/bulk options)
  • Multiple users confirm successful implementation on Dawn and Crave themes
  • Status: Resolved with working code solution
Summarized with AI on October 30. AI used: claude-sonnet-4-5-20250929.

Where can I put the code on Kalles Theme? thanks