Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Kind Regards
Nilla Maunu
Solved! Go to the solution
This is an accepted solution.
I figured it out: Go to edit code find folder: global.js in that folder search for:
updateURL() { if (!this.currentVariant || this.dataset.updateUrl === 'false') return; window.history.replaceState({}, '', `${this.dataset.url}?variant=${this.currentVariant.id}`); }
Replace with:
updateURL() {
if (!this.currentVariant || this.dataset.updateUrl === 'false') return;
}
This is an accepted solution.
I figured it out: Go to edit code find folder: global.js in that folder search for:
updateURL() { if (!this.currentVariant || this.dataset.updateUrl === 'false') return; window.history.replaceState({}, '', `${this.dataset.url}?variant=${this.currentVariant.id}`); }
Replace with:
updateURL() {
if (!this.currentVariant || this.dataset.updateUrl === 'false') return;
}
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025