swipestripe
[ class tree: swipestripe ] [ index: swipestripe ] [ all elements ]

Class: RemoveAbandonedCartsTask

Source Location: /tasks/RemoveAbandonedCartsTask.php

Class Overview

QuarterHourlyTask
   |
   --RemoveAbandonedCartsTask

Remove abandoned carts that have not been active for a certain period of time So that stock that is tied up in the carts can be released back if the customers do not go through the checkout process.


Author(s):

Version:

  • 1.0

Copyright:

  • Copyright (c) 2011, Frank Mullenger

Methods



Class Details

[line 18]
Remove abandoned carts that have not been active for a certain period of time So that stock that is tied up in the carts can be released back if the customers do not go through the checkout process.

e.g: use crontab -e with a directive like below for task to run every minute * /1 * * * * php /var/www/path/to/project/sapphire/cli-script.php /RemoveAbandonedCartsTask > /var/log/swipestripe.log

Note: remove the space between the * and /1




Tags:

author:  Frank Mullenger <frankmullenger@gmail.com>
version:  1.0
copyright:  Copyright (c) 2011, Frank Mullenger


[ Top ]


Class Methods


method process [line 27]

void process( )

Remove Orders that have not been active for a certain period of time, do not have a Payment attached and have the status of 'Cart'.



[ Top ]


Documentation generated on Thu, 08 Mar 2012 16:47:28 +1300 by phpDocumentor 1.4.4