gordon_moe
07-05-06, 09:53 PM
Spent a fair amount of time working on a VC CPT layout that will allow a link to the product detail page only when the product has related items.
Thanks to Bruce -Phosphor Media- the conditional works, HOWEVER, all text links point to the same product. See here:
http://www.nordicneedle.com/Merchant2/merchant.mvc?Screen=CTGY&Category_Code=G06-04-00
or
http://snipurl.com/sryb
Rollover and notice that all links go to the product at the end of the list! Frustrating. I'm suspecting a 'token order processing' issue.
Code in "Related Products main template" of CPT is:
%IF(RelatedProducts.d.product_id)%
<a href="/Merchant2/merchant.mvc?Screen=PROD&Store_Code=NN&Product_Code=%prodcode%">
This TEXT LINK to Product only appears if there are related items</a>
%ELSE%
this appears because product does not have Related Products
%IFEND%
Thanks to all in advance.
Gordon
Thanks to Bruce -Phosphor Media- the conditional works, HOWEVER, all text links point to the same product. See here:
http://www.nordicneedle.com/Merchant2/merchant.mvc?Screen=CTGY&Category_Code=G06-04-00
or
http://snipurl.com/sryb
Rollover and notice that all links go to the product at the end of the list! Frustrating. I'm suspecting a 'token order processing' issue.
Code in "Related Products main template" of CPT is:
%IF(RelatedProducts.d.product_id)%
<a href="/Merchant2/merchant.mvc?Screen=PROD&Store_Code=NN&Product_Code=%prodcode%">
This TEXT LINK to Product only appears if there are related items</a>
%ELSE%
this appears because product does not have Related Products
%IFEND%
Thanks to all in advance.
Gordon