Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi
Im trying to create Related products.
I have masteproducts and the products to show in the store.
To select the related products i use the Multinode tree picker.
//Related products string relProStr = TC.GetPropertyValue(storeId, product, "relatedProducts"); string[] relProIds = relProStr.Split(new char[] { ',' }); string relProUrl = relProIds.Length > 0 ? Library.NodeById(relProIds[0]).Url : ""; @relProUrl
With this code i get the id´s of the related products from the "relatedProducts"
But im a bit lost here of how to get the url to the product in the store, as it is now i get the url to the MasterProduct
Any help or ideeas would be great, to point me in the right direction :)
René
HI
Sometimes a simpel solution can be complicated.
I just chamged the relatedProduct picker to choose from the products from the store instead of from the masterproducts.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Related products - Razor
Hi
Im trying to create Related products.
I have masteproducts and the products to show in the store.
To select the related products i use the Multinode tree picker.
With this code i get the id´s of the related products from the "relatedProducts"
But im a bit lost here of how to get the url to the product in the store, as it is now i get the url to the MasterProduct
Any help or ideeas would be great, to point me in the right direction :)
René
HI
Sometimes a simpel solution can be complicated.
I just chamged the relatedProduct picker to choose from the products from the store instead of from the masterproducts.
René
is working on a reply...