an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > Using DotShoppingCart > Manufacturer List Block
Last Post 8/23/2012 5:46:04 PM By Travis. 4 replies.
8/18/2012 4:52:52 PM
Travis
Posts: 21
Joined: 12/18/2007
Manufacturer List Block
When I add manufacturer block on left menu board, it displays Manufacturers' Logo and Name together.
I just wish to show Logos only. How do I make the name of the manufactureres name to dispear?
 
 
8/21/2012 8:09:37 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Manufacturer List Block
Enable the page editor and then edit the manufacturer block. You should see the option to not to display image.
DotShoppingCart Staff
8/21/2012 8:38:14 AM
Travis
Posts: 21
Joined: 12/18/2007
Re: Manufacturer List Block
I see that but what i want is to have manufacturer name to disappear.
8/23/2012 12:34:53 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Manufacturer List Block
In web\store\blocks\ManufacturerList.ascx, find the following code and remove the yellow highlighted code.
 

<ItemTemplate>

<td runat="server" style="<%# GetManufacturerGridStyle() %>">

<div class="ManufacturerHolder">

<a id="lnkProducts" runat="server" class="bar" href='<%# SiteNavigation.ResolveAbsoluteUrl(false, SiteNavigation.ResolveUrl(String.Format("Store/ManufacturerProducts.aspx?mid={0}", Eval("ManufacturerId")))) %>'>

<div>

<img id="Img1" runat="server" alt="" src='<%# FileController.GetImageUrl((int?)Eval("ImageId"), manufacturerListData.ImageWidth, manufacturerListData.ImageHeight) %>'

visible='<%# (manufacturerListData.ImageWidth > 0) && (manufacturerListData.ImageHeight > 0) %>' />

</div>

<div class="ManufacturerName"><%# Eval("Name") %></div>

</a>

</div>

</td>

</ItemTemplate>

 
DotShoppingCart Staff
8/23/2012 5:46:04 PM
Travis
Posts: 21
Joined: 12/18/2007
Re: Manufacturer List Block
I know this is very ludmentary question and thank you so much for answering.
I have fixed it and its now working as I wish.
 
Without knowing ASP, I just hate to guess and make wrong changes in code. This information gives me more confidence in changing code in DSC.
DSC is working so smooth that I really do not like to touch any code without absolute confidence.
 
Thanks as always.