cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to populate the product attribute value in wizard

0 Likes
350

Hi All,

I trying to products as no editable and it will auto populate the value while clicking on new product( + button).

Any help will be appreciated.

Thanks Siva

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

Check the following Wiki Page: https://help.hybris.com/6.7.0/hcd/dc8129e8f44e44bb9100aa53602da995.html#loiodc8129e8f44e44bb9100aa53...

 <wz:prepare id="productPrepare">
     <wz:initialize property="newProduct" type="ctx.TYPE_CODE"/>
     <wz:assign property="newProduct.code" value="ctx.code"/>
     <wz:assign property="newProduct.catalogVersion" value="ctx.catalogVersion"/>
     <wz:assign property="newProduct.name" value="ctx.name"/>
 </wz:prepare>