Finish out the FlatRate driver, with tests and i18n.
Fix bugs found in ShipDriver by building a driver.
This commit is contained in:
parent
6d856d1b58
commit
640554ea14
4 changed files with 160 additions and 54 deletions
53
lib/WebGUI/i18n/English/ShipDriver_FlatRate.pm
Normal file
53
lib/WebGUI/i18n/English/ShipDriver_FlatRate.pm
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
package WebGUI::i18n::English::ShipDriver_FlatRate;
|
||||
|
||||
use strict;
|
||||
|
||||
our $I18N = {
|
||||
|
||||
'flatFee' => {
|
||||
message => q|Flat Fee|,
|
||||
lastUpdated => 1203569535,
|
||||
context => q|A fixed amount of money added to a purchase for shipping.|,
|
||||
},
|
||||
|
||||
'flatFee help' => {
|
||||
message => q|A fixed amount of money added to a purchase for shipping.|,
|
||||
lastUpdated => 1203569511,
|
||||
},
|
||||
|
||||
'percentageOfPrice' => {
|
||||
message => q|Percentage of Price|,
|
||||
lastUpdated => 1203569584,
|
||||
context => q|A shipping cost added to a cart as a percentage of the total.|,
|
||||
},
|
||||
|
||||
'percenageOfPrice help' => {
|
||||
message => q|A shipping cost added to a cart as a percentage of the total cost of the cart.|,
|
||||
lastUpdated => 1203569582,
|
||||
},
|
||||
|
||||
'percentageOfWeight' => {
|
||||
message => q|Percentage of Weight|,
|
||||
lastUpdated => 1203569584,
|
||||
context => q|A shipping cost added to a cart as a percentage of the weight.|,
|
||||
},
|
||||
|
||||
'percentageOfWeight help' => {
|
||||
message => q|A shipping cost added to a cart as a percentage of the total weight of all items in the cart.|,
|
||||
lastUpdated => 1203569582,
|
||||
},
|
||||
|
||||
'pricePerItem' => {
|
||||
message => q|Price Per Item|,
|
||||
lastUpdated => 1203569584,
|
||||
context => q|A shipping cost added to a cart based on the number of items in the cart.|,
|
||||
},
|
||||
|
||||
'pricePerItem help' => {
|
||||
message => q|A shipping cost added to a cart based on the number of items in the cart.|,
|
||||
lastUpdated => 1203569582,
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
Loading…
Add table
Add a link
Reference in a new issue