Color Swatch Fix

Use this code if color swatches are not updating product image.

Code Fix

Open _theme.js and find the following line of code:

$(document).ready(function() {

  Place this code under:
  $('.swatch-element').click(function(){
    var swatchChose = $(this).data("value");
    $('#product-select-option-0').val(swatchChose).trigger('change');
  });

Leave a comment