WooCommerce developer in Marseille

WooCommerce for businesses in Marseille, delivered remotely by one developer.

WooCommerce developer

My place in the WordPress community

  • I have had a wordpress.org account since 2006.
  • I contributed to WordPress core for versions 7.0 and 7.1.
  • I maintain 30 plugins on wordpress.org.
  • I organise and speak at WordCamps.
  • I have attended every WordCamp Europe from 2017 to 2026.
  • Local WordPress meetup: Marseille WordPress Meetup

My WordPress.org profile

#WooCommerce developer in Marseille for shops that announce price cuts

A shop that tells a French consumer “was 80, now 60” makes a statement the law defines. Article L112-1-1 of the Code de la consommation says what the “was” price has to be, and a default WooCommerce sale does not produce it. This page covers the rule, who enforces it, and what the build has to do. It is written for English-speaking teams and international companies that sell to consumers in France, including from Marseille.

My name is Mariusz Szatkowski and I build WordPress and WooCommerce shops alone from Gdynia, remotely and in writing, since 2006. Layouts are mine to draw or yours to hand over, and I build either.

Vieux-Port of Marseille with moored boats

Image by Clément Bardot, licensed CC BY-SA 4.0, via Wikimedia Commons.

#What price must a French shop show as the old price?

The text of article L112-1-1 has two parts that matter for a shop.

  1. Every announcement of a price reduction must state the prior price, meaning the price the seller charged before the reduction.
  2. That prior price is the lowest price the seller charged all consumers during the 30 days before the reduction was applied.

Two further provisions complete it:

  • With successive reductions over a set period, the prior price is the one charged before the first reduction.
  • The rule does not apply to announcements on perishable products threatened by rapid deterioration. It also does not apply when a seller compares its prices with those of other sellers.

The article came from Ordonnance 2021-1734 of 22 December 2021, which transposed Directive 2019/2161. The ordonnance took effect on 28 May 2022.

#Is there still an arrêté on price reduction announcements?

No. The arrêté of 11 March 2015 on price reduction announcements to the consumer was repealed from 3 February 2023. The repealing act is the arrêté of 28 October 2022, published in the Journal officiel on 2 February 2023, which states that the older text no longer conformed to European law and that price reduction announcements are governed only by article L112-1-1.

This matters for old advice. Guides written before 2023 describe a regime in which the seller chose its own reference price and had to be able to justify it. Under the current text the reference is fixed by the 30-day rule, and any checklist still citing the 2015 arrêté is out of date.

#Who enforces it and what is at risk?

Three provisions of the code frame the risk.

  • Article L511-6 empowers agents of the competition, consumer affairs and fraud control administration, known as the DGCCRF, to find and record breaches of several parts of the code, including chapter II of title I of book I. Article L112-1-1 sits in that chapter, headed information on prices and conditions of sale.
  • Article L121-2, point 2, lists the promotional character of a price, “notably price reductions within the meaning of I of article L112-1-1”, among the elements whose false or misleading presentation makes a commercial practice misleading.
  • Article L132-2 punishes a misleading practice with two years in prison and a fine of three hundred thousand euros. The fine can rise to 10 percent of average annual turnover, or to 50 percent of the advertising spend. Where the offence was committed through an online communication service, the penalties are five years and seven hundred and fifty thousand euros.

The DGCCRF can also issue an injunction with a daily penalty payment under article L521-1, after hearing the seller. These are statutory ceilings. They say what the law allows, not what an inspection of a given shop would produce.

#How does WooCommerce handle a sale price?

  • A product has a regular price, a sale price and optional sale dates. The editor documentation says the sale price is the discounted price that will display, and the schedule link adds start and end dates, with the end date expiring at 11:59 pm. The REST API exposes the same fields as regular_price, sale_price, date_on_sale_from and date_on_sale_to.
  • is_on_sale() returns true when a sale price is set, the regular price is higher than it, and the current time is inside the dates.
  • Core marks a sale in two places. The wc_format_sale_price() function prints the stored regular price in a <del> element next to the sale price, and the single-product template prints a “Sale!” badge through the woocommerce_sale_flash filter.
  • Starting and ending a scheduled sale is done by a job named woocommerce_scheduled_sales, registered with Action Scheduler as a daily event starting at midnight in the site’s time offset.

Put next to the law, this gives the central point. The struck-through figure in core is the regular price, and the 30-day rule asks for the lowest price of the last 30 days. They are the same number only when the shop has not changed the price in the last month. A store that raised a price last week and then “reduced” it to the old level shows the old regular price, while the law points to the lowest recent price.

The product record also holds only current values. Nothing in the fields above keeps a record of what the price was on each of the last 30 days, so that record has to be built.

#What does the 30-day rule need from the build?

  1. A price log. Every change to a product or variation price is written to a small table: product or variation ID, the price actually charged, a timestamp. The log is written by a hook on product save, and an import or a bulk edit passes through the same hook.
  2. The right scope. The rule speaks of the lowest price charged to all consumers. A price shown only to a customer group, such as a trade price for registered B2B accounts, a coupon or a member price, is not the price charged to all consumers and stays out of the log. Which prices count is agreed with you in writing before the build.
  3. A calculated prior price. The announcement reads from the log: the lowest logged price in the 30 days before the reduction starts. During a run of successive reductions it keeps showing the price from before the first one.
  4. A different strikethrough. The price HTML is changed through the woocommerce_get_price_html filter so the struck figure is the logged prior price, and the “Sale!” badge is changed or removed through its filter. Variable products need the rule per variation, because each variation has its own price.
  5. Percent labels that match. A badge that says “minus 25 percent” must be computed from the same prior price as the struck figure, otherwise it contradicts the figure beside it.
  6. A perishable switch. Where the shop sells perishable goods, a product flag lets the announcement skip the rule under the exception in the text. The flag is yours to set, not mine.
  7. A staging test of scheduled sales. The stored price field changes when the daily job runs, while is_on_sale() compares against the current time. I test a sale that starts and ends at a date boundary on staging, with the site time zone set as in production, so what the page shows and what the cart charges agree.

#Where the rule meets a real sale calendar

SituationWhat the text saysWhat the build does
First reduction, price unchanged for 30 daysPrior price is the lowest of the last 30 days, here the current priceStrikethrough shows the current regular price
Price was raised ten days ago, then reducedPrior price is the lowest price of the 30 days, which is the older, lower oneStrikethrough shows the older lower price from the log
Second cut during the same salePrior price is the one before the first reductionLog marks the sale start and keeps that reference
Perishable product with a near expiry dateException appliesFlagged products skip the prior price line
Shop compares its price with other sellersOutside paragraph ISeparate label, with a source the shop can show

The table describes the build rules. How your commercial calendar fits them is a question for you and your adviser.

#Checklist for sale prices on a French storefront

  • Record every price change with a timestamp, for products and variations.
  • Decide in writing which prices count as charged to all consumers.
  • Show the lowest price of the last 30 days as the prior price.
  • Keep the first prior price through successive reductions.
  • Compute any percentage label from the same prior price.
  • Rework the “Sale!” badge so it does not claim more than the figure beside it.
  • Test scheduled sale start and end on staging.
  • Drop any reference to the 2015 arrêté from internal guidelines.

#What does a price-display build involve?

  1. You send the shop address, how often you run sales, which price types you use (regular, sale, trade, coupon, member), the plugins in use and your deadline. An email answer reaches you within 24 hours on working days.
  2. I write down the scope and my assumptions, with questions: which prices count, how variations behave, which products are perishable.
  3. The build starts on a staging copy. You check the price log and the displayed prior prices against test sales.
  4. After your written acceptance the new price display is published. A maintenance plan keeps the shop updated, and I recheck the price display after each WooCommerce update.

For the price-display work I need WordPress admin and hosting access. The wider WooCommerce offer is described on the WooCommerce developer page.

#Send me your shop

If your shop runs sales for French consumers, send me the shop address, how you set sale prices today, your deadline and your plugins through the contact form. The first written estimate for the price-display work is free.

See also in France

Need this service: WooCommerce developer in Marseille?

Describe your project by e-mail. I reply within 24 hours.

Describe your project

Latest WooCommerce developer articles

Nov 20, 2026

Lemon Squeezy shutting down: best alternatives

Lemon Squeezy stops processing payments on 31 March 2027. What changes when moving to Stripe Managed Payments (no license keys, digital delivery, storefront, affiliates, or PayPal subscriptions) and how to migrate to WooCommerce.

Nov 20, 2026

Countdown timers in an online shop: when are they illegal?

A fake countdown timer or a false 'only 2 left' message is on the list of practices that are always unfair in Ireland and the UK. What the Consumer Protection Act 2007 and the DMCC Act 2024 say, what the CMA did about Wowcher and Emma Sleep, and how to set up an honest timer in WooCommerce before Black Friday.

Nov 8, 2026

Legal guarantee notice in WooCommerce: Ireland rules

From 27 September 2026 an online shop selling goods to consumers in Ireland must show the EU harmonised notice on the legal guarantee, and the GARAN label where the producer offers a durability guarantee. What S.I. No. 124/2026 changes, where each element goes and how to build it in WooCommerce.

Explore other WordPress services and knowledge base