WordPress plugin
API Starter Plan
Datafeedr Comparison Sets creates price comparison sets for WooCommerce products or anywhere WordPress shortcodes are supported. It requires an active API Starter Plan or Basic Plan subscription and is intended for personal use. Install and activate the Datafeedr API Plugin first, then choose affiliate networks and merchants in that plugin. Generating or updating one comparison set uses 2 to 6 API requests. Setup guidance suggests API Starter Plan subscribers consider the Basic Plan when planning API usage; it does not specify separate comparison-set functions for the plans.
How the API plan and extension work together
Datafeedr Comparison Sets creates price comparison sets for WooCommerce products or anywhere WordPress shortcodes are supported. It requires an active API Starter Plan or Basic Plan subscription and is intended for personal use. Install and activate the Datafeedr API Plugin first, then choose affiliate networks and merchants in that plugin. Generating or updating one comparison set uses 2 to 6 API requests. Setup guidance suggests API Starter Plan subscribers consider the Basic Plan when planning API usage; it does not specify separate comparison-set functions for the plans.
Choose where comparisons appear
WooCommerce products
Go to WordPress Admin Area > Datafeedr API > Comparison Sets > Integrations, enable the WooCommerce option, and save. A comparison 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. For WooCommerce single product pages, you can also use the [dfrcs_wc] shortcode.
Shortcode placements
Add a set to a post, page, or another area that supports WordPress shortcodes. Match by product name, or by name and brand, and optionally add a custom title. For example, use [dfrcs name="baratza encore"] or [dfrcs name="j8006" brand="omega"].
Shortcodes can also match products by EAN, ASIN, or UPC. The filters attribute can narrow results by currency, Amazon locale, image availability, sale status, direct URL availability, sale or final price range, merchant ID, or network ID. For example, [dfrcs name="farpoint 55" brand="osprey" filters="onsale=1"] returns products marked as on sale.
Amazon product options
To include Amazon products, open Datafeedr API > Configuration > Amazon Settings and enter the Amazon Access Key ID, Secret Access Key, Tracking ID, and Locale. Then go to the Comparison Sets settings, change 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
- HTTPS support
Upload the datafeedr-comparison-sets folder to /wp-content/plugins/ and activate Datafeedr Comparison Sets from the WordPress Plugins menu. Configure it under WordPress Admin Area > Datafeedr API > Comparison Sets. After completing the API setup, choose WooCommerce integration, shortcode placement, or both for your website.