Advanced metafield-driven product comparison system for Shopify themes.
Built for modern ecommerce stores that want:
- better product discovery
- feature comparison
- improved buying decisions
- premium storefront UX
Compatible with:
- Shopify OS 2.0
- Dawn theme
- Most modern Shopify themes
This project is a fully custom:
for Shopify stores.
Customers can:
- compare multiple products
- compare pricing
- compare specifications
- compare custom metafields
- persist compared products while browsing
without requiring external Shopify apps.
A floating compare tray appears while customers browse products.
Users can:
- add products to compare
- remove products
- quickly access comparison page
Customers can compare:
- Product title
- Product image
- Pricing
- Material
- Weight
- Dimensions
- Warranty
- Custom metafields
The system uses:
localStorageto persist compared products even after:
- page refresh
- navigation
- collection browsing
Instead of hardcoded specifications, the system uses Shopify product metafields.
This makes the system:
- scalable
- reusable
- admin-friendly
Most Shopify comparison apps:
- increase monthly app costs
- reduce flexibility
- slow down storefront performance
This project demonstrates how to build:
using native Shopify architecture.
- Sticky compare bar
- Compare page
- Compare multiple products
- Compare metafields
- Persistent compare storage
- Mobile-friendly structure
See detailed setup guide:
docs/setup.md
This project uses:
| Metafield | Purpose |
|---|---|
| custom.material | Product material |
| custom.weight | Product weight |
| custom.dimensions | Product dimensions |
| custom.warranty | Product warranty |
Planned upgrades:
In Next version i will show how to make this fully dynamic using Metaobjects + Metafields. Instead of hardcoded fields like Material, Weight, or Warranty, the comparison engine can dynamically detect metafields so merchants can add/remove specs or create new attributes without editing code — turning it from a simple widget into a scalable comparison engine.