Back button. Change url in shopify integration?

Questions & AnswersCategory: QuestionsBack button. Change url in shopify integration?
Marc asked 4 years ago

Is it possible to change the “back” button to a certian URL instead last visited page? 
And if, how? 

1 Answers
Expivi WS Staff answered 4 years ago

Hi Marc,
This is can be done through javascript.
First, You can disable the default functionality through javascript:


Second, attach your own logic to the button:

document.querySelector(".expivi-closer").addEventListener("click", function(){});
Scroll to Top