WordPress plugin

API Starter Plan

Datafeedr Comparison Sets creates price comparison sets for WooCommerce products or anywhere WordPress shortcodes are supported. It requires the Datafeedr API Plugin to be installed and activated, with an active API Starter Plan or Basic Plan subscription. The add-on is intended for personal use. The comparison-set workflow is described for both plans; no separate set features are specified for each.

API Starter Plan

API plan and usage

Datafeedr Comparison Sets creates price comparison sets for WooCommerce products or anywhere WordPress shortcodes are supported. It requires the Datafeedr API Plugin to be installed and activated, with an active API Starter Plan or Basic Plan subscription. The add-on is intended for personal use. The comparison-set workflow is described for both plans; no separate set features are specified for each.

Generating or updating one comparison set requires 2 to 6 API requests. If API usage is a concern, the setup notes suggest that API Starter Plan subscribers consider the Basic Plan.

Choose where sets appear

WooCommerce products

First select affiliate networks and merchants in the Datafeedr API Plugin. Then go to WordPress Admin Area > Datafeedr API > Comparison Sets > Integrations, enable the WooCommerce option, and save. A set is generated when a product is viewed for the first time after the integration is enabled. Enabling the integration does not generate sets for every product immediately.

On WooCommerce single product pages, you can also use the [dfrcs_wc] shortcode.

Shortcode placements

Place a comparison set in a post, page, or another area that works with WordPress shortcodes. Search by product name, or provide a name and brand:

  • [dfrcs name="baratza encore"]
  • [dfrcs name="j8006" brand="omega"]

A shortcode can use a custom title. For example: [dfrcs name="chaos harness" brand="black diamond" title="{num_products} great deals on Black Diamond Chaos Harnesses"]. You can also search by an EAN, ASIN, or UPC code, using the ean, asin, or upc attribute.

Filter comparison results

Use the shortcode's filters attribute to narrow results. Available filters are currency, amazon_locale, picture, onsale, direct_url, saleprice_min, saleprice_max, finalprice_min, finalprice_max, merchant_id, and source_id. For example, filters="currency=USD" limits results to products priced in USD, while filters="currency=USD&finalprice_max=400" applies both a currency and maximum final-price filter. Use comma-separated IDs with merchant_id or source_id to limit results to specified merchants or networks.

Include Amazon products

To allow Amazon products in comparison sets, go to WordPress Admin Area > Datafeedr API > Configuration > Amazon Settings. Enter the Amazon Access Key ID, Secret Access Key, Tracking ID, and Locale, then save. Next, open Datafeedr API > Comparison Sets, set Cache Lifetime to 86400, and save.

Requirements and setup

  • PHP 7.4 or greater
  • MySQL 5.6 or greater
  • WordPress memory limit of 256 MB or greater
  • Datafeedr API Plugin and an active API plan
  • HTTPS support

Upload the datafeedr-comparison-sets folder to /wp-content/add-ons/, then activate Datafeedr Comparison Sets from the WordPress Plugins menu. Configure it at WordPress Admin Area > Datafeedr API > Comparison Sets. Complete the API setup and select affiliate networks and merchants before choosing WooCommerce integration or shortcode placement.

Welcome to The Crafted Nest

Get 10% off your first order

Hand-carved marble home décor, delivered free across India. Share your WhatsApp number and we’ll show your code right away.

One use per customer. We’ll occasionally send new pieces and offers; reply STOP anytime.

WordPress Market Media Deduper Pro Media File Renamer Pro Media Hygiene Pro Media Library Folders Pro for WordPress Media Library Organizer Pro Media Slider Pro Media Sync Pro Mega Addons For WPBakery Page Builder Premium Melapress Login Security Premium Menu Cart Pro