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
This commit is contained in:
		
							parent
							
								
									2333faf7d2
								
							
						
					
					
						commit
						11ca655192
					
				
					 1 changed files with 10 additions and 0 deletions
				
			
		|  | @ -91,6 +91,16 @@ class IShop(Interface): | ||||||
|                     u'a price group.'), |                     u'a price group.'), | ||||||
|             default='', |             default='', | ||||||
|             required=False) |             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.') |     products = Attribute(u'The products available in this shop.') | ||||||
|     categories = Attribute(u'The product categories provided by this shop.') |     categories = Attribute(u'The product categories provided by this shop.') | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 helmutm
						helmutm