Title: Variation Image does not replace product image
Last modified: October 31, 2019

---

# Variation Image does not replace product image

 *  Resolved [Renz_r](https://wordpress.org/support/users/renz_r/)
 * (@renz_r)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/variation-image-does-not-replace-product-image/)
 * I’ve implemented Variable products but I’m having an issue.
 * 1) It shows two product images when it should only show one
    2) when swatch is
   selected it replaces the second image but does not get rid of the first.
 * Essentially I need to know how to fix it to have one product image, which is 
   replaced by the variable image once selected. Please note images are uploaded
   in the variable section in the product page.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fvariation-image-does-not-replace-product-image%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [wprock](https://wordpress.org/support/users/wprock/)
 * (@wprock)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/variation-image-does-not-replace-product-image/#post-12082209)
 * Top one image is adding via your theme’s code or settings. WooCommerce is not
   adding the top one. You will check your theme.
 *  Thread Starter [Renz_r](https://wordpress.org/support/users/renz_r/)
 * (@renz_r)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/variation-image-does-not-replace-product-image/#post-12082258)
 * in the functions.php file?
 *  Thread Starter [Renz_r](https://wordpress.org/support/users/renz_r/)
 * (@renz_r)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/variation-image-does-not-replace-product-image/#post-12082259)
 * What would I be looking for code wise?
 *  Plugin Support [Fernando a11n](https://wordpress.org/support/users/fhaps/)
 * (@fhaps)
 * Automattic Happiness Engineer
 * [6 years, 6 months ago](https://wordpress.org/support/topic/variation-image-does-not-replace-product-image/#post-12116125)
 * [@renz_r](https://wordpress.org/support/users/renz_r/) Have you been able to 
   fix the issue now?
 * When I visit the page, I select a variation and I only see an image being displayed
   as the main picture – along with the thumbnails for the rest of images in the
   product gallery.
 * See here: [https://cld.wthms.co/p9qgmW](https://cld.wthms.co/p9qgmW)
 * Let me know if I’m misunderstanding the setup and you are still having issues.
 *  Thread Starter [Renz_r](https://wordpress.org/support/users/renz_r/)
 * (@renz_r)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/variation-image-does-not-replace-product-image/#post-12116720)
 * Hi Fernando,
 * Already solved this last week mate sorry I didn’t close it off
    -  This reply was modified 6 years, 6 months ago by [Renz_r](https://wordpress.org/support/users/renz_r/).
 *  Plugin Support [Fernando a11n](https://wordpress.org/support/users/fhaps/)
 * (@fhaps)
 * Automattic Happiness Engineer
 * [6 years, 5 months ago](https://wordpress.org/support/topic/variation-image-does-not-replace-product-image/#post-12124705)
 * [@renz_r](https://wordpress.org/support/users/renz_r/) Thanks for confirming!
 * If you can, it’d be helpful if you include in a comment what was the solution–
   as that might help other users experiencing the same issue in the future.
 * Thanks!

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

The topic ‘Variation Image does not replace product image’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [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/)

 * 6 replies
 * 1 participant
 * Last reply from: [Fernando a11n](https://wordpress.org/support/users/fhaps/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/variation-image-does-not-replace-product-image/#post-12124705)
 * Status: resolved