17 lines
No EOL
348 B
Python
17 lines
No EOL
348 B
Python
from core.classes.products import BaseProductType
|
|
|
|
PRODUCTTYPES = {}
|
|
|
|
class CoreProductType(BaseProductType):
|
|
@property
|
|
def name(self):
|
|
return "Basic Product"
|
|
|
|
@property
|
|
def id(self):
|
|
return "core.products.core"
|
|
|
|
def is_creatable(self):
|
|
return True
|
|
|
|
PRODUCTTYPES[CoreProductType().id()] = CoreProductType |