Skip to content

Latest commit

 

History

History
35 lines (20 loc) · 7.9 KB

custom-fields-for-existing-shopware-entities.md

File metadata and controls

35 lines (20 loc) · 7.9 KB
description
Of course, we have also expanded existing Shopware standard entities with custom fields. The custom fields are available in the respective plugins.

Custom Fields for existing Shopware Entities

Product media

Technical NameDescriptionTypeIs requiredSetPlugin
b2b_spare_parts_exploded_view_activeExploded view acivefalseb2b_spare_parts_product_setB2bSpareParts

Product

Technical NameDescriptionTypeIs requiredSetPlugin
b2b_subscription_enabledAllow subscription optionfalseb2b_product_subscription_setB2bProductSubscription
b2b_subscription_discountSubscription discount (in percent)falseb2b_product_subscription_setB2bProductSubscription
b2b_product_accessories_onShow product accessoriesfalseb2b_product_accessories_setB2bSpareParts
b2b_product_accessoriesProduct accessoriesfalseb2b_product_accessories_setB2bSpareParts
b2b_hide_productHide productfalseb2b_product_general_setB2bSellersCore
b2b_copper_amountAmount of copper in kgfalseb2b_copper_brass_setB2bSpareParts
b2b_brass_amountAmount of brass in kgfalseb2b_copper_brass_setB2bSpareParts
b2b_event_article_enabledIf event artivle, please selectfalseb2b_event_article_setB2bEventArticle
b2b_event_article_titleAddtional event titlefalseb2b_event_article_setB2bEventArticle
b2b_event_article_dateEvent datefalseb2b_event_article_setB2bEventArticle
b2b_event_article_timeEvent timespanfalseb2b_event_article_setB2bEventArticle
b2b_event_article_cityEvent cityfalseb2b_event_article_setB2bEventArticle
b2b_event_article_targetTargetfalseb2b_event_article_setB2bEventArticle
b2b_event_article_audienceTarget audiencefalseb2b_event_article_setB2bEventArticle
b2b_event_article_durationDurationfalseb2b_event_article_setB2bEventArticle
b2b_event_article_locationEvent locationfalseb2b_event_article_setB2bEventArticle
b2b_event_article_bannerBanner picture of event articlefalseb2b_event_article_setB2bEventArticle

Customer

Technical NameDescriptionTypeIs requiredSetPlugin
b2b_sales_representativeCustomer is sales representativefalseb2b_sales_representative_setB2bSellersCore
b2b_supervisorSales representative is a supervisorfalseb2b_sales_representative_setB2bSellersCore
b2b_sales_representative_shorthandSales representative shorthandfalseb2b_sales_representative_setB2bSellersCore
b2b_sales_representative_imgProfile picture Image Path falseb2b_sales_representative_setB2bSellersCore
b2b_platform_accessCustomer has b2b platform accessfalseb2b_customer_setB2bSellersCore
b2b_payment_condition_numberName of the payment condition. Relation to Entity mega_payment_condition.repository
TODO
falseb2b_customer_setB2bSellersCore
b2b_sales_representative_contact_personContact Person: Sales Representative CustomerNumbers, divided by semicolonfalseb2b_customer_setB2bSellersCore
b2b_customer_persistent_cart_behaviourBehavior of the permanent shopping cart

Options:
- "employeeBound"
- "customerBound"
falseb2b_customer_setB2bSellersCore
b2b_bonus_enabledIs a bonus agreementfalseb2b_bonus_program_customer_setB2bBonusProgram
b2b_bonus_percentagePercentagefalseb2b_bonus_program_customer_setB2bBonusProgram
b2b_current_bonusBonus valuefalseb2b_bonus_program_customer_setB2bBonusProgram

Assigned customer-employee

Technical NameDescriptionTypeIs requiredSetPlugin
b2b_show_bonusShow bonusfalseb2b_bonus_program_contact_setB2bBonusProgram

Category

Technical NameDescriptionTypeIs requiredSetPlugin
b2b_show_products_list_switcherFunction: Hide switch between tiles and tablefalseb2b_category_setB2bSellersCore
b2b_table_listing_property_group_idsProperty groups for the table listingfalseb2b_category_setB2bSellersCore

Order line item

Technical NameDescriptionTypeIs requiredSetPlugin
b2b_order_line_item_commentCustomer commentfalseb2b_order_line_item_setB2bSellersCore

Order

Technical NameDescriptionTypeIs requiredSetPlugin
b2b_order_bonusBonus valuefalseb2b_bonus_program_order_setB2bBonusProgram
b2b_offer_idOffer idfalseb2b_order_offer_setB2bOffer
b2b_order_customer_employee_idEmployee ID of buying employeefalseb2b_order_setB2bSellersCore
b2b_order_sales_representative_idCustomer ID of buying sales representative falseb2b_order_setB2bSellersCore
b2b_order_customer_noteCustomer notefalseb2b_order_setB2bSellersCore
b2b_order_customer_commissionCommissionfalseb2b_order_setB2bSellersCore
b2b_order_payment_conditionName of the selected payment condition. Relation to Entity megapaymentCondition.name
falseb2b_order_setB2bSellersCore