For the complete documentation index, see llms.txt. This page is also available as Markdown.

Offer module

You can use the Offer module if you want to add links manually to your product list.

Use the direct link from the product page in the "Product URL" field (without any affiliate-network parameters, which usually come after the "?" symbol). Use the deeplink in a separate field. Read about the deeplink here.

Global/custom settings

In the example above, we used the deeplink directly in the field. But you can create global deeplinks and XPath for each domain. So if your offer doesn't have a deeplink field, the plugin will use the global settings.

You can also overwrite custom settings by global fields (global settings will have priority)

Price update for Offer module

Please note that we don't provide help setting up XPath for your sites, but you can hire us to create custom parsers for Affiliate Egg.

Offer module can automatically update prices if you set global/custom XPath query.

How to get XPath for an Amazon product (example)

1. The plugin can't detect JavaScript fields, so deactivate it in your browser.

We recommend Quick Javascript Switcher for Chrome as fast way to enable/disable JavaScript.

2. You can install the ChroPath add-on for Chrome to quickly check XPath.

How to use ChroPath:

  • Right-click on the web page, and then click Inspect (Ctrl + Shift + I).

  • In the right side of Elements tab, click on ChroPath tab.

  • To generate XPath selectors, inspect element or click on price node, it will generate the unique relative/absolute XPath selector. Usually, you should use relative selector.

3. Sometimes, some sites can have different pages with different designs for product pages.

For example, XPath for deal products will be:

But XPath for book product pages:

So, you must merge all xpath into one line with %DELIMITER%. Plugin will try to use each of xpath rules until some rule will work.

Example for Amazon:

Sites with Microdata markup

or

How to check price update?

XPath is used only for price update. It's not in use for parsing initial price, you must add it manually to field.

So, for checking XPath:

  • Add some wrong price in Offer price field

  • Click on the "Update prices" button to trigger the price update:

  • Check your price now and possible error:

Last updated