How Carclean.com achieves 25.7% higher order value with 12 advice flows. Read the story

Magento module for Flow widgets

Use the BerryPath Magento 2 module to place Flow widgets and connect the product feed module that is installed with it.

Docs Magento module
Docs Contents

The Magento 2 module helps your Magento team place Flow widgets without editing every template by hand. The product feed module is installed with the Flow module, so Magento product data can be exposed for product advice in BerryPath.

What it adds

  • Flow widget placement for categories and products.
  • Category banner content with title, description and button text.
  • Product-page placement with the current Magento product ID.
  • A CMS widget for homepage, landing page or buying guide content.
  • The product feed module, with a feed per Magento store view for product data imports.
  • Optional Hyva compatibility through a separate module.
  • Assisted conversion measurement from the order confirmation page.

Where to configure it

  • Global settings: Stores -> Configuration -> BerryPath -> Flow.
  • Category placement: Catalog -> Categories -> BerryPath Flow.
  • Product placement: Catalog -> Products -> BerryPath Flow.
  • CMS placement: use the BerryPath Flow CMS widget.
  • Product feed: Stores -> Configuration -> BerryPath -> Flow -> Product feed.

Publish the Advice flow first, then copy the Flow code from Share & Publish into Magento. Also allow the Magento webshop domain in Team -> Allowed embed domains.

Add a Flow widget

  1. Publish the Advice flow in BerryPath.
  2. Copy the Flow code from Share & Publish.
  3. Add it to the right Magento category, product or CMS widget.
  4. Test the page on desktop and mobile.

Connect the Magento product feed

The product feed module is installed together with the Flow module. It generates an XML product feed for each active Magento store view:

website.docs.code_example
https://your-store.example/berrypath/feed/id/{store_id}

In Magento, open Stores -> Configuration -> BerryPath -> Flow -> Product feed. The module shows a preview URL and XML feed URL for each store view.

Use the feed URL in Product data when you create or update a dataset in BerryPath. After validation, map the main fields:

  • Product ID: id
  • Title: name
  • Product link: url
  • Image: image
  • Price: final_price
  • Original price, when needed: price

The feed also includes fields such as sku, entity_id, product type, currency, salable status, visibility, reviews and categories. Add Extra attributes in Magento when an Advice flow should match on Magento attributes such as material, size, color, compatibility or other product properties.

The feed uses the Magento store view context. Store-specific values, product URLs, image URLs, currency, locale and market code are generated per store view, so you can connect separate locale or market feeds in BerryPath when needed.

Feed settings

  • Enable product feed: turns the store-view feed on or off.
  • Include not visible products: include simple variants that are not individually visible in the catalog.
  • Extra attributes: select Magento product attributes to include as extra feed fields.
  • Product ID source: configure this in the product settings when BerryPath should match on SKU or another stable Magento attribute instead of the Magento entity ID.

Build your first flow in minutes.

Start for free · 1 advice flow and 2,500 products