WC External Variations


Adds basic support for external products to WooCommerce
variations/variable products. This plugin allows you to define an external
URL on any variation and will then open that link when the user
clicks on the Add To Cart button. Because the Javascript is used for this,
any adding to cart that is done via the backend such as with APIs will not
redirect properly.

Shortcode support

This plugin provides two shortcodes that you can use within your site:
1. [wcev_product_attr] – allows you to display an product attribute, use the «name» attribute to find the right attribute.
2. [wcev_var_field] – allows you to display a custom field for a variation, use the «id» attribute to point to the right field.
3. [wcev_var_postdate] – displays the formatted post date and time for a variation, doesn’t take attributes.

External SKU and status fields

In addition to the external URL field, a second field called «External SKU» is provided for each variation. You can
set this field and then use the provided shortcode to display it. The purpose is to track the external SKU separately from the internal one.

There is also an external status field for tracking things like stock status separately from internal WooCommerce functionality.

More Details

Please note that this plugin has only been tested in a vanilla WordPress / WooCommerce
installation without any other plugins. If you have other plugins that modify
the functionality of the Add to Cart button, this plugin may not work or
cause unintended consequences.

Development of this plugin is done at Github

You can find this plugin at WordPress.org


  1. Make sure you are running WooCommerce v4.0 or higher.
  2. Either add the plugin via Plugins > Add New, place the entire
    plugin into the ‘/wp-content/plugins/’ directory or upload it via the
    Plugins > Upload section.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Go into any variable product, and specify the external URL in a variation.
  5. Save the product, view it, select the variation with the external URL and
    click on Add to Cart.
  6. A new window should open with the external URL.
  7. To change settings, go to WooCommerce Settings -> Products -> External Variations.


25 de diciembre de 2019
This solves a problem for us: We sell home study course downloads and physical products on our own website, and also have the courses available to download from the Apple Music website. This lets us add the Apple version as a Variation instead of another separate product. Also helps with selling our books. They are on multiple websites worldwide. One enhancement would be fabulous: Allow us to put Text into the Price field so we can advise people to "See price at Apple website" or "See price on Amazon." Apple charges less than we do. That's okay, because the Apple products are audio only - no video clips or mp3 manual. But we don't want to show the lower price next to the price of our other versions. Amazon is another problem. All our books are the same price, but I have read that they don't want affiliates to publish a price. I couldn't find any way to contact the developers, so I'm putting my request here. What you have done is definitely 5-Star - it works just as advertised. I would be happy to pay for it if you can change the requirement that we add a Price. Thanks. Ed
Leer todas las 2 reseñas

Colaboradores y desarrolladores

«WC External Variations» es un software de código abierto. Las siguientes personas han colaborado con este plugin.


Traduce «WC External Variations» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios


  • Added settings option to control whether links open in the same or new tab
  • Tested with WordPress v5.4.1 and WooCommerce v4.1.1


  • Tested with WordPress v5.3.1 and WooCommerce v3.8.1


  • Tested with WordPress v5.2, updated copyright dates


  • Added shortcode for variation external status
  • Remove the external SKU shortcode


  • Added shortcodes for variation custom fields and post date


  • Moved external SKU replacement into a shortcode
  • Added a shortcode for product attributes


  • Initial Release