BV Commerce Forum
»
BV Commerce Support
»
General Support
»
How to take advantage of BV 5.4's new feature "Cart Multi Quick Add" just add one item on
Rank: Member
Joined: 10/4/2007(UTC) Posts: 20
|
I try to add an easy add-to-cart button from my regular .html webs. How can I take advantage of BV 5.4 new feature "Cart Multi Quick Add" How to just add one item instead of multiple items per add-to-cart button?
|
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 1,786
|
Did you look at the readme file with the download? You don't have to add more than one item in the querystring. You can just add one.
<a href="http://www.mystore.com/cart.aspx?multi=ABC123:1">Add One ABC123 Item to Cart</a>
|
|
|
|
Rank: Member
Joined: 12/1/2008(UTC) Posts: 31
|
When I try that link I get it added to the cart but my page says the cart is empty keep shopping.
Here is the link I am trying to use. http://localhost:2254/www/Cart.aspx?multi=31B-001-13
Thanks
Dan
|
|
|
|
Rank: Member
Joined: 12/23/2003(UTC) Posts: 909
|
http://localhost:2254/www/Cart.aspx?multi=31B-001-13 try this: http://localhost:2254/www/Cart.aspx?multi=31B-001-13:1 Difference being the :1 appended to it. may or may not work. wondering if it being local may affect it working properly. |
|
|
|
|
Rank: Member
Joined: 2/16/2006(UTC) Posts: 11
|
There is a bug in cart.aspx.vb.
Find this function
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Utilities.WebForms.MakePageNonCacheable(Me)
Me.btnContinueShopping.ImageUrl = PersonalizationServices.GetThemedButton("ContinueShopping") Me.btnUpdateQuantities.ImageUrl = PersonalizationServices.GetThemedButton("Update") Me.btnCheckout.ImageUrl = PersonalizationServices.GetThemedButton("Checkout") Me.btnAddCoupon.ImageUrl = PersonalizationServices.GetThemedButton("Go")
MessageBox1.ClearMessage()
LoadCart() If Not Page.IsPostBack Then CheckForQuickAdd() Else If Not _InputsAndModifiersLoaded Then ViewUtilities.GetInputsAndModifiersForLineItemDescription(Me.Page, ItemGridView) End If End If AddHandler CrossSellDisplay1.AddToCartClicked, AddressOf Me.AddToCartClicked End Sub
and replace it with
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Utilities.WebForms.MakePageNonCacheable(Me)
Me.btnContinueShopping.ImageUrl = PersonalizationServices.GetThemedButton("ContinueShopping") Me.btnUpdateQuantities.ImageUrl = PersonalizationServices.GetThemedButton("Update") Me.btnCheckout.ImageUrl = PersonalizationServices.GetThemedButton("Checkout") Me.btnAddCoupon.ImageUrl = PersonalizationServices.GetThemedButton("Go")
MessageBox1.ClearMessage()
If Not Page.IsPostBack Then CheckForQuickAdd() LoadCart() Else LoadCart() If Not _InputsAndModifiersLoaded Then ViewUtilities.GetInputsAndModifiersForLineItemDescription(Me.Page, ItemGridView) End If End If AddHandler CrossSellDisplay1.AddToCartClicked, AddressOf Me.AddToCartClicked End Sub
[red] [/red]
|
|
|
|
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.