Add enum for product price method
This commit is contained in:
		
							parent
							
								
									07c24b63dc
								
							
						
					
					
						commit
						3a440d20bc
					
				
					 1 changed files with 11 additions and 0 deletions
				
			
		| 
						 | 
					@ -92,3 +92,14 @@ MEMBER_CONTACT_PREFERENCE = OrderedDict([
 | 
				
			||||||
    (MEMBER_CONTACT_PREFERENCE_EMAIL_ONLY,              "email only"),
 | 
					    (MEMBER_CONTACT_PREFERENCE_EMAIL_ONLY,              "email only"),
 | 
				
			||||||
    (MEMBER_CONTACT_PREFERENCE_BOTH,                    "both (postal mail and email)"),
 | 
					    (MEMBER_CONTACT_PREFERENCE_BOTH,                    "both (postal mail and email)"),
 | 
				
			||||||
])
 | 
					])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					PRODUCT_PRICE_METHOD_DISABLED           = 0
 | 
				
			||||||
 | 
					PRODUCT_PRICE_METHOD_ALWAYS             = 1
 | 
				
			||||||
 | 
					PRODUCT_PRICE_METHOD_FULL_SETS          = 2
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					PRODUCT_PRICE_METHOD = OrderedDict([
 | 
				
			||||||
 | 
					    (PRODUCT_PRICE_METHOD_DISABLED,     "Disabled"),
 | 
				
			||||||
 | 
					    (PRODUCT_PRICE_METHOD_ALWAYS,       "Always use this price"),
 | 
				
			||||||
 | 
					    (PRODUCT_PRICE_METHOD_FULL_SETS,    "Use this price for full sets"),
 | 
				
			||||||
 | 
					])
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue