How to get product ID from a buy button collection through pure Javascript?

Chesterrific
New Member
1 0 0

I'm currently working on a shop on an external site so I don't have access to Shopify themes and such. Is there a way to get a productId from a collection created through the buy button?

 

Thanks so much in advance!

0 Likes