Deze plugin is niet getest met de laatste drie grote versies van WordPress. Mogelijk wordt het niet meer onderhouden of ondersteund. Er kunnen ook compatibiliteitsproblemen ontstaan wanneer het wordt gebruikt met recentere versies van WordPress.

WooCommerce Direct Variation Link

Beschrijving

Link directly to a specific WooCommerce product variation using get variables – yoursite.com/your-single-product/?size=small&color=blue. This is useful if you want to send an email to customers and send them directly to a specific variation without them having to enter it in themselves.

Usage/Examples:

Attach: ‘?[variation_name]=[variation_value]‘ to the end of your product link to have the variations automatically appear on the user’s screen.

  • mysite.com/product/happy-ninja/?color=blue
  • mysite.com/product/happy-ninja/?color=blue&size=small (additional variations should be separated by ‘&’)
  • mysite.com/product/happy-ninja/?color=blue+green (where the variation value is “Blue Green” with the space replaced by a ‘+’)

Features:

  • No configuration needed, just install and start using
  • Supports an infinite number of variations
  • Fails gracefully, if the option or value doesn’t exist, the default value will appear instead
  • Default selected variations work if no product is specified in url
  • 100% case insensitive
  • Works with any variation settings you have ie. custom images, prices etc.

Plugin’s Official Documentation and Support Page

Installatie

Automatic WordPress Installation

  1. Log-in to your WordPress Site
  2. Under the plugin sidebar tab, click ‘Add New’
  3. Search for ‘WooCommerce Direct Variation Link’
  4. Install and Activate the Plugin
  5. That’s it, you should be able to use get variables with your variable products now

Manual Installation

  1. Download the latest version of the plugin from WooCommerce Direct Variation Link WordPress page.
  2. Uncompress the file
  3. Upload the uncompressed directory to ‘/wp-content/plugins/’ via FTP
  4. Active the plugin from your WordPress backend ‘Plugins -> Installed Plugins’
  5. That’s it, you should be able to use get variables with your variable products now

Beoordelingen

17 juni 2018
This plugin is awesome. It’s simple, yet very powerful. I haven’t run into any of the problems a couple people here have regarding unicode characters, etc. and so far, the plugin works beautifully. I did submit one humble request to the developer, though. It would be so amazing if the plugin would automatically/dynamically update the URL in real time for copying/sharing. So let’s say someone selects “Medium” and “Blue” — all of the descriptions and everything change due to the built-in WC functionality, but this plugin would then also update the URL to mysite.com/product/awesome-shirt/?color=blue&size=medium so it could easily be copied and shared so someone could go directly to the variation combination. It’s already a five-star plugin. I’d give it a 6th if this particular functionality was developed 😉 Thanks!
3 september 2016
Thanks! Works well. I hope you keep updating this plugin.
Lees alle 10 beoordelingen

Bijdragers & ontwikkelaars

“WooCommerce Direct Variation Link” is open source software. De volgende personen hebben bijgedragen aan deze plugin.

Bijdragers

Vertaal “WooCommerce Direct Variation Link” naar jouw taal.

Interesse in de ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.

Changelog

1.0.3

  • More compatible texhnique for selecting variations, compatible with variation swatches, and other plugins that provide a custom variable products view / functionality.

1.0.2

  • Removed the need to put ‘pa_’ infront variables.

1.0.1

  • Contributor consolidation.

1.0.0

  • Initial Commit