I would like the search results page to have an Add to Cart button under each item. All of my collections have the Add to Cart button enabled but if I search and do not select a collection there is no Add to Cart button.
@joanyeb This is expected behavior in most Shopify themes the search results template is separate from collection templates, so the “Add to cart” setting doesn’t automatically apply there.
What usually fixes it:
The theme needs to support Add to Cart on search results (many don’t by default).
You’ll need to edit the search results template/section and add a product form (same logic used in collection cards).
Some themes expose this as a hidden setting; others require a small Liquid change.
There isn’t a native Shopify toggle for this, it’s theme-level functionality.
This is a theme limitation, not a collection setting.
Your search results template doesn’t include the product form / Add to Cart button. You’ll need to edit your theme (e.g. main-search.liquid or search.json) and add the same product card code used in collections, or enable it in Theme Settings → Product cards if your theme supports it.
Thank you for the information. Unfortunately, I have not been able to modify the product-card in main-search.liquid to show the Add to Cart button. Below is from main-search.liquid and I think the modification should be in the {% render ‘card-product’ area?
The 2 differences being card_product: item in the main-search.liquid file vs.card_product: product in main-collection-product-grid.liquid and the additional lines quick_add: section.settings.quick_add, section_id: section.id in main-collection-product-grid.liquid.