Can I combine Javascript SDK with Shopify BuyButton.js?

wolfschoeffel
Shopify Partner
3 0 0

Hello,

on an external site, I would like to add multiple (randomly selected) products to the cart when clicking a button.

Is it valid to use the Javascript SDK only for this functionality in addition to the Shopify BuyButton.js?

Can they be used together or will this cause problems?

I don’t want to recreate the whole shop experience with the JavaScript SDK.

Thank you!

Wolfgang

0 Likes