Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2009
    Location
    New Jersey
    Posts
    7
    Plugin Contributions
    0

    Default "Empty Shopping cart" button

    Hi every ,

    I am new to zencart, and I would like to have a "Empty Cart button" feature on my shopping cart, so that I can empty the cart atonce instead of deleting one product at a time in the cart.



    thanks
    Imtiaz

  2. #2
    Join Date
    Aug 2009
    Location
    New Jersey
    Posts
    7
    Plugin Contributions
    0

    Default Re: "Empty Shopping cart" button

    Found the solution myself

    <div class="buttonRow back"><?php echo '<a href="' . zen_href_link("shopping_cart&action=empty_cart") . '">' .
    zen_image_button(BUTTON_IMAGE_DELETE, BUTTON_DELETE_ALT) . '</a>'; ?></div>

 

 

Similar Threads

  1. Replies: 5
    Last Post: 21 Apr 2013, 11:37 PM
  2. v139h SOLVED: When clicking "Add to Cart", message shows "Your Shopping Cart is Empty"
    By bryanearl in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 14 Nov 2012, 05:22 PM
  3. "Add to cart" problem: "Your Shopping Cart Is Empty"
    By polik in forum General Questions
    Replies: 11
    Last Post: 9 Feb 2012, 10:04 AM
  4. "Add to cart" problem: "Your Shopping Cart Is Empty"
    By weber in forum General Questions
    Replies: 2
    Last Post: 20 Nov 2011, 08:57 PM
  5. Replies: 16
    Last Post: 21 Apr 2010, 07:38 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR