Live Feed Setup

Set up real-time synchronization between WooCommerce stores using Live Feed

Overview

Live Feed allows you to synchronize product data between multiple WooCommerce stores in real-time. This is perfect for scenarios where you have a supplier store and multiple reseller stores, or when you need to keep product data synchronized across different locations.

Live Feed supports two connection modes:

  • PrimeLink ↔ PrimeLink: Both stores use PrimeLink with API keys
  • WooCommerce REST API: Source store uses standard WooCommerce REST API (no PrimeLink required)

Prerequisites

For PrimeLink ↔ PrimeLink Mode:

  • PrimeLink installed and activated on both stores
  • API key generated on the source store (see Generating API Keys)
  • Source store URL accessible from the destination store

For WooCommerce REST API Mode:

  • PrimeLink installed on the destination store only
  • WooCommerce REST API credentials (Consumer Key & Secret) from the source store
  • Source store URL accessible from the destination store

Setting Up a Live Feed Connection

Step 1: Access Live Feed

  1. Navigate to PrimeLink → Live Feed in your WordPress admin
  2. Click on the Feeds tab
  3. Click the Add Feed button

Step 2: Configure Feed Details

Fill in the feed configuration form:

Basic Information

  • Feed Name: A descriptive name for this connection (e.g., "Main Supplier Store")
  • Source URL: The full URL of the source store (e.g., https://supplier-store.com)
  • Source Type: Choose between:
    • PrimeLink (PrimeLink ↔ PrimeLink): Both stores use PrimeLink
    • WooCommerce REST API: Source store uses standard WooCommerce REST API

Step 3: Configure Authentication

For PrimeLink ↔ PrimeLink Mode:

  • API Key: Enter the API key generated on the source store
  • This key should be generated in the source store's PrimeLink → Live Feed → API Keys section

For WooCommerce REST API Mode:

  • Consumer Key: WooCommerce REST API Consumer Key from the source store
  • Consumer Secret: WooCommerce REST API Consumer Secret from the source store
  • These credentials are generated in the source store's WooCommerce → Settings → Advanced → REST API

Step 4: Configure Sync Settings

Sync Fields

Select which product fields to synchronize:

  • Price
  • Stock Quantity
  • Description
  • Images
  • Categories
  • Tags
  • Custom fields

Sync Mode

  • Auto: Automatically sync at configured intervals
  • Manual: Sync only when triggered manually
  • Scheduled: Sync on a specific schedule (cron)

Sync Interval

For auto mode, set the interval in seconds (e.g., 300 = every 5 minutes)

Step 5: Test Connection

  1. Click the Test Connection button
  2. PrimeLink will attempt to connect to the source store
  3. If successful, you'll see a confirmation message
  4. If it fails, check your credentials and source URL

Step 6: Save the Feed

  1. Review all settings
  2. Click Save Feed
  3. The feed will be created and appear in your feeds list

Managing Live Feed Connections

Viewing Feeds

The Feeds tab displays all your connections with:

  • Feed name
  • Source URL
  • Source type
  • Status (Active/Inactive)
  • Last sync time
  • Next sync time

Manual Sync

To manually trigger a synchronization:

  1. Find the feed in the list
  2. Click the Sync Now button
  3. The sync will start immediately
  4. Monitor progress in the sync log

Editing Feeds

To modify a feed configuration:

  1. Click the Edit button next to the feed
  2. Update any settings
  3. Click Save Feed

Deleting Feeds

To remove a feed connection:

  1. Click the Delete button
  2. Confirm the deletion
  3. The feed will be removed (this doesn't affect synced products)

How Synchronization Works

Incremental Sync

Live Feed uses incremental synchronization to only fetch products that have changed since the last sync:

  • On first sync, all products are imported
  • Subsequent syncs only fetch products modified since the last sync timestamp
  • This reduces bandwidth and processing time

Product Matching

Products are matched by SKU:

  • If a product with the same SKU exists, it will be updated
  • If no matching SKU is found, a new product will be created
  • Ensure your source store uses unique SKUs for proper matching

Field Updates

Only the fields selected in "Sync Fields" will be updated:

  • Unselected fields remain unchanged in your store
  • This allows you to customize products locally while keeping certain fields in sync

Troubleshooting

Connection Failed

  • Verify the source URL is correct and accessible
  • Check that the API key or WooCommerce credentials are valid
  • Ensure the source store allows connections from your server IP
  • Check for SSL certificate issues

No Products Synced

  • Verify products exist on the source store
  • Check that products have SKUs (required for matching)
  • Review sync fields configuration
  • Check sync logs for error messages

Sync Too Slow

  • Increase the sync interval
  • Reduce the number of sync fields
  • Check server performance and resources

Next Steps

🔑 Generating API Keys

Learn how to generate API keys for Live Feed connections

Learn More →
🛒 WooCommerce REST API

Set up WooCommerce REST API credentials for Live Feed

Learn More →