Add a creation date to the Cart.
Use that date to expire carts older than an interval, via a new workflow. Config file changes, tests, i18n.
This commit is contained in:
parent
6bd159bcfd
commit
60a3906b05
9 changed files with 299 additions and 5 deletions
25
lib/WebGUI/i18n/English/Workflow_Activity_RemoveOldCarts.pm
Normal file
25
lib/WebGUI/i18n/English/Workflow_Activity_RemoveOldCarts.pm
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
package WebGUI::i18n::English::Workflow_Activity_RemoveOldCarts;
|
||||
use strict;
|
||||
|
||||
our $I18N = {
|
||||
'cart timeout help' => {
|
||||
message => q|How old should carts be before we delete them?|,
|
||||
context => q|the hover help for the storage timeout field|,
|
||||
lastUpdated => 0,
|
||||
},
|
||||
|
||||
'cart timeout' => {
|
||||
message => q|Cart Timeout|,
|
||||
context => q|a label indicating how old carts should be before we delete them|,
|
||||
lastUpdated => 0,
|
||||
},
|
||||
|
||||
'activityName' => {
|
||||
message => q|Remove Old Carts|,
|
||||
context => q|The name of this workflow activity.|,
|
||||
lastUpdated => 0,
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
Loading…
Add table
Add a link
Reference in a new issue