=== Vereev Badge ===
Tags: woocommerce, authentication, badge
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
WC requires at least: 8.2
WC tested up to: 10.3
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Shows the live "Authenticated by Vereev" badge on WooCommerce product pages that have a Vereev code.

== Description ==

Vereev authenticates luxury items from photos. Every Authentic item has an official record on www.vereev-ai.com with the photos Vereev reviewed.

This plugin does two things:

1. It adds a "Vereev code" field to each product, under Product data, on the General tab.
2. When that field holds an E-Result code, the product page shows the Vereev badge in the product summary, above the add to cart button.

The badge is drawn by Vereev from the live official record. It says "Authenticated by Vereev" only while the record says Authentic. Buyers tap it to open the record on www.vereev-ai.com.

One Vereev record covers one item. Put a code only on the product it describes. When you duplicate a product, the copy starts without a Vereev code.

What the plugin does not do:

* It has no settings page.
* Your server never contacts Vereev. The plugin sends nothing and makes no requests.
* The plugin itself collects nothing about you, your shop or your visitors.
* Products without a code show nothing.

On a product page with a valid code, the visitor's browser loads one small script (https://www.vereev-ai.com/badge.js) and the badge picture from www.vereev-ai.com. Like any picture loaded from another site, this sends the visitor's IP address and your shop's web address to www.vereev-ai.com. The script sets no cookies. If your privacy policy lists the outside services your shop loads, add www.vereev-ai.com.

== Installation ==

1. In WordPress admin, go to Plugins, then Add New Plugin, then Upload Plugin.
2. Choose vereev-badge-woocommerce.zip and press Install Now.
3. Press Activate.
4. Open a product. Under Product data, on the General tab, paste the item's E-Result code into "Vereev code".
5. Press Update, then open the product page to see the badge.

You need WordPress 6.3 or later and WooCommerce.

== Frequently Asked Questions ==

= Where do I find the E-Result code? =

In your Vereev Store Kit at www.vereev-ai.com/business/kit, or on the item's result in the Vereev app. It has 36 characters in five groups, like 5B0E6F0C-2A51-4C3E-9B7A-0D4C1E9F2A10.

= Can I fill the codes for many products at once? =

Yes. Store Kit can make an import file with the columns "ID" and "Meta: vereev_code". In WordPress admin, go to Products, then Import, choose the file, tick "Update existing products" and run the importer.

Not yet tested on a live store: try it with 2 products first. Check that both products show the right code and that nothing else changed before you import the rest.

= The field says the code was not saved =

The field accepts only a full E-Result code. Copy it again from Store Kit. When a code is not valid, the product keeps the code it had before.

= The badge does not appear =

Check that the plugin is active and that the code has all 36 characters. Some themes and page builders draw their own product page and leave out the place where the plugin adds the badge. On those pages, paste the item's badge from Store Kit into the product description instead.

= What happens to my codes if I delete the plugin? =

They stay on your products, in the product field "vereev_code". Nothing is deleted, so you can reinstall the plugin at any time. Products stop showing the badge while the plugin is not active.

= How do I update the plugin? =

Download the latest zip file from www.vereev-ai.com/business/guide. Upload it the same way and choose to replace the current version. Your codes stay on your products. WordPress does not offer updates for this plugin from anywhere else.

== Changelog ==

= 1.0.0 =
* First version: the "Vereev code" product field and the badge on product pages.
