on 09-12-2017 3:31 PM
<context type="TestProduct" component="create-wizard">
<wz:flow xmlns:wz="http://www.hybris.com/cockpitng/config/wizard-config" id="TestProductWizard" title="create.title">
<wz:prepare id="testProductPrepare">
<wz:initialize property="newTestProduct" type="ctx.TYPE_CODE"/>
<wz:assign property="newTestProduct.colorVariantCode" value="ctx.product"/>
</wz:prepare>
<wz:step id="step1" label="create.essential.label" sublabel="create.essential.sublabel">
<wz:info id="step1.intro" label="create.essential.intro" position="top"/>
<wz:content id="step1.content">
<wz:property-list root="newTestProduct">
<wz:property qualifier="colorVariantCode" />
QUESTION : //How do I make the above property (colorVariantCode) as searchable field for Product type ? So that User can search a product entry from Product type and assign the value to this property ?
</wz:property-list>
</wz:content>
<wz:navigation id="step1.navigation">
<wz:cancel/>
<wz:done visible="!#empty(newTestProduct.colorVariantCode)">
<wz:save property="newTestProduct"/>
</wz:done>
</wz:navigation>
</wz:step>
</wz:flow>
</context>
Hello Ved!
If you want to make the property "colorVariantCode" a searchable within Product type please configure it as follows:
<wz:property qualifier="colorVariantCode" type="Reference(Product)" />
This will render a Reference Editor for your property. For more information on Reference Editor please consult Backoffice Help Pages
Hope that helps! Cheers, Rafal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.