src/js/sections/product.js
/**
   * Updating the featured image
   *
   * @param {string} imgSrc - Image src url
   * @param {string} imgAltText - Alt text for the image
   */
Updating the featured image
@param {string} imgSrc - Image src url
@param {string} imgAltText - Alt text for the image
Updating the featured image @param { string } imgSrc - Image src url @param { string } imgAltText - Alt text for the image
handleThumbnailClick(event) {
    event.preventDefault();
    featuredImage.src = event.currentTarget.href;
    featuredImage.alt = event.target.alt;
    featuredImage.srcset = '';
  }
handleThumbnailClick ( event ) { event . preventDefault ( ) ; featuredImage . src = event . currentTarget . href ; featuredImage . alt = event . target . alt ; featuredImage . srcset = '' ; }
Updating the featured image
 @param {string} imgSrc - Image src url
 @param {string} imgAltText - Alt text for the image
Updating the featured image @param { string } imgSrc - Image src url @param { string } imgAltText - Alt text for the image
// Unset srcset as it overrides src