=== Konfiguratorius Product Feed ===
Contributors: konfiguratorius
Tags: woocommerce, xml, product feed, price comparison
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Exports your WooCommerce catalog as a secure XML feed for the Konfiguratorius price-comparison platform (konfiguratorius.lt / .lv / .ee / .pl).

== Description ==

Konfiguratorius is a PC-builder and price-comparison platform for the Baltic and
Polish markets. Shoppers configure a PC, compare prices across shops, and click
through to buy directly on YOUR site - you keep the customer and the sale.

This plugin adds a single, token-protected XML feed endpoint to your shop:

`https://your-shop.example/?konfig_feed=1&token=SECRET`

Konfiguratorius fetches this feed periodically (every 15–60 minutes) to keep
your prices and stock up to date. Nothing is pushed from your site and no code
runs outside this feed request.

**What is exported** - public product data only:

* product name, category, image URL
* EAN/GTIN barcode, manufacturer part number (MPN), SKU, brand
* price including VAT, currency
* stock status / quantity
* the product page URL on your shop

**What is NOT exported:** customers, orders, coupons, cost prices, or any other
private data. The feed is only readable with the secret token generated for
your shop.

The plugin auto-detects EAN/GTIN, MPN and brand from the WooCommerce core
fields (including the native GTIN field in WooCommerce 9.2+) and from popular
plugins (EAN for WooCommerce, Product GTIN, Germanized, Perfect Brands, YITH
Brands, WooCommerce Brands, and more). If your shop stores these somewhere
custom, map the field once under WooCommerce > Konfiguratorius Feed.

== Installation ==

1. Upload the plugin ZIP via Plugins > Add New > Upload Plugin, and activate it.
2. Open WooCommerce > Konfiguratorius Feed.
3. Copy the feed URL and send it to your Konfiguratorius contact.
4. (Optional) If EAN/MPN/brand are stored in custom fields, set the mapping on
   the same page. Barcodes (EAN) give the best product-match rate.

== Frequently Asked Questions ==

= Does this slow down my shop? =

No. The feed is generated only when Konfiguratorius requests it (at most a few
times per hour), streams in batches, and is never visible to your customers or
search engines.

= Can I revoke access? =

Yes - click "Regenerate token" (the old URL stops working immediately) or
simply deactivate the plugin.

= Which products are included? =

All published products, including out-of-stock ones (stock status is part of
the feed). Variable products are exported per variation, since each variation
has its own barcode and price. Products without a price are skipped.

== Changelog ==

= 1.0.0 =
* Initial release: token-protected XML feed endpoint, EAN/MPN/brand
  auto-detection, field-mapping settings page.
