Shopify Javascript in Ajax

New Member
1 0 0



I am trying to pull Tag information from within javascript to use on the AJAX cart drawer, however I can not figure out how to get the Tag information from products.

The following code works great for pulling item variant IDs and is perfect, however I cant figure out what the code would be to pull product tag information. 

$.each(cart.items,function(key, item) {

if ( item.variant_id == 17821649502259 )

Tried to find it out with the output of a "console.log" however nothing shows the Tags of the products.

Any help would be very appreciated thanks

Replies 0 (0)