{% assign use_variant_images = false %}
{%- if use_variant_images and variant.images[0] -%}
{%- assign images = variant.images -%}
{%- else -%}
{%- assign images = product.images -%}
{%- endif -%}