I also need a minimal product promotion, where i select a product and relevant data like…
- User
I also need a minimal product promotion, where i select a product and relevant data like the price is pre filled and a link to the full product page is displayed. it should also catch the users attention
- Assistant
Here's a clean, attention-grabbing minimal product promotion section that automatically pulls product details. Save this as
minimal-product-promotion.liquidin your sections folder:{% comment %} Minimal Product Promotion Section Features: - Select any product from your store - Automatically displays product title, price and image - Attention-grabbing design with subtle animation - Link directly to product page {% endcomment %} <style> .minimal-product-card { position: relative; max-width: 400px; margin: 0 auto; padding: 25px; border-radius: 12px; background: {{ section.settings.bg_color | default: '#ffffff' }}; box-shadow: 0 10px 30px rgba(0,0,0,0.08); text-align: center; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); overflow: hidden; } .minimal-product-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.12); } .minimal-product-card__badge { position: absolute; top: 20px; right: -30px; background: {{ section.settings.accent_color | default: '#ff3b30' }}; color: white; padding: 6px 30px; transform: rotate(45deg); font-size: 12px; font-weight: 600; letter-spacing: 1px; } .minimal-product-card__image { position: relative; padding-bottom: 80%; margin-bottom: 25px; } .minimal-product-card__image img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s ease; } .minimal-product-card:hover .minimal-product-card__image img { transform: scale(1.05); } .minimal-product-card__title { font-size: 1.4rem; margin-bottom: 12px; color: {{ section.settings.text_color | default: '#333333' }}; } .minimal-product-card__price { display: block; font-size: 1.6rem; font-weight: 700; margin-bottom: 20px; color: {{ section.settings.price_color | default: '#000000' }}; } .minimal-product-card__price s { font-size: 1rem; color: #999; margin-right: 8px; } .minimal-product-card__button { display: inline-block; padding: 14px 35px; background: {{ section.settings.button_bg | default: '#000000' }}; color: {{ section.settings.button_text | default: '#ffffff' }}; text-decoration: none; border-radius: 50px; font-weight: 600; letter-spacing: 0.5px; transition: all 0.3s ease; position: relative; overflow: hidden; z-index: 1; } .minimal-product-card__button:before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: rgba(255,255,255,0.1); transition: all 0.4s ease; z-index: -1; } .minimal-product-card__button:hover:before { left: 0; } .minimal-product-card__button:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); } @media (max-width: 480px) { .minimal-product-card { padding: 20px; } .minimal-product-card__title { font-size: 1.2rem; } .minimal-product-card__price { font-size: 1.4rem; } } </style> <div class="minimal-product-card"> {% if section.settings.show_badge %} <div class="minimal-product-card__badge">{{ section.settings.badge_text }}</div> {% endif %} <div class="minimal-product-card__image"> {% if section.settings.product != blank %} {% assign product = section.settings.product %} {{ product.featured_image | image_url: width: 500 | image_tag: loading: 'lazy', alt: product.title }} {% else %} {{ 'product-1' | placeholder_svg_tag: 'placeholder-svg' }} {% endif %} </div> <h3 class="minimal-product-card__title"> {% if section.settings.product != blank %} {{ product.title }} {% else %} Featured Product {% endif %} </h3> <span class="minimal-product-card__price"> {% if section.settings.product != blank %} {% if product.compare_at_price > product.price %} <s>{{ product.compare_at_price | money }}</s> {% endif %} {{ product.price | money }} {% else %} $49.99 {% endif %} </span> <a href="{% if section.settings.product != blank %}{{ product.url }}{% else %}#{% endif %}" class="minimal-product-card__button"> {{ section.settings.button_text }} </a> </div> {% schema %} { "name": "Minimal Product Promotion", "settings": [ { "type": "product", "id": "product", "label": "Select Product" }, { "type": "text", "id": "button_text", "label": "Button Text", "default": "Shop Now" }, { "type": "checkbox", "id": "show_badge", "label": "Show Promo Badge", "default": true }, { "type": "text", "id": "badge_text", "label": "Badge Text", "default": "POPULAR" }, { "type": "color", "id": "bg_color", "label": "Card Background", "default": "#ffffff" }, { "type": "color", "id": "text_color", "label": "Text Color", "default": "#333333" }, { "type": "color", "id": "price_color", "label": "Price Color", "default": "#000000" }, { "type": "color", "id": "accent_color", "label": "Badge Color", "default": "#ff3b30" }, { "type": "color", "id": "button_bg", "label": "Button Background", "default": "#000000" }, { "type": "color", "id": "button_text", "label": "Button Text", "default": "#ffffff" } ], "presets": [ { "name": "Minimal Product Promotion", "category": "Product" } ] } {% endschema %}Key Features:
-
Automatic Product Integration:
- Select any product from your store
- Automatically displays product title, price, and image
- Shows sale price if product is on sale
-
Attention-Grabbing Elements:
- Animated "Popular" badge ribbon
- Subtle hover animations on card and button
- Clean card design with shadow effects
- Product image zoom effect on hover
-
Customization Options:
- Toggle promotional badge
- Customize badge text
- Full color control for all elements
- Responsive design for all devices
-
Visual Hierarchy:
- Clear price emphasis
- Prominent CTA button
- Clean typography with proper spacing
- Visual feedback on interactions
How to Use:
- Save as
minimal-product-promotion.liquidin your sections folder - Add to templates with
{% section 'minimal-product-promotion' %} - Select a product in theme editor
- Customize colors and text as needed
Recommended Placement:
- Homepage featured section
- Product page cross-sell
- Collection page promotions
- Blog sidebar
- Cart page recommendations
The design uses subtle animations and visual cues to draw attention without being overwhelming. The badge creates urgency while the hover effects encourage interaction. The card layout works well in both wide and narrow content areas.
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.