Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Jul 2005
    Posts
    350
    Plugin Contributions
    0

    Default Is there a way to purge all pending cart sales?

    I have a client who is running a special Black Friday sale. He says people are putting items in their cart already, and waiting until Friday to purchase. We wants to make sure they don't do that. What can he do so everyone has an equal playing field?
    Ripper
    Oz Website Services
    www.oz-web.net

  2. #2
    Join Date
    Jul 2005
    Posts
    350
    Plugin Contributions
    0

    Default Re: Is there a way to purge all pending cart sales?

    Ripper
    Oz Website Services
    www.oz-web.net

  3. #3
    Join Date
    Jan 2004
    Posts
    66,391
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: Is there a way to purge all pending cart sales?

    There are 2 tables which store customer shopping-basket details. You'll need to truncate both of those tables.
    NOTE: Doing this will purge EVERYONE's shopping basket, including those who legitimately added stuff last week but haven't completed their decisions yet.

    One way to do it quickly is to paste the following into the Admin SQL Patch tool and click send:
    Code:
    TRUNCATE TABLE customers_basket;
    TRUNCATE TABLE customers_basket_attributes;
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Jul 2005
    Posts
    350
    Plugin Contributions
    0

    Default Re: Is there a way to purge all pending cart sales?

    Thanks for the help. Is there a way he can set up that sale page to avoid this? I am more of the behind the scenes guy, I have no idea how to actually use the cart on the retail side....
    Ripper
    Oz Website Services
    www.oz-web.net

  5. #5
    Join Date
    Jan 2004
    Posts
    66,391
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: Is there a way to purge all pending cart sales?

    You can't avoid people filling their carts.

    But, you could maybe turn off the Multiple Add To Cart buttons at top and bottom, thus making the qty fields turn into buy-now buttons. And *that* might deter them slightly.
    But, changing that will affect *all* product listings.

    Admin->Configuration->Product Listing->Display Multiple Products Qty Box Status and Set Button Location --- set it to 0
    And then after the sale is over, you can leave it at 0, or put it back to whatever you had it at (probably 3 right now).
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Jul 2005
    Posts
    350
    Plugin Contributions
    0

    Default Re: Is there a way to purge all pending cart sales?

    OK, thanks. I'll tell the cart owner what you said......
    Ripper
    Oz Website Services
    www.oz-web.net

  7. #7
    Join Date
    Jul 2005
    Posts
    350
    Plugin Contributions
    0

    Default Re: Is there a way to purge all pending cart sales?

    The SQL patch didn't work. I put stuff in my cart, then added the 2 lines of code into the patch editor and the items were still in my cart after going back to the shopping cart page (after closing the window, then starting over)
    Ripper
    Oz Website Services
    www.oz-web.net

  8. #8
    Join Date
    Jul 2005
    Posts
    350
    Plugin Contributions
    0

    Default Re: Is there a way to purge all pending cart sales?

    OK, I exported the two customer basket tables into an Excel document and it appears the tables are empty, yet I am still seeing these items in my cart. What am I doing wrong?
    Ripper
    Oz Website Services
    www.oz-web.net

  9. #9
    Join Date
    Jan 2004
    Posts
    66,391
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: Is there a way to purge all pending cart sales?

    Did you log out?
    Does the store have any addons which change the core methods used by Zen Cart to handle cart contents?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  10. #10
    Join Date
    Jul 2005
    Posts
    350
    Plugin Contributions
    0

    Default Re: Is there a way to purge all pending cart sales?

    I wasn't logged in at the time.

    Add-ons include Better Together Discount Module for Zen Cart 1.3 Version 2.0 and Quantity Discounts Module for Zen Cart 1.3.5 and above Version 1.10. The only other chages are cosmetic.
    Ripper
    Oz Website Services
    www.oz-web.net

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Is there a way to look up Sales Tax orders?
    By stevemax in forum Managing Customers and Orders
    Replies: 2
    Last Post: 21 Jan 2012, 07:28 PM
  2. Replies: 0
    Last Post: 27 Oct 2011, 11:38 PM
  3. New Cart Old DB - purge sales data?
    By Renz in forum General Questions
    Replies: 8
    Last Post: 14 Mar 2010, 12:01 AM
  4. ? is there a way to mark all from pending to delivered/shipped
    By roachkazy in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 10 Aug 2009, 05:51 PM
  5. Is there a way to set all downloaded files to Downloadable status instead of Pending?
    By getsome in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 22 Jun 2009, 04:02 AM

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