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.
|
|
|
|
Rank: Administration
Joined: 4/2/2004(UTC) Posts: 2,393 Location: Hummelstown, PA Thanks: 6 times Was thanked: 163 time(s) in 158 post(s)
|
Originally Posted by: "EgonzalezSD" 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 |
|
|
|
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 |
|
|
|
|
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.