=== Kit Conformitate RO ===
Contributors: dontknow07
Tags: woocommerce, romania, anpc, retragere, omnibus
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Romanian shop compliance kit for WooCommerce: online withdrawal function, ANPC SAL pictogram, legal guarantee notice, 30-day lowest price, GPSR.

== Description ==

Kit Conformitate RO puts the display duties of a Romanian online shop into one free plugin. Each feature is a separate module that you can switch off under *WooCommerce > Kit Conformitate RO*. On a site in Romanian, every customer-facing text is in Romanian.

* **Online withdrawal function** (art. 11^1 OUG 34/2014, added by OUG 18/2026, applies from 19 June 2026). A "Retrageți-vă din contract aici" button appears next to each order in My Account > Orders while the withdrawal window is open. A short form asks only for the name, the order and the e-mail for the confirmation, and is sent with a "Confirmați retragerea" button. The customer gets an e-mail receipt with the full statement and the date and time it was sent; the shop gets a copy. Requests are listed in the admin and noted on the order. Guests use a public page (shortcode `[kcro_retragere]`).
* **ANPC SAL pictogram** (art. 2 Ordin ANPC 449/2022, as amended by Ordin ANPC 270/2026). The official image published by ANPC, shown at 250 x 50 px and linked to https://reclamatiisal.anpc.ro, in the footer of every page or of the home page only (shortcode `[kcro_sal]`). There is no SOL/ODR link: that EU platform was abolished by Regulation (EU) 2024/3228.
* **Legal guarantee notice** (art. 22^1 OUG 34/2014; annex I to Implementing Regulation (EU) 2025/1960, applies from 27 September 2026). The official Romanian colour notice, unedited, as a product tab or under the add-to-cart button on physical products (shortcode `[kcro_garantie]`).
* **Lowest price in the last 30 days** on price reductions (art. 4^1 HG 947/2000). The plugin keeps a price history and shows the prior price on products on sale, with the special cases: 10 days for perishable goods, a shorter period for products on sale for less than 30 days, and the price before the first step of a stepped campaign. Optionally the prior price becomes the crossed-out price (CJEU case C-330/23), and the "Sale" badge is hidden when the price is not below the prior price. Works with classic and block themes.
* **Product safety information (GPSR)** (art. 19 Regulation (EU) 2023/988). Manufacturer name, postal and e-mail address, the EU responsible person, the product identifier and warnings, per product or with shop-wide defaults for an own brand (shortcode `[kcro_gpsr]`).
* **Accessibility statement** (art. 13 and annex 5 of Law 232/2022). Answer a few questions and the plugin creates the statement page (shortcode `[kcro_accesibilitate]`). The statement only says what you ticked; it does not test your site.
* Romanian and English. No tracking, no external requests, no ads, no paid tier. The official images ship inside the plugin and are not loaded from other sites.

= Not legal advice =

This plugin is a technical tool. It is not legal advice and does not guarantee that a shop complies with any law. Your terms, return policy, prices, product data and accessibility statement remain your responsibility. Ask a lawyer about your own situation.

= Free shop check =

Want to see what else your shop needs under OUG 18/2026? Free check (in Romanian): [verificare magazin OUG 18](https://conformitate-ro.pages.dev/).

== Installation ==

1. Install and activate the plugin (WooCommerce must be active).
2. Open *WooCommerce > Kit Conformitate RO*, switch off the modules you do not need and fill in each module's settings.
3. Withdrawal: check the window length and the shop e-mail. Mention in your terms or return policy where the withdrawal function is (art. 6(1)(h) OUG 34/2014).
4. GPSR: fill in the "Product safety" tab of each product, or the defaults for your own brand.
5. Accessibility: answer the questions and press "Create the accessibility statement page".
6. Send a test withdrawal on a test order and check that both e-mails arrive. Use an SMTP plugin if your server does not deliver mail reliably.

== Frequently Asked Questions ==

= Since when is the prior price known? =

The plugin records prices from the day it is activated. It cannot know older prices, so it shows a prior price only for reductions it has seen start. The start date is shown on the settings page.

= When does the withdrawal window start and end? =

WooCommerce does not know the day the courier hands over the parcel. The window starts when the order is marked Completed and lasts the number of days you set (minimum 14). Before that the button is always shown. If you mark orders Completed when they ship, add your usual delivery time.

= Why does the SAL pictogram have white margins? =

The file published by ANPC is 201 x 50 px, while the order asks for 250 x 50 px. The plugin centres the official image on a 250 x 50 px white canvas instead of stretching it.

= Does the plugin refund the order? =

No. It records the statement and sends the confirmations. You handle the return and the refund as usual.

= Does it send data anywhere? =

No. There are no external requests. Withdrawal statements and the price history stay in your WordPress database, and e-mails are sent through WordPress (`wp_mail`).

= Can I use only some modules? =

Yes. Each module can be switched off; a module that is off loads nothing on the site.

== Screenshots ==

1. The "Retrageți-vă din contract aici" button in My Account > Orders.
2. The withdrawal form with "Confirmați retragerea".
3. The prior price (lowest in the last 30 days) on a product on sale.
4. The "Garanția legală" tab with the harmonised notice.
5. The settings page with the modules.

== Credits ==

* Harmonised notice: annex I to Commission Implementing Regulation (EU) 2025/1960, Official Journal of the EU (reuse allowed with acknowledgement of the source, © European Union).
* SAL pictogram: annex 2 to Ordin ANPC 449/2022, file published free of charge by ANPC on anpc.ro.

== Changelog ==

= 1.0.0 =
* First release: withdrawal function, SAL pictogram, legal guarantee notice, 30-day prior price, GPSR, accessibility statement.
