Mini Basket Update/Delete buttons problem

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
jguengerich
Commodore (COMO)
Commodore (COMO)
Posts: 436
Joined: Tue May 07, 2013 1:59 pm

Mini Basket Update/Delete buttons problem

Post by jguengerich » Mon May 20, 2013 1:38 pm

Using GOLD build 5410.

I have configured my RightSidebar layout to have just the Mini Basket in the right column. Then I edited the first line of AdvancedSearch.aspx, changing

Code: Select all

MasterPageFile="~/Layouts/Fixed/OneColumn.Master
to

Code: Select all

MasterPageFile="~/Layouts/RightSidebar.Master
The Mini cart shows properly on the Advanced Search page, and it is updated when adding items to the cart. However, the Update and Delete buttons for each item in the Mini Cart do not work. When I click the Update button, the quantity changes back to the original value. When I click the Delete button, The "Are you sure...?" prompt appears, but after clicking OK the item is still shown in the Mini Cart. Going to the "full" cart page confirms that the quantities have not been changed and items have not been removed from the cart.

Is there something else I have to do to get this to work, or is this a bug?
Jay

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Mini Basket Update/Delete buttons problem

Post by mazhar » Tue May 21, 2013 9:52 am

I think this is happening due to disabled view state. Remove

Code: Select all

ViewStateMode="Disabled"
from the end of very first line in AdvanceSearch.aspx page, save the file and then try again to update/delete items in mini basket. Hopefully it will work.

jguengerich
Commodore (COMO)
Commodore (COMO)
Posts: 436
Joined: Tue May 07, 2013 1:59 pm

Re: Mini Basket Update/Delete buttons problem

Post by jguengerich » Tue May 21, 2013 10:34 am

Well, that makes the mini cart work correctly. However, now when I click either button in the mini cart, or the Add to Cart button for one of the products, the search results Price column goes blank and all the Add to Cart buttons disappear.
Jay

User avatar
crockettdunn
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 105
Joined: Sun Oct 26, 2008 6:32 pm
Contact:

Re: Mini Basket Update/Delete buttons problem

Post by crockettdunn » Tue Oct 01, 2013 11:58 pm

I experienced the problem with the uc:price as well, and worked around it by using just price, not the user control (which makes any pricing rules no longer work). I can look back at my code and give more specifics if you're still experiencing this.

jguengerich
Commodore (COMO)
Commodore (COMO)
Posts: 436
Joined: Tue May 07, 2013 1:59 pm

Re: Mini Basket Update/Delete buttons problem

Post by jguengerich » Wed Oct 02, 2013 6:40 am

Thanks for the offer. I ended up switching back to the OneColumn layout for the AdvancedSearch page. I'm probably not going to use the AdvancedSearch page in our production site anyway.
Jay

Post Reply