buybutton js insert set of products and for each product one or more variants

Antonio84
Tourist
19 0 0

Hello, I need to add a set of products with specific variants.

 

 

ui.createComponent('productSet', {
id: 1234,
variantId: [4567,3456],
id: 2234,
variantId: [745]
.
.
.

 

 

How to add variants for each product in productSet?

0 Likes