FROM CACHE - en_header

How I can get cart detail on home page

Solved
User123445
Shopify Partner
14 1 6

 Hi,

How I can get cart detail on home page

Accepted Solution (1)

Accepted Solutions
User123445
Shopify Partner
14 1 6

This is an accepted solution.

thank you for a quick response, let me try this.

View solution in original post

Replies 3 (3)
DigiXoft
Shopify Partner
109 18 71

Hi, a very good question

 

You can simple call this api

$.getJson('/cart',function(res){console.log(res);})

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on arslan@digixoft.com regarding any help
Shopify Partner | Skype : arslan.saleem261
User123445
Shopify Partner
14 1 6

This is an accepted solution.

thank you for a quick response, let me try this.

User123445
Shopify Partner
14 1 6

it works, thank you