From b88e68b79e9e0ddf932d29204edd2fe2575ba20f Mon Sep 17 00:00:00 2001 From: helmutm Date: Wed, 9 Sep 2009 12:47:10 +0000 Subject: [PATCH] provide a new field for shops for safe and simple price determination git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@3544 fd906abe-77d9-0310-91a1-e0d9ade77398 --- commerce/interfaces.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/commerce/interfaces.py b/commerce/interfaces.py index edf195d..9447f6c 100644 --- a/commerce/interfaces.py +++ b/commerce/interfaces.py @@ -83,6 +83,14 @@ class IShop(Interface): u'for creating the next order identifier.'), default=0, required=False) + defaultPriceScale = schema.ASCIILine( + title=_(u'Default Price Scale'), + description=_(u'A string specifying the price ' + u'scale that should be used if the user is not ' + u'related to a customer or the customer does not have ' + u'a price group.'), + default='', + required=False) products = Attribute(u'The products available in this shop.') categories = Attribute(u'The product categories provided by this shop.')