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.
|
|
|
|
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. |
|
|
|
|
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") |
|
|
|
|
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)
|
|
|
|
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.