Recently, we converted a theme to include variants using the link on Shopify's site. However, after we finished the tutorial, the variant number started showing up automatically in the address bar on any page with a collection. If I remove the selectCallback function from the js file, it goes away. Ideally, it would be best to not have the variant number from showing up in address bar/URL. Unfortunately, removing the selectCallback also removes some of the functionality of the variant images.
Any help on this?