deltatech Posted September 2, 2008 Share Posted September 2, 2008 Is there anyway that one can remove something from the cart? Specifically, when doing a domain transfer, if someone mistypes the domain name, and then goes back and adds the correct domain name, both the incorrect domain and the new one shows up in the cart. It is impossible to continue with the order until the EPP code is entered for ALL domains including the one they really didn't want in their cart. Is there a way to remove items from the cart or to completely clear the cart? I tried logging out and coming back but it seems that as long as the session remains, the items remain in the cart. I think this would end up in a lost sale as the client would give up. I am a noob here and probably I am missing something obvious? 0 Quote Link to comment Share on other sites More sharing options...
chickendippers Posted September 2, 2008 Share Posted September 2, 2008 In 3.6.2 there's a "Remove" link next to each item in the cart, and an "Empty Cart" button beneath it. 0 Quote Link to comment Share on other sites More sharing options...
deltatech Posted September 2, 2008 Author Share Posted September 2, 2008 I see that now but... When ordering a domain transfer, you can't get far enough to see that until you have entered the EPP code. One can get there by typing anything in as an EPP code then you can move to the part of the cart where the item can be removed. Not very intuitive for the customers. In 3.6.2 there's a "Remove" link next to each item in the cart, and an "Empty Cart" button beneath it. 0 Quote Link to comment Share on other sites More sharing options...
Redundant Posted October 23, 2008 Share Posted October 23, 2008 Ya, I ran into this too. I made a Cart Link at that stage in the checkout process and just labeled it [-] REMOVE Doesn't actually remove the domain, but it jumps them to the cart so they can then see the [remove] link displayed there... 0 Quote Link to comment Share on other sites More sharing options...
BAJI26 Posted October 23, 2008 Share Posted October 23, 2008 You can add the below to the cart template... <a href="#" onclick="removeItem('p','{$num}');return false" style="color:#cc0000;">[{$LANG.cartremove}]</a>" and "{literal}<script language="javascript"> function removeItem(type,num) { var response = confirm("{/literal}{$LANG.cartremoveitemconfirm}{literal}"); if (response) { window.location = 'cart.php?a=remove&r='+type+'&i='+num; } } function emptyCart(type,num) { var response = confirm("{/literal}{$LANG.cartemptyconfirm}{literal}"); if (response) { window.location = 'cart.php?a=empty'; } } </script>{/literal} 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.