Hi!
I have a list of products that are shown when you click on a link with a certain GroupID in the parameter list, eg default.aspx?ID=2&GroupID=GROUP1
Each product in the list contains a link to the specific product page,
Default.aspx?
ID=2&GroupID=GROUP1&productid=A12B,
when I click on a link to a product all the other products in the list disappears. I want to display products and groups independent of each other on the same page.
How can this be accomplished?
Best regards,
Per
Developer forum
E-mail notifications
Show products and groups
Posted on 21/09/2010 13:22:28
Replies
Posted on 21/09/2010 14:03:17
Try adding a PID parameter to the query string containing the ID of the paragraph where you want to display the product:
Default.aspx?ID=2&GroupID=GROUP1&productid=A12B&PID=[ID of target paragraph]
You need to paragraphs on the target page to do this. One paragraph containing the groups and one paragraph displaying the product (the one mentioned above).
Default.aspx?ID=2&GroupID=GROUP1&productid=A12B&PID=[ID of target paragraph]
You need to paragraphs on the target page to do this. One paragraph containing the groups and one paragraph displaying the product (the one mentioned above).
Posted on 22/09/2010 09:07:12
Hi!
The real problem is that I want to display a list of products in a certain group, and when I click on a product the product detail shall be displayed, BUT I want this list to be visible even after I have clicked on a product, just like a menu.
Best regards,
P
The real problem is that I want to display a list of products in a certain group, and when I click on a product the product detail shall be displayed, BUT I want this list to be visible even after I have clicked on a product, just like a menu.
Best regards,
P
Posted on 01/10/2010 11:01:46
Hi,
That's not possible using this approach, however, using a different parameter than productid in your query string, you could acheive this by iterating through the products loop twice in an XSLT template. Once for building the menu and once for displaying a product in the loop having the same product id as specified in the custom querystring parameter. A product is rendered the same way in list mode and detail mode, so in your list you'll have all tags products accessible.
BR.
Lars
That's not possible using this approach, however, using a different parameter than productid in your query string, you could acheive this by iterating through the products loop twice in an XSLT template. Once for building the menu and once for displaying a product in the loop having the same product id as specified in the custom querystring parameter. A product is rendered the same way in list mode and detail mode, so in your list you'll have all tags products accessible.
BR.
Lars
You must be logged in to post in the forum