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

Notification

Icon
Error

EgonzalezSD
#1 Posted : Thursday, August 21, 2008 2:49:11 PM(UTC)
EgonzalezSD

Rank: Member

Joined: 8/8/2008(UTC)
Posts: 3

Does anyone know how I edit the product grid to include the price of an item underneath the image of the item? Thanks.
Aaron
#2 Posted : Wednesday, December 9, 2009 8:15:42 AM(UTC)
Aaron

Rank: Administration

Joined: 4/2/2004(UTC)
Posts: 2,381
United States
Location: Hummelstown, PA

Thanks: 6 times
Was thanked: 163 time(s) in 158 post(s)
Originally Posted by: "EgonzalezSD" Go to Quoted Post
Does anyone know how I edit the product grid to include the price of an item underneath the image of the item?

What area(s) of the site are you trying to change? Category page grids show the price under the image out-of-the-box with the standard themes.
Aaron Sherrick
BV Commerce
Toll-free 888-665-8637 - Int'l +1 717-220-0012
Customizer
#3 Posted : Wednesday, December 23, 2009 1:26:48 AM(UTC)
Customizer

Rank: Member

Joined: 9/26/2008(UTC)
Posts: 121

If you are talking about Product Grid control from BV admin then it needs to be customized to show site price. To do it go to BVModules>ContentBlocks>Product Grid and open view.ascx. Put the following code where you want to display your price:


Code:

<div><asp:HyperLink ID="lnkProductPrice" runat="server"></asp:HyperLink></div>

Then open view.ascx.vb and place following code somewhere under "If p IsNot Nothing AndAlso p.IsVisible Then"


Code:

Dim lnkProductPrice As HyperLink = DirectCast(e.Item.FindControl("lnkProductPrice"), HyperLink)
lnkProductPrice.Text = p.SitePrice
lnkProductPrice.NavigateUrl = Utilities.UrlRewriter.BuildUrlForProduct(p, Me.Page.Request)

It's just the most simple approach. If you want something more exotic then it's better to hire developer for this.

Regards
http://www.software-development-innovations.com - affordable web customization and development service
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