How to implement a locate me button in the cart drawer ?

Zackraez
Tourist
13 0 1

I have added a locate me button within the cart page of my store, But now I have set my cart type to a drawer (Impulse theme), I have been facing issues with setting the button on the cart drawer.

 

Here is the locate me button on the cart page:

2.jpgOne.jpg

 

I have been trying to set the locate me button in the cart drawer, but I cannot figure it out.

 

Locate-me button code:

https://raw.githubusercontent.com/Zack170/Locate-me/master/Locateme

 

Cart drawer source code:

https://raw.githubusercontent.com/Zack170/Cart-drawer.liquid/master/cart-drawer.liquid

 

Could Anyone help me with setting up the locate me button on the cart drawer?

 

0 Likes