A Shopify store that shows a crossed-out price to Italian customers announces a price reduction, and Italian law has a rule for that. I am Mariusz Szatkowski, a developer in Gdynia who builds Shopify stores remotely and in writing. I am not a lawyer. For this topic the shop owner and the shop’s adviser decide the legal position, and I build the setup that stores the prices and shows them the way the decision requires.

Photo: Krzysztof Golik, CC BY-SA 4.0, Wikimedia Commons.
#What does article 17-bis of the Codice del consumo require?
Article 17-bis is titled “Annunci di riduzione di prezzo” on Normattiva. It was inserted into the Codice del consumo (D.Lgs. 206/2005) by D.Lgs. 7 March 2023 n. 26, published in the Gazzetta Ufficiale n. 66 of 18 March 2023. The decree entered into force on 2 April 2023.
The core is in two commas:
- Comma 1: every announcement of a price reduction states the prior price the trader applied.
- Comma 2: the prior price is the lowest price the trader applied to consumers generally in the 30 days before the reduction.
The rule is about the announcement. A storefront that shows an old price crossed out next to a new one tells the customer that the price went down. That is the situation the article describes, whatever the theme calls the element.
The other commas set the edges:
| Comma | What it covers |
|---|
| 3 | Comma 2 does not apply to perishable agricultural and food products named in D.Lgs. 198/2021 |
| 4 | Products on the market for less than 30 days: the announcement states the period the prior price refers to |
| 5 | A continuous campaign with progressively larger reductions: the 30 day rule applies to the first reduction, later ones refer to the price before the first |
| 6 | The article also applies to the normal sale price shown during clearance sales under D.Lgs. 114/1998, but not to below-cost sales |
| 7 | Violations carry an administrative fine under article 22 comma 3 of D.Lgs. 114/1998 |
Normattiva adds an update note about timing. The comma 2 rule applies to promotional campaigns from the 90th day after the decree entered into force. That date has passed, so a campaign you run now is inside the rule.
#Who enforces it, and what does the AGCM say?
Article 17-bis comma 7 names the fine and refers to D.Lgs. 114/1998. Normattiva’s text does not name which office applies it, so I do not claim one for the fine itself.
The Autorita garante della concorrenza e del mercato is the enforcer for unfair commercial practices. Article 27 of the Codice del consumo gives it that role, and the AGCM’s own page describes its job as protecting consumers against all unfair commercial practices of businesses. The same page says sanctions can reach 10 million euro. Article 27 comma 9 puts the range at 5,000 to 10,000,000 euro, and Normattiva carries an update note about a lower cap in certain regulated sectors, so check the current text before you quote a number.
The link to price claims runs through article 21. Comma 1 letter d lists the price, the way it is calculated, or the existence of a specific price advantage among the elements that make a practice misleading. A practice also has to cause or be likely to cause a decision the consumer would not otherwise make. So a discount claim that misstates the earlier price is a candidate for both rules: the specific announcement rule and the general misleading practice rule. I write “candidate” on purpose. Whether a particular banner is misleading is a legal judgement for your adviser.
#What does Shopify give you for a reduced price?
Shopify’s help page on sale pricing describes the mechanism:
- In the product’s price section you enter the original price in Compare-at price and the new price in Price.
- The compare-at price has to be higher than the price for the sale price to display.
- The theme controls whether and where sale prices appear. Both prices can show on product and collection pages, often with a sale badge.
- Sale prices and discounts are different things. Only the sale price displays at checkout, while automatic discounts and code discounts always show a crossed-out price at checkout.
- Fixed prices, which markets can have, override the prices and compare-at prices set in the admin.
In Liquid the same data reaches the theme. Shopify’s documentation defines variant.compare_at_price as the compare-at price of the variant, and product.compare_at_price as the lowest compare-at price of any variant. There is also product.compare_at_price_varies for products whose variants differ.
Two things follow from this for a store that sells in Italy:
- The field is called compare-at, not prior price. Nothing in Shopify ties the number you type to the 30 day definition. An old list price, a manufacturer’s recommended price and the lowest price of the last 30 days are three different numbers, and the field accepts any of them.
- Shopify’s Admin API documents
price and compareAtPrice for a product variant and no price history field. The page lists an events log kept for one year, and it does not say that the log records price changes. If the law asks you to know the lowest price of the last 30 days, the record has to come from you.
#How should the store handle prices and campaigns?
This is the engineering side, and the decisions behind it are for you and your adviser. A setup I would build for an Italian store has these parts:
- A price log outside the editable field. Every price change on every variant writes a line with the variant, the price, the date and the time. It can be an export you run before each campaign or a small app on your own Shopify store that listens to product update webhooks. The log answers one question: what was the lowest price in the 30 days before today.
- A rule for what goes into compare-at. The person who prepares a campaign gets the lowest 30 day price from the log and types that figure. A reduction that starts from an older, higher list price needs a decision on how it is shown, and I raise it in writing rather than guess.
- Display in the theme. The strikethrough and the sale badge appear only when compare-at is set and higher than the price. For a product under 30 days old, the theme can show the period that comma 4 asks for as a short line near the price. For multi-step campaigns the compare-at stays at the pre-campaign price, which fits comma 5 as written.
- Markets. A fixed price in a market overrides the prices set in the admin, and CSV import has market-specific compare-at columns. A shop that sells in several markets needs the log per market, because a price in euro for Italy is a different price than one set for another market.
- Bulk changes. Shopify’s product CSV has a compare-at column and updates existing products when handles match. A bulk import is the quickest way to put a wrong compare-at price on a hundred products, so the import goes through the same check as a manual edit.
- A campaign end. When a campaign ends, compare-at is cleared. A forgotten compare-at price keeps a reduction announcement on the page.
Whether the log is enough for your products, whether perishable goods fall under comma 3, and how a launch price is shown under comma 4 are questions for your adviser.
#Checklist for an Italian Shopify store
- List every place a crossed-out price appears: product pages, collection cards, search results, cart, emails, ads.
- Check what number the team currently types into compare-at.
- Start a price log per variant and per market, with dates.
- Decide in writing how new products under 30 days old are shown.
- Decide how campaigns with steps are announced.
- Clear compare-at on the day a campaign ends.
- Check that automatic discounts and code discounts show the price you expect at checkout.
- Read article 17-bis again on Normattiva before each large campaign, because the text can be amended.
#How does a project run?
- You send the store URL, the markets you sell to, the apps in use and your campaign dates. My email reply to that list follows within 24 hours on working days, with the questions about your campaigns.
- I list the places that show prices and the way compare-at is filled today, and I send my questions in writing.
- Scope and assumptions go into a written document, with the price rules you chose, and you approve it before I start.
- I build on a development theme with a preview link, using your design or one I draw for the price display.
- Once you accept in writing I publish the price changes, and a maintenance plan can cover theme and app updates after launch.
I need staff access to the Shopify admin and the list of campaigns planned for the next months. The general Shopify work is described on the Shopify developer page. If your store is on WooCommerce, the same questions apply and the WooCommerce developer page covers that platform.
#Send me your store
If your Rome store runs sales or shows crossed-out prices to Italian customers, send me the store URL, the markets you sell to, the apps in use and your next campaign dates through the contact form. Whether a given announcement complies is for you and your adviser to decide, and I build the price log and the display that follow from that decision.