I am using this array:
<mvt:foreach iterator="product" array="sub_products">
Each product code is obtained via: &mvt:product:code;
My code to obtain each uri product link is below, however, no luck getting the product uri link. Any suggestions?
<mvt:foreach iterator="product" array="sub_products">
<mvt:assign name="l.uri:product_id" value="l.settings:product:code" />
<mvt:do file="g.Module_Feature_URI_DB" name="l.have_uri" value="URI_Load_Item_Canonical( l.uri, l.settings:canonical_uri )" />
<mvt:if expr="l.have_uri">
&mvt:canonical_uri:uri; //comment even &mvt:product:link; is a no go
</mvt:if>
<mvt:foreach iterator="product" array="sub_products">
Each product code is obtained via: &mvt:product:code;
My code to obtain each uri product link is below, however, no luck getting the product uri link. Any suggestions?
<mvt:foreach iterator="product" array="sub_products">
<mvt:assign name="l.uri:product_id" value="l.settings:product:code" />
<mvt:do file="g.Module_Feature_URI_DB" name="l.have_uri" value="URI_Load_Item_Canonical( l.uri, l.settings:canonical_uri )" />
<mvt:if expr="l.have_uri">
&mvt:canonical_uri:uri; //comment even &mvt:product:link; is a no go
</mvt:if>
Comment