What is a shop in affiliate-toolkit?

A shop connects affiliate-toolkit to a network and controls name, logo, button texts, currency and price comparison order. All settings explained.

In affiliate-toolkit a shop is your connection to an affiliate network or merchant. It stores the access data for the interface plus everything that controls how this shop appears on your site: name, logo, button texts, currency format and its position in the price comparison.

The shop runs through the whole plugin. Every product and every list is loaded from a shop, so you create the shop first and import products afterwards. You need the extension for the network installed, for example Amazon or AWIN.

The shop list with logos, interface type, connection status ("Connected"), sort order, sub shops of the networks and the number of imported products per shop.
The shop list with status, sort order and product count

Create a shop

  1. Go to affiliate-toolkit → Shops and click Add new Shop.
  2. Choose the interface under Data supplier. This choice is fixed after the first save – for a different network you create a new shop.
  3. Enter the access data for the interface. Which fields appear depends on the network; the setup guides for Amazon, AWIN, eBay and the other networks explain them.
  4. Click Publish. The Status row shows Connected or the error message returned by the interface.
  5. After the first save the general settings described below appear. Adjust them and save again.

The status is checked when you save the shop. If your API credentials expire later, the status only switches to an error the next time you click Update. If prices suddenly stop updating, open the shop and save it once to test the connection.

Networks such as AWIN, billiger.de, Geizhals or Tradedoubler deliver many merchants through one account. You activate the merchants you want in the parent shop and affiliate-toolkit creates a sub shop for each of them. With Automatic generation of subshops if a offer was found new sub shops are created as soon as an offer from another merchant turns up.

General settings

Besides the API-specific fields every shop has the same general settings. They apply to all products and offers of this shop.

Edit screen of the eBay shop: data supplier, connection status, API credentials and the general settings such as logo, button texts, price display and sort order.
Edit screen of a shop with access data and general settings

Title

The shop name shown in product boxes and the price comparison. In the backend you always see the post title at the top of the screen.

Shop Logo Small and Shop Logo Large

The logos shown next to the offers. For most networks affiliate-toolkit fills them in automatically; for others you upload or select an image from the media library.

Display shop logo

Shows the logo instead of the shop name in the frontend. If logos are missing on your site, this checkbox is the most common reason.

Tooltip

The text that appears when a visitor hovers over a button. %s is replaced by the shop name. If you leave the field empty, "Buy now at %s" is used.

"Buy at" button and "Add to Cart" button

The texts of the primary and the secondary button in the product boxes. Both accept HTML and the %s placeholder for the shop name. If you leave them empty, the default text of the interface is used. Example with an icon:

<i class="fa fa-amazon" aria-hidden="true"></i> Buy at %s

Currency symbol

Controls how prices of this shop are formatted: € symbol (default), EUR, $ symbol, USD, Use format from merchant or Custom Sign with your own prefix and suffix. Use format from merchant shows the price exactly as the interface delivers it – a good fallback if a price is converted incorrectly.

Price comparison

When a product has offers from several shops, these settings decide how the shop takes part in the price comparison.

Automatic loading of offers for price comparison

If you import a product from another shop (for example Amazon) and it has an EAN, GTIN or ISBN, affiliate-toolkit searches this shop for the same product and adds the offer. The option is only available for interfaces that support searching by EAN.

Override Price comparison Sort order

The default is 100. A lower value moves the shop up in the price comparison, a higher value moves it down (allowed range 1–200). The value is used when the Main product selector under Settings → Advanced settings is set to one of the "Main product and …" options, which is the default.

Hide products from this shop

Hides the offers of this shop in the price comparison on your site. If you simply don't want offers from this shop to be searched, it is cleaner to switch off the automatic loading of offers instead.

Chart color

If you show the price history, this color is used for the shop's line instead of an automatic one.

The "detailoffers" template: all offers of the Kaffeewerk Barista Pro 3 with shop logo, price, availability and button, sorted by price.
Offers from several shops in the price comparison

Custom fields

Custom Field 1–3 (html) are free fields for your own purposes, for example general shipping information. You show them in your own templates.

In a template that lists several offers, use:

{!! $offer->shop->customfield1 !!}
{!! $offer->shop->customfield2 !!}
{!! $offer->shop->customfield3 !!}

For the shop of a single product, use:

{!! $product->shop->customfield1 !!}
{!! $product->shop->customfield2 !!}
{!! $product->shop->customfield3 !!}

More about templates and placeholders: Placeholders for Blade templates.

Redirection type

Here you can mask the affiliate links of this shop. We recommend leaving it on Disabled: every redirect adds a step for your visitor, and some networks and browsers block shortened or redirected affiliate links.

  • Disabled (default): the original affiliate link is used.
  • internal redirection: the link points to /a_out/ on your own domain and is redirected from there, so visitors don't see the target directly.
  • internal redirection by name: like the internal redirection, but the URL contains the product name, for example /a_out/nordklang-anc-700.
  • bit.ly shortener: an older option that requires a bit.ly API key. We don't recommend it.

Troubleshooting

  • No logos in the frontend: enable Display shop logo and check that both logo URLs are filled in.
  • Status shows "Not connected": the message in brackets comes from the interface. Check the credentials and the marketplace, then save again.
  • Notice "This shop requires an active license": you can configure the shop, but it only works once the license of its extension is active under Settings → Licenses.
  • A shop is missing in the price comparison: check Hide products from this shop and whether Automatic loading of offers for price comparison is enabled.