From 11ca655192f18e273e250c35ad405f6b4f38b96a Mon Sep 17 00:00:00 2001 From: helmutm Date: Mon, 21 Sep 2009 14:57:56 +0000 Subject: [PATCH] add fields for shop classification and price calculation git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@3557 fd906abe-77d9-0310-91a1-e0d9ade77398 --- commerce/interfaces.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/commerce/interfaces.py b/commerce/interfaces.py index 9447f6c..56437ec 100644 --- a/commerce/interfaces.py +++ b/commerce/interfaces.py @@ -91,6 +91,16 @@ class IShop(Interface): u'a price group.'), default='', required=False) + priceMarkup = schema.Float( + title=_(u'Price Markup'), + description=_(u'Price Markup (percent).'), + default=0.0, + required=False) + isConsumerShop = schema.Bool( + title=_(u'Is Consumer Shop'), + description=_(u'Check if shop is primarily for consumers.'), + default=False, + required=False) products = Attribute(u'The products available in this shop.') categories = Attribute(u'The product categories provided by this shop.')