Setting prices & sales
How to set product prices, create sale prices with compare-at pricing, and run discounts in your Shopify store.
- Difficulty
- Beginner
Pricing your products correctly is essential. Shopify gives you flexible tools to set regular prices, show sale prices, and create discount codes — all without touching any code.
Quick summary
Set the regular price in the Price field on any product. To show a sale, enter the original, higher amount in the Compare-at price field; depending on your theme, both prices can then show on the product page. For sitewide or code-based discounts, use the Discounts section in your admin.
How to set a product price
Open the product you want to price. Go to Products and click the product name.
Scroll to the Price section.
Enter your price in the Price field. This is what customers pay at checkout.
Click Save.
If your product has variants, each variant has its own price. You set these in the Variants section of the product page, or on each variant's own page. For example, a larger size might cost more than a smaller one.
Showing a sale price (compare-at pricing)
Shopify's "compare-at price" is the original full price, shown alongside the lower sale price. Whether and where it appears on your storefront depends on your theme, which might also add a sale badge. Checkout shows only the sale price.
Open the product and scroll to the Price section. On a computer, click Compare at to show the field.
Enter the sale price in the Price field (the amount customers will actually pay).
Enter the original higher price in the Compare-at price field. It must be higher than the Price, or the sale price won't display. Your theme decides how it looks on the product page.
Click Save. If your theme displays sale prices, the product now shows as on sale.
To end the sale, clear the Compare-at price field completely and save again. A compare-at price of 0.00 is not the same as an empty field.
Be accurate with compare-at prices
Only use compare-at prices for genuine reductions from a price you have actually sold at. Inflated compare-at prices are misleading to customers and may violate consumer protection rules in some countries.
The Cost per item field
There is also a Cost per item field in the Price section. It records what the product costs you, for your own records, and isn't a price customers pay. When you fill it in, the product page shows your projected profit and margin, and Shopify's reports can use it to analyse your costs and margins.
Creating discount codes
Discount codes let customers enter a code at checkout to get a percentage off, a fixed amount off, a buy X get Y deal, or free shipping.
Go to Discounts in the left menu of your Shopify admin.
Click Create discount.
Choose the discount type: Amount off products, Amount off orders, Buy X get Y, or Free shipping.
Give the discount a code. Under Method, make sure Discount code is selected, then type a code (e.g. SUMMER20) or click Generate code to get a random one.
Set the value — for example, 20% off or $10 off.
Set any conditions — a minimum purchase amount or quantity, specific products or collections, or a limit on how many times it can be used.
Set active dates if you want the discount to start and end automatically.
Click Save.
Automatic discounts
Automatic discounts apply in the cart and at checkout without the customer needing to enter a code. For example, "spend $100, get 15% off." The setup process is the same as discount codes — under Method, choose Automatic discount instead of Discount code. You can have up to 25 active automatic discounts at a time.
Bulk price changes
Shopify has a built-in bulk editor. In Products, select the products you want to change and click Bulk edit. Use Columns to add fields such as price and compare-at price, make your changes, then click Save. For large or complicated updates, ask us — we can often do bulk updates quickly.
Common questions
Can I schedule a sale to start and end automatically?
Yes, for discounts. When creating a discount code or automatic discount, set the start date in Active dates, then click Set end date to choose when it ends. Compare-at prices stay in place until you change them, so for those you would update them manually (or use an app).
Does Shopify charge me extra for offering discounts?
Shopify doesn't list any separate fee for running discounts. Payment processing fees apply to the discounted amount the customer actually pays.
Can I offer free shipping as a discount?
Yes — create a Free shipping discount code or automatic discount in the Discounts section. You can set a minimum purchase amount or a minimum number of items if you only want to offer it on larger orders.
Can different customers get different prices?
Partly. Shopify B2B is available on the Basic, Grow, Advanced, and Plus plans, but assigning price catalogs directly to specific companies (customer-level pricing) is a Shopify Plus feature. Every plan can set different prices for different countries or regions. For most stores, discount codes limited to specific customers are the closest alternative.
Related guides
- How to add a product
- Product variants (size, color, options)
- Managing stock & inventory
- Shopify plans & billing
- Troubleshooting Shopify problems
Need a hand?
Learn more
Last updated
Managing stock & inventory
How to track stock levels, update quantities, and set up inventory management in Shopify so you never accidentally oversell.
Organizing products into collections
How to create and manage Shopify collections so customers can browse your products by category, season, or any grouping you choose.