E-commerce·shopify

Shopify Custom Product Card

Build a polished, conversion-focused Shopify product card with this customizable Liquid snippet. Designed for clear product discovery, it brings together product images, titles, pricing, sale prices, ratings, availability, quantity controls, volume pricing, and quick-order features in one responsive storefront component. Shopify product data powers the card, while adaptable media ratios and theme-friendly styling help it fit naturally into collection pages, featured product grids, recommendation sections, and other online store layouts. Use this reusable product listing card to showcase sweets, baked goods, gift boxes, or any catalog item, make key buying information easy to scan, and guide shoppers from product browsing toward checkout. A practical choice for merchants looking for a responsive Shopify product card, customizable ecommerce product display, and quick order experience.

languageliquid
fileshopify-custom-product-card.liquid
lines560
#shopify#liquid#productcard#ecommerce#onlinestore#productgrid#productcatalog#productlisting#quickorder#volumepricing#productratings#responsivedesign#featuredproducts#collectionpage

source

The full code

shopify-custom-product-card.liquid
locked
1{% comment %}
2Renders a product card - Modified version for Marley's Sweets
3Includes custom design while maintaining Shopify functionality
4{% endcomment %}
5{%- unless skip_styles -%}
6{{ 'component-rating.css' | asset_url | stylesheet_tag }}
7{{ 'component-volume-pricing.css' | asset_url | stylesheet_tag }}
8{{ 'component-price.css' | asset_url | stylesheet_tag }}
9{{ 'quick-order-list.css' | asset_url | stylesheet_tag }}
10{{ 'quantity-popover.css' | asset_url | stylesheet_tag }}
11{%- endunless -%}
12
13
14{%- if card_product and card_product != empty -%}
15{%- liquid
16 assign ratio = 1
17 if card_product.featured_media and media_aspect_ratio == 'portrait'
18 assign ratio = 0.8
19 elsif card_product.featured_media and media_aspect_ratio == 'adapt'
20 assign ratio = card_product.featured_media.aspect_ratio

Unlock the full code

Enter your name & email to reveal 540 more lines

● liquid20/560 lines

Want sections like these built for you?

Custom Shopify themes, sections, and apps tailored to your brand.

hire me→