• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

sternyy
#1 Posted : Wednesday, May 14, 2008 4:57:30 PM(UTC)
sternyy

Rank: Member

Joined: 1/10/2005(UTC)
Posts: 714

Thanks: 14 times
Was thanked: 1 time(s) in 1 post(s)
Is there any way to display the product manfacturer dynamically on the product page? It seems like putting a product type for each manfacturer could be tedious. Id rather display it dynamically, just like a price or sku number. I tried LocalProduct.ManufacturerId, but that will only display the manufacturer ID, not the manufacturer name.
Thanks,

Bryan
lcasey
#2 Posted : Thursday, May 15, 2008 2:52:16 PM(UTC)
lcasey

Rank: Member

Joined: 4/22/2004(UTC)
Posts: 280

[3]Edit product.aspx.vb for your Product Template by adding this . . .[/3][3]<SPAN style="mso-tab-count: 1">


[code]
Dim m As Contacts.Manufacturer = Contacts.Manufacturer.FindByBvin(LocalProduct.ManufacturerId)
Me.lblManufacturer.Text = m.DisplayName
[/3][3]somewhere - like under this line . . .<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>[/3]

<o:p>[3] [/3]</o:p>[3]<SPAN style="mso-tab-count: 1"> Me.lblDescription.Text = Me.LocalProduct.LongDescription<o:p></o:p>[/3]

<o:p>[3] [/3]</o:p>

[3]Edit product.aspx for your Product Template by adding this . . .<o:p></o:p>[/3]
[3]<SPAN style="mso-tab-count: 1">

[code]
&lt;div id="ManufacturerName"&gt;
&lt;asp:Literal ID="lblManufacturer" runat="server" EnableViewState="false"&gt;&lt;/asp:Literal&gt;
&lt;/div&gt;
[/3]Linette
[email protected]
#3 Posted : Thursday, May 15, 2008 4:06:00 PM(UTC)
gdelorey@mitcs.com

Rank: Member

Joined: 10/11/2006(UTC)
Posts: 162

Thanks: 1 times
Great, works awesome. I just emailed support about this same thing yesterday. Thanks for sharing Linette.

: Greg
sternyy
#4 Posted : Thursday, May 15, 2008 4:22:15 PM(UTC)
sternyy

Rank: Member

Joined: 1/10/2005(UTC)
Posts: 714

Thanks: 14 times
Was thanked: 1 time(s) in 1 post(s)
yup works great... thanks!
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012