Variant ID not reflecting in console

maggiescene
Tourist
6 0 1

Hi. We're using Retail Rocket and we want to see the variant ID reflect on the console in real time without refreshing the page. But it's not working and it's only getting the default variant ID of the product. It only works whenever we click another variant and refresh the page.

This is a snippet of the code in the console and we want to see the variant ID change in real time in console as we click another ID.

maggiescene_0-1618209362172.png

Please help. Thanks.

0 Likes