#28088 Switch over of swatch URL link from GAP portal to PIM

- Replace the code for restructuring URL of swatch and call the product.metafields object in search.json.liquid file
- Edit the js function on collection page that will render the color selection same on product page