Title: Programmatically select variation option
Last modified: May 22, 2019

---

# Programmatically select variation option

 *  Resolved [pierrehooker](https://wordpress.org/support/users/pierrehooker/)
 * (@pierrehooker)
 * [7 years ago](https://wordpress.org/support/topic/programmatically-select-variation-option/)
 * Hello,
 * I am trying to figure out how to programmatically select buttons via jquery.
 * I have a bundled product, where the variations are right and left handed. I need
   to figure out how to make it so that if a client changes the hand from the default(
   right) to left handed that it flips all the product variations on that page to
   left handed. So they dont have to go make the same selection over and over.
 * Any recommendations you can provide would be much appreciated.

Viewing 1 replies (of 1 total)

 *  [wpeshaan](https://wordpress.org/support/users/wpeshaan/)
 * (@wpeshaan)
 * [7 years ago](https://wordpress.org/support/topic/programmatically-select-variation-option/#post-11604380)
 * [@pierrehooker](https://wordpress.org/support/users/pierrehooker/),
 * Could you show me any example of it?
 * Thank You

Viewing 1 replies (of 1 total)

The topic ‘Programmatically select variation option’ is closed to new replies.

 * ![](https://ps.w.org/woo-variation-swatches/assets/icon-256x256.gif?rev=3157951)
 * [Variation Swatches for WooCommerce](https://wordpress.org/plugins/woo-variation-swatches/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-variation-swatches/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-variation-swatches/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-variation-swatches/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-variation-swatches/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-variation-swatches/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [wpeshaan](https://wordpress.org/support/users/wpeshaan/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/programmatically-select-variation-option/#post-11604380)
 * Status: resolved