BV Commerce Forum
»
BV Commerce Support
»
General Support
»
Thanks everyone! - adding and/or moving "Continue Shopping" to top of cart
Rank: Member
Joined: 6/1/2004(UTC) Posts: 720
|
How can I add another instance of the "continue shopping" button to the top of the cart? I have tried copying what I think to be the code up to the top but my pages are getting an error.
Thanks, Derek |
|
|
|
|
Rank: Member
Joined: 12/23/2003(UTC) Posts: 909
|
flying blind, backup before you upload, test it on a dev site if you have one.
Cart.aspx
Update the second button placement code to:
<asp:ImageButton ID="btnContinueShopping2" runat="server" ImageUrl="~/BVModules/Themes/Bvc5/Images/Buttons/ContinueShopping.png" AlternateText="Continue Shopping" />
<b>open Cart.aspx.vb</b>
around line 18, add
Me.btnContinueShopping2.ImageUrl = PersonalizationServices.GetThemedButton("ContinueShopping")
Around line 166, add this:
Protected Sub btnContinueShopping2_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles btnContinueShopping.Click MessageBox1.ClearMessage() Dim destination As String = GetKeepShoppinglocation() Response.Redirect(destination) End Sub |
|
|
|
|
Rank: Member
Joined: 6/1/2004(UTC) Posts: 720
|
excellent, thanks again Matt! |
|
|
|
|
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.