added coupons

This commit is contained in:
JT Smith 2008-04-30 21:43:16 +00:00
parent 05f14b3b76
commit 102b5fd1ae
13 changed files with 456 additions and 23 deletions

View file

@ -121,7 +121,7 @@ sub definition {
fieldType => "yesNo",
defaultValue => 1,
label => $i18n->get("display title"),
hoverHelp => $i18n->get("display title")
hoverHelp => $i18n->get("display title help")
},
overrideTaxRate => {
tab => "shop",
@ -318,6 +318,18 @@ sub indexContent {
return $indexer;
}
#-------------------------------------------------------------------
=head2 isCoupon
Returns a boolean indicating whether this sku represents a coupon. Some coupons may not allow themselves to be used in conjunction with other coupons. Returns 0 by default.
=cut
sub isCoupon {
return 0;
}
#-------------------------------------------------------------------