• Resolved wpshushu

    (@wpshushu)


    Hi,

    On single producat page, is there an JS API to grab the product object or all variations array in order to iterate through each one of them?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Saif

    (@babylon1999)

    Hello @wpshushu,

    I’m not sure if I fully understand your request. Can you please elaborate more and attach some screenshots where possible?

    You can upload them to Snipboard.

    Look forward to hearing back from you.

    Thread Starter wpshushu

    (@wpshushu)

    Thanks, I’ve sorted this out by capturing data-product_variations property on form.variations.

    Hi @wpshushu

    Okay, cool, glad you were able to sort it out. If you have any new questions, please create a new ticket.

    Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘single product page, loop through all variations with Javascript’ is closed to new replies.