Title: Variable products with multiple images
Last modified: August 31, 2016

---

# Variable products with multiple images

 *  Resolved [SHiRKiT](https://wordpress.org/support/users/shirkit/)
 * (@shirkit)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/variable-products-with-multiple-images/)
 * Hello,
 * First and foremost, thanks for this awsome plugin, it’s just the best.
 * Let me describe the situation:
    – I have a product that can have two attributes*
   location: has no effect on the price * length: the bigger the more expensive –
   Each of those attributes has 10 different options
 * Now, I want to place some images to those variations, and configure those variations
   in a meaningful way:
    – I setup both ‘location’ and ‘length’ to be used in the
   VARIATIONS, but I created only 10 variations, one for each ‘length’, and each
   one of those variations has a ‘any location’ attribute.
 * Now to the issue:
    – I wanted to configure this in one of the following options(
   in order of desire): 1. When the user first selects a ‘length’, I wanted to display
   an image for that specific length, then, when the user changes the location, 
   I wanted to replace the image with the specific location the user has chosen.
   2. ‘length’ having no impact on which images are displayed, only ‘location’.
 * So, how do I achieve 1, and if not possible, 2?
 * And the most important result I wanted:
    – Display a specific image whenever 
   the user selects whether ‘length’ or ‘location’ based on whichever the user has
   selected the last. I have two dropdowns, but whenever a user choses one of those
   options, change the image.
 * [https://wordpress.org/plugins/woocommerce/](https://wordpress.org/plugins/woocommerce/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Contributor [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/variable-products-with-multiple-images/#post-7392936)
 * With the way variations work, if you needed an image for each combination of 
   location + length, that would mean having a variation for each of those options
   too.
 * That would give you # of length * # of locations variations.
 * What are you selling might I ask?
 *  Thread Starter [SHiRKiT](https://wordpress.org/support/users/shirkit/)
 * (@shirkit)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/variable-products-with-multiple-images/#post-7392957)
 * What happens is that the way variations work, I can’t do what I desire.
 * I’m selling personal training (‘length’ is actually duration misspelled) on open
   places (‘location’). The location for me doesn’t matter, only the ‘length’ affects
   the price. But would be nice for the person to actually SEE the image for each
   location and I wanted to have a nice image for each one of those ‘length’ that
   the user chooses.
 * But the way variations work, I can only submit an image to the combination ‘length’
   + ‘location’, instead of having 10 images for locations, and 10 images for length,
   and whenever the user chooses something, display one of those 20 images.
 * I don’t even know if I managed to explain the issue clearly.
 *  Thread Starter [SHiRKiT](https://wordpress.org/support/users/shirkit/)
 * (@shirkit)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/variable-products-with-multiple-images/#post-7392962)
 * So I found exactly the solution I needed ( [https://www.woothemes.com/products/composite-products/](https://www.woothemes.com/products/composite-products/))
 * So I spent around 6 hours trying to see how I could achieve that, started even
   looking at the API so I can try to come up with something with AJAX, and the 
   solution was out there all the way.
 * Sorry, but IMO you guys or need functional DEMOS, or VIDEOS for each of those
   marvelous extensions, because by READING it’s impossible to have the same experience.
 *  Plugin Contributor [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/variable-products-with-multiple-images/#post-7393080)
 * Will pass it on thanks.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Variable products with multiple images’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3640790)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/variable-products-with-multiple-images/#post-7393080)
 * Status: resolved