| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Creating "empty cart" button | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() My version of X-Cart is a little over a year old now (and I've done so many customizations I've afraid to upgrade) so maybe this is a standard feature now, but I don't have a "empty cart" button in the shopping cart, if the customer wants to dump everything and start fresh. (The store is for a company that sells nick-nacks wholesale, so customers sometimes have 50+ line items on an order.)
I see that there is a function in the func.php file for emptying the cart. Does anyone have any quicky advice on setting up an "empty cart" button, or is it a "hack it out as best you can" kind of situation? --Brendan |
|||||||
#2
|
|||||||
|
|||||||
![]() Here's the button code from the 4.0.13 cart.tpl:
Code:
You should download the newest version of X-Cart so that you can check out cart.php and get the appropriate function in there.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|||
X-Cart forums © 2001-2020
|