=== Floynk for WooCommerce ===
Contributors: floynk
Tags: woocommerce, bol.com, repricer, marketplace, pricing
Requires at least: 6.2
Tested up to: 7.0
Stable tag: 1.0.4
Requires PHP: 8.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Free Bol.com repricer for WooCommerce in wp-admin. Same engine as paid Floynk, with clear starter limits.

== Description ==

**Floynk for WooCommerce** is the official **free** plugin from [Floynk](https://www.floynk.com) for Dutch and Belgian merchants who sell on Bol.com through WooCommerce.

It uses the **same repricer engine as paid Floynk**, but is capped for starters: you manage everything inside **WordPress**, not in the Floynk web app. Install it, open **Floynk** in the admin menu, and follow the setup wizard. Every screen in the plugin is available without a license check or trial countdown — limits are enforced by your free Floynk account on the server, not by hiding features in the plugin.

= Free plugin — limits =

This plugin is fully functional on its own, with these limits on the free Floynk account it creates or connects to:

* **500 products max with repricing turned on** — you can import more offers, but only 500 can be active at once
* **"Hunt now" / manual price check = once per minute per product** — automatic background repricing is not affected
* **No Floynk web app** — no login at [app.floynk.com](https://app.floynk.com); no orders, stock sync, or multi-channel dashboard
* **Bol.com connect in WordPress only** — one WordPress site and one Bol.com seller account per free account
* **Uninstall + delete account = all data gone** — repricers, imports, and settings are permanently removed from Floynk when you delete the account from plugin settings

Need more than 500 active products, multiple Bol.com accounts, or the full Floynk platform? See [Floynk Repricer](https://www.floynk.com) to upgrade — paid plans use the same repricer engine with higher limits and access to the Floynk app.

= What this plugin does =

* Bol.com repricer for WooCommerce products — set min/max prices, activate offers, hunt competitor prices, and restore pricing from the product edit screen
* Bol.com account wizard in wp-admin — add, verify, list, and remove seller accounts without leaving WordPress
* Repricer settings — global hunt behavior, timing, price rounding, and default min/max formulas
* Optional product fields for purchase price, shipping cost, EAN, and brand (enable in settings if you do not already have them elsewhere)
* Onboarding wizard for first-time setup inside wp-admin
* WooCommerce HPOS (High-Performance Order Storage) compatibility
* WordPress multisite support

= Scope =

This release is built around **Bol.com repricing and Bol.com account management**. It does not handle WooCommerce checkout, payments, or basic order processing — that stays in WooCommerce and your existing order tools.

== Installation ==

1. Install **WooCommerce 7.0** or higher.
2. Install **Floynk for WooCommerce** from the WordPress.org plugin directory (or upload the zip via **Plugins → Add New → Upload Plugin**).
3. Activate the plugin.
4. Go to **Floynk** in the wp-admin menu and complete the setup wizard (store connection, Bol.com accounts, repricer settings).
5. Open the **Bol.com** tab if you need to add or verify seller accounts.
6. Edit a WooCommerce product that has an EAN — use the **Floynk Repricer** metabox to activate repricing, set min/max prices, and run a price hunt.

== Frequently Asked Questions ==

= Do I need to use the Floynk website to run this plugin? =

No. Setup and day-to-day repricer work happen entirely in **wp-admin**. You do not need to log in to the Floynk web app. The plugin talks to the Floynk API in the background for repricing and Bol.com account management.

= What are the limits of the free plugin? =

The free account created or connected by this plugin includes:

* Up to **500 products with repricing active** at the same time (you can import more, but only 500 can be on)
* **One manual "hunt now" per product per minute** — background automatic repricing is unaffected
* **One WordPress site and one Bol.com seller account** per free account
* **No Floynk web app** — no orders, stock sync, or multi-channel dashboard at app.floynk.com

See **Free plugin — limits** in the description above for the full list.

= Can I use the Floynk web app with this plugin? =

Not on the free tier. This plugin is WordPress-only: you connect Bol.com, configure repricers, and manage prices from wp-admin. The Floynk web app (orders, stock sync, multi-channel tools) is part of paid Floynk plans at [floynk.com](https://www.floynk.com).

= How do I get more than 500 active products? =

Upgrade to a paid Floynk plan at [floynk.com](https://www.floynk.com). Paid plans use the same repricer engine with higher product limits and access to the full Floynk platform. Connect your paid account by pasting its API key in plugin settings — do not create a new free account.

= Do I need a separate dashboard? =

No. The plugin is standalone: you configure Bol.com accounts, repricer rules, and product-level pricing from WordPress.

= Where are my Bol.com credentials stored? =

Bol.com API credentials are sent over HTTPS when you connect an account in the Bol.com wizard and are stored on Floynk infrastructure used for repricing — not in your WordPress database as plain client secrets.

= Does the plugin phone home? =

The plugin communicates with the Floynk API (https://app.floynk.com) for repricing, Bol.com account management, and settings — only after you install the plugin and connect your store. It does not send anonymous telemetry, open-rate pixels, or tracking beacons. See **External services** below.

= Does this plugin handle my orders? =

No. It focuses on Bol.com **repricing** and **seller account** setup. WooCommerce continues to handle orders, checkout, and payments. The plugin does not take over basic order processing.

= What happens if I deactivate the plugin? =

Your WooCommerce store keeps working normally. Repricing stops. Your Floynk account and repricer data remain on Floynk servers until you remove them.

= What happens if I uninstall and delete my Floynk account? =

If you use **Delete Floynk account** in plugin settings before uninstalling, your free Floynk account and all repricer data, Bol.com imports, and settings on Floynk servers are **permanently deleted**. This cannot be undone. Disconnecting only removes the API key from WordPress and leaves your Floynk account intact.

= Is this plugin GDPR compliant? =

Floynk processes data related to repricing and marketplace accounts on your behalf when the plugin is connected. Review [Floynk's Privacy Policy](https://www.floynk.com/privacy). You remain the data controller for your WooCommerce store.

= I'm a Floynk developer. How do I point the plugin at a dev backend? =

Add `define('FLOYNK_ENVIRONMENT', 'development');` and optionally `define('FLOYNK_API_URL', 'http://localhost:8000/api');` to your `wp-config.php`. By default the plugin uses the production Floynk API.

== Screenshots ==

1. Setup wizard — connect your Floynk account in one click or paste an existing API key.
2. Bol.com wizard — add and verify seller credentials without leaving WordPress.
3. Repricer settings — hunt behavior, timing, rounding, and default price formulas.
4. Product list — buy box status, current price, and repricer on/off at a glance.
5. Per-product metabox — min/max prices, activate, hunt now, and restore.

== Changelog ==

= 1.0.4 =
* Clarified free-tier product limits, onboarding/account-deletion behavior, and FAQ copy for the WordPress.org listing.
* Added explicit guidance that disconnect is local-only while delete account removes Floynk-side data permanently.

= 1.0.3 =
* Fixed: restore load_plugin_textdomain() so bundled Dutch (nl_NL) translations load at runtime.
* Added bin/wporg-import-dutch-translations.sh helper for manual GlotPress import.

= 1.0.2 =
* Updated plugin directory listing copy (description, FAQ, installation).
* Ship Dutch (nl_NL) translations in the plugin package.
* Added production banners and icons on wordpress.org.

= 1.0.1 =
* Scope: the WordPress.org release is focused on the Bol.com repricer and Bol.com account management.
* Removed account-level gating from the plugin. Every feature in the plugin is shown to every user unconditionally.
* Fixed: inline admin JavaScript and CSS blocks are now enqueued via `wp_enqueue_script()` / `wp_enqueue_style()` with the script data passed through `wp_localize_script()` per the WordPress developer guidelines.
* Fixed: removed explicit translation loading; WordPress.org loads plugin translations automatically on supported WordPress versions.
* Fixed: updated the Terms and Privacy Policy URLs in readme.txt to point at live pages.
* Removed: the optional self-hosted update checker code path. The plugin now ships exclusively through WordPress.org.

= 1.0.0 =
* Initial public release.
* Connect WooCommerce to Floynk with a single API key.
* Bol.com connection wizard for configuring marketplace accounts.
* Per-product repricer settings with min/max prices and hunt/restore controls.
* Repricer configuration tab with hunt behavior, timing, rounding, and default price formulas.
* Optional custom product fields (purchase price, shipping cost, EAN, brand).
* WooCommerce HPOS (High-Performance Order Storage) compatibility.
* WordPress multisite support.

== Upgrade Notice ==

= 1.0.4 =
Readme and listing clarity release for free-tier limits and account deletion behavior. No database changes.

= 1.0.3 =
Fixes Dutch translations not loading in wp-admin. No database or settings changes.

= 1.0.2 =
Documentation and translation update. No required action after upgrading.

= 1.0.1 =
Compliance release: narrows the plugin scope to the Bol.com repricer and Bol.com account management, removes account-level gating, moves inline JS/CSS to enqueued assets, and cleans up translation handling per WordPress.org guidelines.

= 1.0.0 =
First public release of Floynk for WooCommerce.

== External services ==

This plugin connects to the following third-party services. By using this plugin you agree to the terms and privacy policies of these services.

**Floynk API (https://app.floynk.com)**

* **What it is:** Hosted repricing and Bol.com account services operated by Floynk B.V., used when you connect the plugin and manage repricers from wp-admin.
* **When data is sent:** When you connect your store, save settings, update min/max prices, run a hunt, or manage Bol.com accounts — typically when you use Floynk screens in wp-admin or when repricing runs for active products.
* **What data is sent:**
  * Connection credentials for your store (as an Authorization header)
  * WordPress site URL and name
  * WooCommerce product data needed for repricing (for example SKU, EAN, name, price, stock)
  * Repricer settings and price bounds you configure in the plugin
  * Plugin, WordPress, PHP, and WooCommerce versions (for compatibility)
* **Terms of Use:** https://www.floynk.com/terms
* **Privacy Policy:** https://www.floynk.com/privacy

**Bol.com (https://www.bol.com) — indirect, via Floynk**

The plugin does not call Bol.com directly. When you connect a seller account in the Bol.com wizard, credentials are sent over HTTPS to the Floynk API and used server-side for offer management and repricing.

* **Bol.com API documentation:** https://developers.bol.com/
* **Bol.com Terms of Use for Partners:** https://partnerplatform.bol.com/

== Privacy ==

This plugin does not set cookies on your storefront, does not track site visitors, and does not load third-party scripts on the public site. Admin requests related to repricing and Bol.com accounts go to the Floynk API after you connect the plugin.

== Source code ==

Source for this plugin is maintained at https://github.com/digitxbv/floynk-wordpress-plugin-free. The copy on WordPress.org is the distribution users install from the plugin directory.
