Page 1 of 1

Mini Basket Update/Delete buttons problem

Posted: Mon May 20, 2013 1:38 pm
by jguengerich
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?

Re: Mini Basket Update/Delete buttons problem

Posted: Tue May 21, 2013 9:52 am
by mazhar
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.

Re: Mini Basket Update/Delete buttons problem

Posted: Tue May 21, 2013 10:34 am
by jguengerich
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.

Re: Mini Basket Update/Delete buttons problem

Posted: Tue Oct 01, 2013 11:58 pm
by crockettdunn
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.

Re: Mini Basket Update/Delete buttons problem

Posted: Wed Oct 02, 2013 6:40 am
by jguengerich
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.