def get_metadata_schema(cls): return merge_dicts( ShopFolder.get_metadata_schema(), data=XHTMLBody(multilingual=True), breadcrumb_title=Unicode(multilingual=True), image_category=ImagePathDataType(multilingual=True), default_product_cover=ImagePathDataType(multilingual=True))
def get_metadata_schema(cls): schema = ShopFolder.get_metadata_schema() schema['shop_uri'] = String schema['shop_backoffice_uri'] = String schema['order_notification_mails'] = Email(multiple=True) schema['shop_default_zone'] = CountriesZonesEnumerate(default=0) schema['shop_sort_by'] = SortBy_Enumerate schema['shop_sort_reverse'] = Boolean schema['categories_batch_size'] = Integer(default=20) schema['devise'] = Devises(default='978') schema['bill_logo'] = ImagePathDataType schema['pdf_signature'] = Unicode schema['barcode_format'] = BarcodesFormat schema['show_sub_categories'] = Boolean schema['hide_not_buyable_products'] = Boolean schema['product_cover_is_mandatory'] = Boolean schema['log_authentification'] = Boolean schema['registration_need_email_validation'] = Boolean return schema
def get_metadata_schema(cls): return merge_dicts(ShopFolder.get_metadata_schema(), cls.edit_schema)
def get_metadata_schema(cls): return merge_dicts(ShopFolder.get_metadata_schema(), data=XHTMLBody(multilingual=True), breadcrumb_title=Unicode(multilingual=True), image_category=ImagePathDataType(multilingual=True), default_product_cover=ImagePathDataType(multilingual=True))