Add support for Pricemesh
If you want to display display Pricemesh.io links on your site instead of Comparison Set links for products imported by the Datafeedr Product Sets plugin, you can do so by adding the following code.
The code will add any EAN, UPC or ISBN code found for the product to your Pricemesh PIDs which Pricemesh will use to generate the price comparison list.
- 1
-
Create a custom plugin
If you haven't done so already, create a custom plugin.
- 2
-
Add code
Add the following code to your custom plugin:
- 3
-
Save
Save your custom plugin.
Now after your Product Set updates again, any EAN, UPC or ISBN code found for your product will be added as a Pricemesh PID and a Pricemesh price comparison list will be automatically generated.