Title: Thumbnail Link for WooCommerce
Author: Christian Zimpel
Published: <strong>8. juni, 2020</strong>
Last modified: 24. oktober, 2026

---

Søg plugins

![](https://ps.w.org/thumbnail-link-for-woo/assets/icon-256x256.png?rev=3763657)

# Thumbnail Link for WooCommerce

 Af [Christian Zimpel](https://profiles.wordpress.org/christianzimpel/)

[Download](https://downloads.wordpress.org/plugin/thumbnail-link-for-woo.1.1.0.zip)

 * [Detaljer](https://da.wordpress.org/plugins/thumbnail-link-for-woo/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/thumbnail-link-for-woo/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/thumbnail-link-for-woo/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/thumbnail-link-for-woo/#developers)

 [Support](https://wordpress.org/support/plugin/thumbnail-link-for-woo/)

## Beskrivelse

By default every product image in your WooCommerce shop links to the product page.
This plugin adds an **External link** field to each product. Fill it in and the 
product image and title in the shop link straight to that URL, opened in a new tab.

Typical use cases:

 * Affiliate products (Amazon, Awin, Digistore24 …)
 * Products that are sold on another platform
 * Teasers that should lead to a landing page

#### Features

 * One extra field in Product data  General.
 * Works with classic shop templates and with block themes (Product Collection block).
 * External links get `target="_blank"` and `rel="noopener nofollow"`.
 * Products without an external link behave exactly as before.
 * Compatible with High-Performance Order Storage (HPOS) and the Cart/Checkout blocks.
 * Lightweight: no settings page, no database tables, no tracking.

#### For developers

Change the link attributes with the filter `tlfw_link_attributes`, for example to
mark affiliate links as sponsored:

    ```
    add_filter( 'tlfw_link_attributes', function ( $attributes, $product ) {
        $attributes['rel'] = 'noopener sponsored';
        return $attributes;
    }, 10, 2 );
    ```

## Skærmbilleder

[⌊The External link field in the product data.⌉⌊The External link field in the product
data.⌉[

The External link field in the product data.

## Installation

 1. Install and activate the plugin (WooCommerce must be active).
 2. Edit a product and enter a URL in Product data  General  External link.
 3. Save – done.

## FAQ

### What is the difference to the WooCommerce product type “External/Affiliate product”?

The built-in type only changes the “Buy” button on the product page. The image in
the shop still leads to your product page. With this plugin the image itself links
to the external URL – and it works with every product type.

### Where are the links stored?

As product meta `_external_url`. Deleting the plugin keeps the data, so nothing 
is lost if you reinstall it.

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“Thumbnail Link for WooCommerce” er open source-software. Følgende personer har 
bidraget til dette plugin.

Bidragsydere

 *   [ Christian Zimpel ](https://profiles.wordpress.org/christianzimpel/)

[Oversæt “Thumbnail Link for WooCommerce” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/thumbnail-link-for-woo)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/thumbnail-link-for-woo/),
tjek [SVN repository](https://plugins.svn.wordpress.org/thumbnail-link-for-woo/),
eller abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/thumbnail-link-for-woo/)
via [RSS](https://plugins.trac.wordpress.org/log/thumbnail-link-for-woo/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 1.1.0 – 2026-10-24

 * Fixed: saving a product caused a fatal error on PHP 8 because the save function
   was registered under a wrong name. URLs are saved reliably again.
 * Fixed: products without an external link no longer open in a new tab.
 * Fixed: invalid URLs are rejected with an error message instead of being stored
   silently.
 * New: support for block themes (Product Collection block: product image and title).
 * New: declared compatibility with HPOS and the Cart/Checkout blocks, `Requires
   Plugins: woocommerce` header.
 * New: filter `tlfw_link_attributes`; external links now use `rel="noopener nofollow"`.
 * Changed: code rewritten following the WordPress Coding Standards; text domain
   corrected to `thumbnail-link-for-woo`.
 * Tested with WordPress 7.1, WooCommerce 11.2 and PHP 8.3.

#### 1.0.1

 * Tested up to WordPress 6.8.

#### 1.0.0

 * Initial release.

## Meta

 *  Version **1.1.0**
 *  Senest opdateret **3 uger siden**
 *  Aktive installationer **10+**
 *  WordPress-version ** 6.2 eller højere **
 *  Testet op til **7.1.4**
 *  PHP-version ** 7.4 eller højere **
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/thumbnail-link-for-woo/)
 * Tags
 * [affiliate](https://da.wordpress.org/plugins/tags/affiliate/)[external link](https://da.wordpress.org/plugins/tags/external-link/)
   [product image](https://da.wordpress.org/plugins/tags/product-image/)[thumbnail](https://da.wordpress.org/plugins/tags/thumbnail/)
   [woocommerce](https://da.wordpress.org/plugins/tags/woocommerce/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/thumbnail-link-for-woo/advanced/)

## Bedømmelser

Der er endnu ikke indsendt nogen anmeldelser.

[Din anmeldelse](https://wordpress.org/support/plugin/thumbnail-link-for-woo/reviews/#new-post)

[Se alle anmeldelser](https://wordpress.org/support/plugin/thumbnail-link-for-woo/reviews/)

## Bidragsydere

 *   [ Christian Zimpel ](https://profiles.wordpress.org/christianzimpel/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/thumbnail-link-for-woo/)

## Donér

Vil du gerne støtte udviklingen af dette plugin?

 [ Donér til dette plugin ](https://paypal.me/wirsindveg)