function imgError(img) {
  img.src = '/images/emptyProduct.png';
  img.onerror = "";
  return true;
}