Beskrivelse
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.
Installasjon
Automatic WordPress Installation
- Log-in to your WordPress Site
- Under the plugin sidebar tab, click ‘Add New’
- Search for ‘WooCommerce Direct Variation Link’
- Install and Activate the Plugin
- That’s it, you should be able to use get variables with your variable products now
Manual Installation
- Download the latest version of the plugin from WooCommerce Direct Variation Link WordPress page.
- Uncompress the file
- Upload the uncompressed directory to ‘/wp-content/plugins/’ via FTP
- Active the plugin from your WordPress backend ‘Plugins -> Installed Plugins’
- That’s it, you should be able to use get variables with your variable products now
Vurderinger
Bidragsytere og utviklere
“WooCommerce Direct Variation Link” er programvare med åpen kildekode. Følgende personer har bidratt til denne utvidelsen.
BidragsytereOversett “WooCommerce Direct Variation Link” til ditt språk.
Interessert i utvikling?
Bla gjennom koden, sjekk ut SVN-repositoriet, eller abonner på utviklingsloggen med RSS.
Endringslogg
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