Products by vendor Map

This forum is where we'll mirror posts that are of value to the community so they may be more easily found.
Post Reply
User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Products by vendor Map

Post by mazhar » Mon Dec 22, 2008 8:58 am

The attachment contains two controls the VendorssList control which renders all available vendors as hyperlinks to the product display page. The second control is ProductsByVendors control responsible for listing products for a specific vendor. In order to install these controls extract the attachment and place these two files in your website's ConLib folder. Now Place VendorssList control on some of your store pages where you want your customer to select a vendor. Now place the ProductsByVendor control on some store page where you want to list the products by vendor. The final job is to edit the VendorsList file and adjust the hyperlink to meet your needs for example locate the following line of code

Code: Select all

<a href='ContactUs.aspx?VendorId=<%#Eval("VendorId") %>'>
and change ContactUs.aspx part to the name of page on which you placed your ProductsByVendor control. For example if the page name is abc.aspx then the above code should be something like

Code: Select all

<a href='abc.aspx?VendorId=<%#Eval("VendorId") %>'>

johns
Ensign (ENS)
Ensign (ENS)
Posts: 4
Joined: Mon Dec 22, 2008 7:33 am

Re: Products by vendor Map

Post by johns » Tue Dec 23, 2008 10:18 pm

hi,

Thank you very much for your help

Post Reply