Ecart 5 PHP remove item not working correctly
If I have multiple items in my cart, and select one item to be removed, all items below that item are also removed.
I have included my shopping cart page and purchase page.
If I have multiple items in my cart, and select one item to be removed, all items below that item are also removed.
I have included my shopping cart page and purchase page.
This will happen when the items all have the same ID, make sure all of your products have unique ID values.
if you still have a problem, send a link where I can see the issue to investigate.
Hi,
I do have unique ID's.
Go to www.UltraAirVent.com and select the purchase page. Add different types to the cart each time you get to the cart hit the continue shopping to add the next item.
Then while on the cart page with several items, click on a remove check box somewhere below the first item. When you click the Update button you will see that all the items above the box checked are ok, but the items below where the box was checked all get removed.
I suspect this has something to do with repeat region.
This is something that used to work on Ecart 4 with .ASP
George
your cart page has multiple instances of the Update, clear cart and checkout server behaviors.
I would recommend recreating the cart page to make sure that there is only one instance of each of those behaviors added to the page.
Thank you, that corrected the problem.
Apparently if you delete the cart contents of the page in the design view, before running the display manager again, it does not delete the old server behaviors.
yes, you need to manually delete the server behaviors.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.