Compare
In Shopify, the Compare feature is used to let customers compare multiple products side by side — helping them make better purchase decisions.
Why We Use Compare in Shopify
Helps Customers Make Informed Decisions: Shoppers can view important details (like price, size, color, features, and specifications) of multiple products at once to decide which one suits them best.
Improves User Experience: The compare tool makes it easier for customers to analyze product differences without switching between pages again and again.
Increases Conversions: When customers clearly see which product fits their needs, they are more confident to buy — reducing hesitation and improving sales.
Highlights Product Features: Perfect for stores that sell electronics, furniture, fashion, or beauty products — where features and specs matter a lot.
Reduces Product Confusion: Helps customers quickly understand differences between similar products, which reduces return rates and decision fatigue.

Steps to Create a Compare Page in Shopify
Go to your Shopify Admin.
Click on Online Store → Pages.
Click the Add Page button.
In the Title field, type Compare.
On the right side, go to the Theme Template section.
From the dropdown, select the template:
pages/compareClick Save.
Steps to Create and Set Up a Compare Page Template in Shopify Code side
Go to your Shopify Admin.
Click on Online Store → Themes.
Find your current theme and click Edit Code.
In the left sidebar, open the Templates folder.
Click Add a new template.
In the popup, select:
Type:
pageName:
compareThis will create a new file named
page.compare.json.
Add your compare page code inside this file (if your theme includes a compare section, add it here).
Click Save.



Last updated