=== BerryPath Flow ===
Contributors: berrypath
Tags: woocommerce, guided selling, product finder, ecommerce, conversion optimization
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 8.1
Requires Plugins: woocommerce
Stable tag: 1.0.0
License: MIT
License URI: https://opensource.org/license/mit/

Add BerryPath guided selling Flow widgets to WooCommerce product pages, category pages and WordPress content.

== Description ==

BerryPath helps ecommerce teams add guided selling, product finder flows and product advice to their webshop. This plugin adds BerryPath Flow widgets to WooCommerce product pages, product category pages and WordPress content.

Features:

* BerryPath Flow settings page under WooCommerce.
* Product fields for showing a Flow widget on a WooCommerce product detail page.
* Product category fields for showing a Flow widget on category pages.
* BerryPath Flow block and `[berrypath_flow]` shortcode for WordPress content.
* Assisted conversion tracking on the WooCommerce thank-you page.

Publish the flow in BerryPath first, then copy the Flow UUID into WooCommerce. Also make sure the WooCommerce storefront domain is allowed in BerryPath.

Learn more at https://www.berrypath.eu.

= External service =

This plugin connects to BerryPath to show the Flow widget and, when enabled, measure assisted conversions.

The storefront loads `https://www.berrypath.eu/embed/berrypath.js` on pages where a Flow widget is shown. The script loads the selected Flow widget from BerryPath and may receive the Flow UUID, locale, market code and configured product identifier.

On WooCommerce thank-you pages, the plugin can pass order total and configured product identifiers to the BerryPath script so BerryPath can record a guided selling conversion. This can be disabled in the plugin settings.

Service provider: BerryPath, https://www.berrypath.eu
Privacy policy: https://www.berrypath.eu/privacy

== Installation ==

1. Upload the `berrypath-flow` folder to `/wp-content/plugins/`.
2. Activate the plugin in WordPress.
3. Go to WooCommerce > BerryPath Flow.
4. Configure defaults such as market code, locale, product ID source and success pixel.
5. Add a Flow UUID to a product, product category, block or shortcode.

== Frequently Asked Questions ==

= Where do I configure the plugin? =

Go to WooCommerce > BerryPath Flow.

= Can I place a Flow widget in content? =

Yes. Use the BerryPath Flow block or the `[berrypath_flow flow="YOUR_FLOW_UUID" type="popup"]` shortcode.

= Can a theme override the markup? =

Yes. Copy templates from `templates/` to your theme under `berrypath-flow/`.

== Screenshots ==

1. Homepage Flow widget.
2. Category page Flow widget.
3. Product page Flow widget.

== Changelog ==

= 1.0.0 =

* Initial release.
