=== GaranDB.eu – EU legal guarantee notice & GARAN label ===
Contributors: garantool
Tags: woocommerce, guarantee, warranty, eu, consumer law
Requires at least: 5.8
Tested up to: 6.9
Requires PHP: 7.4
WC requires at least: 6.0
WC tested up to: 10.2
Stable tag: 2.0.2
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Loads the GARAN script on your shop. The EU legal-guarantee notice link and the GARAN label are placed and customised from your free GARAN account.

== Description ==

GaranDB.eu helps EU shops meet the consumer-information requirements on guarantees:

* **Legal-guarantee notice** – a link that opens the official EU harmonised notice about the legal guarantee of conformity, in the visitor's language.
* **GARAN label** – the EU GARAN durability-guarantee label, shown next to a product when the producer's commercial guarantee exists in the GARAN database. When there is no match, nothing is shown (fail-safe).

The plugin does one thing: it loads the GARAN embed script (`https://garandb.eu/embed/garan.js`, deferred) on every page, with an on/off switch. Everything else is set up in your GARAN account:

1. **Install the plugin** – done once.
2. **Add your shop** to your free GARAN account at https://garandb.eu.
3. **Place and customise the GARAN label** – with the visual picker, choose where the legal-guarantee link and the GARAN label appear on your product page, then set colours, font and badge size. The label reads the brand and model from the product data of the page. Changes go live without updating the plugin.

= Privacy =

The plugin makes no server-side HTTP requests. Visitors' browsers load the GARAN script from https://garandb.eu; the script sets no cookies.

== Installation ==

1. Plugins → Add New → Upload Plugin and choose the zip, then activate “GaranDB.eu”.
2. Settings → GaranDB.eu → “Add & customise in my GARAN account”.

== Frequently Asked Questions ==

= Where are the settings for position, colours and the label? =

In your GARAN account (My sites), not in the plugin: they work the same on every platform and change on your shop right away.

= How do I remove the link and the label temporarily? =

Settings → GaranDB.eu → untick “Load the GARAN script on my shop”.

= Does it slow down my site? =

The script is small and loaded with `defer`, so it never blocks page rendering.

= Developers =

Filter: `garan_tool_origin`.

== Changelog ==

= 2.0.2 =
* The service is now called GaranDB.eu; texts updated, no functional change.

= 2.0.1 =
* The GARAN service moved to garandb.eu; the plugin loads the script from the new domain.

= 2.0.0 =
* The plugin now only loads the GARAN script, with an on/off switch. Positions, the GARAN label and the appearance are set in the GARAN account (visual picker). Product-page options and shortcodes were removed.

= 1.1.0 =
* “Customise the appearance” button in the settings page.

= 1.0.0 =
* First release.
