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

Notification

Icon
Error

sarahfsd
#1 Posted : Friday, September 28, 2007 7:18:38 AM(UTC)
sarahfsd

Rank: Member

Joined: 8/28/2007(UTC)
Posts: 36

hi
I want to add a link to shoping cart and total no of products in shoping cart on each page in content control.is it possible to add it in controls.
Chris Dittmeier
#2 Posted : Friday, September 28, 2007 8:03:14 AM(UTC)
Chris Dittmeier

Rank: Member

Joined: 1/3/2004(UTC)
Posts: 1,497

You would need to look at the code already in the BVC5 theme header.ascx file. It has the link and the control that shows the cart totals.
Chris
Sirius Programming

www.siriusprogramming.com
Cliff
#3 Posted : Friday, September 28, 2007 1:33:41 PM(UTC)
Cliff

Rank: Member

Joined: 5/24/2004(UTC)
Posts: 4,147

Look in ~/BVModules/Controls/CartTotals.aspx.vb. For example, the act of grabbing the total quantity in the cart is done with:
Code:
SessionManager.CurrentShoppingCart.TotalQuantity.ToString("0")
sarahfsd
#4 Posted : Friday, September 28, 2007 11:21:22 PM(UTC)
sarahfsd

Rank: Member

Joined: 8/28/2007(UTC)
Posts: 36

is it possible to add this control out side header. i want to add it in content column 1 of the home page (at the left side)
Cliff
#5 Posted : Sunday, September 30, 2007 4:05:02 PM(UTC)
Cliff

Rank: Member

Joined: 5/24/2004(UTC)
Posts: 4,147

You can put it wherever you want. If you want to place it in content columns via the admin, you can use the code in that control to help you build a ContentBlock module.
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