• Hi there!

    I received an email from a client who was getting the parent product image appearing for their variations.

    Taking a look here, it appears that’s exactly what’s going on in the code. If that’s the case, I wonder if you’d consider supporting variation images by checking if $item[‘variant_id’] isn’t empty, then passing it to wc_get_product() when creating the $product variable, and falling back to $cartitem['product_id'] otherwise? Or by adding a new key for variation images to the $data['items'] array?

    Thanks!

  • The topic ‘Support variation images’ is closed to new replies.