URL To Remove Product

Request and discuss enhancements to ShopSite

URL To Remove Product

Postby miliscent » Tue Jan 09, 2007 12:24 pm

Hi there!

I'm using AJAX to provide a cooler cart experience. I can add products using the order anywhere url but haven't found a reliable way to build a url to remove them. Looking at the remove buttons in the cart it's using an array that get's reset when the cart is cleared but not when product are individually removed. If there was a url that used the sku to remove a line item I wouldn't have to call the clear cart url and add them all back.

Thanks.
miliscent
 
Posts: 5
Joined: Tue Jan 09, 2007 12:17 pm

Postby swsnow » Fri Apr 03, 2009 11:04 am

This is of course a workaround; however, an easy way may be to delete cookies set for the shopping cart domain then reload the "View Cart" URL using your AJAX call. This should return an empty cart.
swsnow
 
Posts: 3
Joined: Thu Apr 02, 2009 12:44 pm


Return to Enhancement Requests

Who is online

Users browsing this forum: No registered users and 57 guests

cron