When I click on Get estimate in the shopping cart (/shoppingcart.aspx), an additional "Update Cart" button shows up. Then when I click hide estimate, the update cart button goes away. Any way to fix this bug?
When I click on Get estimate in the shopping cart (/shoppingcart.aspx), an additional "Update Cart" button shows up. Then when I click hide estimate, the update cart button goes away. Any way to fix this bug?
Chris Martz
United Art & Education
I don't see an extra 'Update Cart' button when the Shipping Estimate panel shows up. Where is it exactly located? Please post a screenshot.
I have attached a screenshot of before I click get estimate, as well as after I click get estimate.
Chris Martz
United Art & Education
I'm not able to duplicate this here...are you on VB or C#? Has there been any customization?
We cannot duplicate this, really. But, you can send into support and will try to provide you the stock shoppingcart.aspx file.
We have experienced this issue as well, I just haven't looked into it just yet.
I see this issue as well with a stock shoppingcart.aspx
Gotcha! The duplicate "Update Cart" button only appears when you have a kit product in the cart. Open your shoppingcart.aspx and comment out this line:
Will update this in our build.Code:<asp:Button ID="btnUpdateCart2" runat="server" Text="<%$ Tokens:StringResource,shoppingcart.cs.110 %>" CssClass="UpdateCartButton" />
Alfred, I don't use kit products so this isnt the issue for me.
All my products are simple products with variants
Ok, even then. Try to follow my instructions and let me know if that fixes it. Thanks
That seems to have worked. While commenting this line out works, what would the real fix be?
Chris Martz
United Art & Education
No kits here either.
Here is a fix that I believe works other than commenting out the asp:button btnUpdateCart2 (which is needed if you have Order Options). Open shoppingcart.aspx.cs and modify the following if statement under InitializeOrderOptionControl() to add btnUpdateCart2.Visible = false;:
Code:if (cart.AllOrderOptions.Count > 0) { ctrlOrderOption.DataBind(); ctrlOrderOption.Visible = true; } else { ctrlOrderOption.Visible = false; btnUpdateCart2.Visible = false; }
Chris Martz
United Art & Education
I have added this as a bug (still an issue in current MSx9.3.1.0 software), although it doesn't have anything to do with Kit Products, but the Order Options.
When no Order Options exist, this issue exists. The second Update Cart button is for the Order Options, and is not handled properly when there aren't any.
Erik Sutton
AspDotNetStorefront Technical Support
How is it possible that this has been a known defect since 2010, yet it is still there and is now being added to the bug report?????
The software is quite expansive (and apparently very few customers do not use Order Options). We do not have a dedicated bug team to constantly work out every scenario (just not possible), having to leave it instead to reported issues following reasonable testing for a new release. This also helps us to determine extent of the issue, such as how often and when an issue pops up.
Our developers often fix hundreds of bugs per release, but we must be aware of a bug in order to fix it, and we must prioritize those bugs for repairs.
Erik Sutton
AspDotNetStorefront Technical Support