Shopify themes, liquid, logos, and UX
Hello everyone 🙂
Actually, I'm using the Focal theme and have added a featured collection section to the store. On some products, it shows "Quick view," and on others, it shows "Add to cart." Can anyone provide me with the code to make the featured collection and collection page only display "Quick view" instead of "Add to cart"? Thank you in advance
Here is the preview store URL: https://www.shopkollekt.com/?_ab=0&_fd=0&_sc=1&preview_theme_id=172489933096
Hello, Rukhsana, since Focal is a paid theme, I don't have access to it, but it would take you to check in the code what are the conditions that need to be met in order for a product in the "featured collection" section to choose between displaying "quick view" or "add to card" actions.
The difference here is that "Add to cart" is shown for product which has no options (only one variant), and "Quick view" is when product has several variants.
So, somewhere in the product card snippet should be a check -- probably can fiddle with this one. Unfortunately, as already said it's hard to suggest code edits for paid themes.
Some themes also have a switch to control this -- whether it should show "add to cart" button (where possible) or "quick view".
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025