Add Your Comment
  • 7 − = two

Comments 4

  • Milen Petrov

    February 5, 2013 at 11:32

    Recently I had this issue, as presence of these quotes in the DB drops down drastically the backend performance. After I looked here and there I made a conclusion that the only correct and viable way to clean them is with custom extension and a cron job which cleans old active quotes last modified before x days. X might be different for customer quotes and guest quotes.
    The main issues with your proposed way are:
    1) There are customers who build their shopping carts in more than one step and they can use more than one login until they decide what to buy. Thus cleaning their existing content is terrible. Do you agree?
    2) Observing only customer events does not allow you to clean guest quotes and they are much more than those for registered customers and thus we are doing only part of the job.
    3) And last but not least observer on customer login event simply does not work as if on the checkout page the customer selects to place his/her order as registered customer an immediate login action is performed and all login events are fired, which will result in cleaning his current quote. One possible solution to this is to observe load_customer_quote_before instead but still we have the same issue on the checkout.

  • Dids

    April 5, 2013 at 17:53

    Hi,
    We are experiencing similar problems but the customers are seeing the same products in their basket from their latest purchase – even though it has completed. Our developers tell me that it’s a problem with persistent basket. From Aleksander’s post I can see how this works with abandoned carts but should it really be an issue with carts even when the transaction was completed several weeks ago?
    The customer called to pay by phone in the end because she reports that she wasn’t able to add the product she wants or remove the ‘old’ products.

  • (Magento Certified Developer Plus)

    April 9, 2013 at 16:41

    Milen,

    There can be several reasons for this problem:

    1. Cron has not been properly set up
    2. Incorrect cart settings in the admin panel
    3. Perhaps, there is some module which interferes into the logic of cart clearance

    But to say for sure it is necessary to check the system itself.

  • Anis Nasri

    May 23, 2013 at 00:16

    Hello Mister Tretjak

    Thank you for explaning this point! I’m happy to find an explanation to this ‘old shopping cart content’
    I don’t have the skills to see an solution.
    Could you help me with a hint or a solution
    Consider this as an job offer!

    Kind regards
    Anis