Hello All,
We like to catch customer's city when certain event is change. So, I was trying to run below code in checkout.liquid.
It happen nothing. Is that below script run after we did event in checkout page? isn't it?
Is there anything I need to aware of this?
(function($) {
$(document).on("page:load page:change", function() {
if (Shopify.Checkout.step === "contact_information")
{ // Add content
console.log('I am here');
}
});
})(Checkout.$)
User | Count |
---|---|
13 | |
12 | |
7 | |
6 | |
4 |