#WooCommerce developer in Seville for guarantee, returns and order history
Spain’s legal guarantee for goods is a statutory liability of the seller, not a product feature. It sits in arts. 114 to 127 bis of the Texto Refundido de la Ley General para la Defensa de los Consumidores y Usuarios, the TRLGDCU, in the version the BOE consolidated text shows after Real Decreto-ley 7/2021, de 27 de abril. The BOE notes that the change took effect on 1 January 2022. This page covers what a WooCommerce shop selling to Spanish consumers has to record and support so that a claim in year two or three can be handled with evidence.
My name is Mariusz Szatkowski. I build WooCommerce shops alone from Gdynia, remotely and in writing, and I have worked with WordPress since 2006. I can design the shop layout myself or build from your design. Legal questions go to your adviser. I build the flows and the records.

Photo: Benjamin Smith, CC BY-SA 4.0, Wikimedia Commons.
#What does the legal guarantee cover?
Art. 114 applies the title to sales of goods and to contracts for digital content or services. It excludes live animals and second-hand goods bought at an administrative auction that consumers can attend in person. The BOE text also leaves out services other than digital services, even when digital means were used to deliver them.
The test is conformity. Art. 115 says goods are conforming when they meet the subjective and objective requirements. Two parts of those requirements touch a shop build directly:
- Art. 115 bis, subjective. The goods match the description, type, quantity and quality, and have the functionality and other features set in the contract. They are fit for a specific purpose the consumer told the seller about by the time of the contract, if the seller accepted it, and they come with the accessories and instructions the contract provides.
- Art. 115 ter, objective. The goods have the durability and other qualities that goods of the same type normally have and that the consumer can reasonably expect, taking into account any public statement by the seller, or on its behalf, or by others earlier in the chain including the producer, especially in advertising or labelling. The seller is not bound by a statement if it proves it did not know and could not reasonably have known it, that it was corrected in the same or a similar way before the contract, or that it could not have influenced the decision to buy.
The second point makes the product page part of the legal record. A durability claim on a listing can become part of what the consumer was entitled to expect. For goods with digital elements, art. 115 ter(2) adds a duty to supply the updates, including security updates, needed to keep conformity.
Withdrawal within the distance-selling period is a separate regime from this guarantee. The guarantee concerns goods that do not conform to the contract.
#How long does the seller answer?
| Article | Rule | Detail |
|---|
| 120(1) | Liability period | Three years from delivery for goods, two years for digital content or services supplied in a single act or a series of acts |
| 120(1) | Second-hand goods | A shorter period may be agreed, not less than one year from delivery |
| 121(1) | Presumption | A lack of conformity that appears within two years of delivery of goods, or within one year for digital content in a single act, is presumed to have existed at delivery, unless the contrary is proved or the presumption is incompatible with the nature of the goods or the defect |
| 121(1) | Second-hand goods | A shorter presumption period may be agreed, not less than the agreed liability period |
| 122 | Suspension | Remedies to bring the good into conformity suspend the periods in arts. 120 and 121 |
| 122(3) | After repair | For one year after the conforming good is delivered, the seller answers for the defect that led to the remedy, and a repeat of defects from the same origin is presumed to be the same defect |
| 124 | Limitation | An action to enforce the title prescribes five years after the lack of conformity appears |
Two readings matter for the build. First, the three years do not run in calendar time alone, because a repair stops the clock between the hand-over and the delivery of the conforming good (art. 122(2)). Second, the presumption of two years is where most of the practical weight sits: inside it the shop, not the consumer, has to show the defect was not there at delivery.
Art. 117 lets the consumer demand, by a simple declaration, that the seller fix the lack of conformity, reduce the price or terminate the contract, and to claim damages where appropriate. The consumer may also suspend payment of any outstanding part of the price until the seller complies.
The order of remedies is set in arts. 118 and 119:
- Repair or replacement, the consumer chooses (art. 118(1)), unless one is impossible or disproportionate compared with the other.
- Free of charge (art. 118(4)(a)), including the necessary shipping, transport, labour and materials.
- Within a reasonable time after the seller is informed, and without major inconvenience to the consumer (art. 118(4)(b) and (c)).
- The consumer makes the good available and the seller collects a replaced good at its own expense in the way that causes the fewest inconveniences (art. 118(5)). The consumer pays nothing for the normal use of a good that is replaced (art. 118(7)).
- Price reduction or termination when repair or replacement is impossible or disproportionate, when it was not done in a reasonable time or properly, when a defect appears after an attempt, when the defect is serious enough, or when the seller states it will not remedy it (art. 119).
Art. 119 ter covers termination by express declaration. A minor defect does not justify it. Where only some of the goods in a contract are affected, termination can be limited to them, and for the others only when the consumer cannot reasonably be expected to keep the conforming ones only. On termination the seller refunds the price after receiving the goods or proof that they were returned, and returns are at the seller’s expense (art. 119 ter(4)). Art. 119 bis ties the price reduction to the difference between the value the goods would have had if conforming and the value of the goods actually delivered.
The producer enters in art. 125. If the consumer finds it impossible or an excessive burden to go to the seller, the consumer may claim directly from the producer, who answers for lack of conformity relating to the origin, identity or suitability of the goods.
#What must the WooCommerce order history show?
The BOE does not mention WooCommerce, so this list is my reading of the articles as shop tasks.
WooCommerce core stores a created date, a paid date and a completed date on every order. They are fields on the order class with their own getters. None of them is a delivery date. Art. 123(1) says that, unless proved otherwise, delivery is deemed to take place on the day on the invoice or purchase receipt, or on the delivery note if that is later. So the shop needs a delivery date of its own:
- Delivery date per order. Taken from the carrier’s confirmation where the integration provides it, or entered by hand. It is what starts the three-year and two-year clocks in the shop’s own records.
- Invoice number and date on the order, because the invoice date is the default under art. 123(1).
- Order lines with the product and variation, so a claim attaches to the item and not to a whole basket. WooCommerce order items carry a product ID and a variation ID.
- A dated snapshot of the product text at the time of the order, written onto the order by the build. Art. 115 ter makes statements in advertising and labelling part of the conformity test, so the text the customer saw is the evidence.
- Condition of the good. New or second-hand, with the agreed liability period for second-hand goods, never below one year.
Retention follows from art. 124 and the periods above. How long to keep each record is a decision for you and your adviser. The build can store the dates and deletion rules per order.
#What must the claims and returns flow capture?
Nothing in WooCommerce core is a guarantee case. Core has refunds, created through wc_create_refund() in wc-order-functions.php, with an amount and a reason. A guarantee claim is a record that sits next to the order, per order line:
- Date the consumer reported the defect, a description and any photos.
- The remedy asked for: repair, replacement, price reduction or termination.
- Hand-over receipt. Art. 123(2) requires the seller to give documentary proof of the hand-over, with the date of delivery and the lack of conformity that triggers the claim. The build generates it as a PDF and attaches it to the claim email.
- Return receipt. Art. 123(2) also requires proof of the delivery of the conforming good, with the date and a description of the corrective measure carried out.
- Clock fields. Delivery date, suspension start (hand-over), suspension end (return of the conforming good), and the resulting remaining time. The one-year repeat-defect window of art. 122(3) opens on the return date.
- Outcome. Repaired, replaced, partial refund as price reduction, or refund on termination. A refund on termination goes through
wc_create_refund() per line, so partial termination under art. 119 ter(3) is a line-level refund and not a whole-order refund. - Cost log. Shipping, transport, labour and materials, because the remedies are free for the consumer under art. 118(4)(a).
Status names in the admin are plain Spanish: reported, received, in repair, returned, closed. Each change of status can send the customer a templated email, so the record also exists on the customer’s side.
#What about commercial guarantees and spare parts?
If you or a producer offer a commercial guarantee on top, art. 127 applies. It binds the guarantor under the guarantee statement and the associated advertising available at or before the contract. If the document is less favourable than the advertising, the advertising version applies unless it was corrected before the contract. The statement must be given on a durable medium at the latest when the goods are delivered, at least in Castilian, and must contain:
- A precise statement that the consumer has the free remedies against the seller and that the commercial guarantee does not affect them.
- The guarantor’s name and address.
- The procedure the consumer follows to use the guarantee.
- The goods the guarantee covers.
- The conditions, including duration and territorial scope.
In the build that is a PDF template generated per order and attached to the order email, plus a copy in the customer account, with the fields filled from the product.
Art. 127 bis(1) puts the duty to ensure an adequate technical service and spare parts for at least ten years after the good stops being manufactured on the producer. A shop that is also the producer, for example one that sells its own brand, carries that duty and needs the manufacturing end date per product. Art. 127 bis(2) forbids raising spare part prices when they are used in repairs, and says the price list for spare parts and other services must be available to the public and itemised on the invoice. Art. 127 bis(3) sets a one-year limitation on the right to recover goods handed over for repair.
#Checklist for a Spanish WooCommerce guarantee setup
- Store a delivery date per order and keep the invoice number and date with it.
- Keep a dated copy of the product text and claims shown at the time of the order.
- Mark second-hand goods and store the agreed liability period, never below one year.
- Capture defect reports per order line, with date, description and photos.
- Generate a hand-over receipt and a return receipt that carry the dates and the defect or measure.
- Track the suspension between hand-over and return of the conforming good.
- Open a one-year repeat-defect window when the conforming good is returned.
- Refund per line on termination, and use partial refunds for price reductions.
- Log shipping, transport, labour and materials per claim.
- Attach any commercial guarantee statement to the order email on a durable medium, in Castilian.
- Keep the manufacturing end date per product if you sell your own brand.
#How does a guarantee flow build run?
- You send the shop address, the product types you sell, whether you sell second-hand goods, who repairs, the carriers you use, your deadline and your plugins. You get my written reply within 24 hours on working days.
- I write down the scope and my assumptions, with questions: where delivery confirmations come from, which statuses you use, who writes the receipts, how long records are kept.
- I build on a staging copy, and you run test claims from report to closure.
- After your written acceptance the shop goes live with the claim flow. A maintenance plan can keep the shop updated and recheck the claim flow and the receipts after each update.
I need admin access to WordPress and hosting, your invoice and shipping integrations, and your current returns policy text. The WooCommerce developer page describes the rest of the WooCommerce work.
#Send me your shop
If your Seville shop sells goods to Spanish consumers and needs a claims flow, a delivery date on the order or a guarantee statement, send me the shop address, the product types, your deadline and your plugins through the contact form. You get a first written estimate for the claims flow at no charge.