Get current product variable from subpage

Highlighted
New Member
1 0 0

Hey guys,

I'm trying to create sizing info that is individual to each product.

I created a sub-page using a collapsibles-wrapper and want to change the displayed sizing info based on the current products tags.

 

In pseudocode it should look something close to this:

if (product.tags contains sizingInfo1){

display sizingChart1;

} else {

display sizingChart2;

}

 

My problem is that I can't access the current product.id nor the product.tags from my sizing info subpage.

Is there some way to get around that?

 

I appreciate any help.

Best wishes and stay safe!

0 Likes