MivaLearn
3/6/2019 - 11:10 PM

Read & Write Function

<!-- Read Customfields -->
<!-- Category -->
<mvt:item name="customfields" param="Read_Category_Code( 'category_code', 'custom_field_code', l.settings:customfields )" />
<mvt:item name="customfields" param="Read_Category_ID( 1, 'custom_field_code', l.settings:customfields )" />
<!-- Product -->
<mvt:item name="customfields" param="Read_Product_Code( 'product_code', 'custom_field_code', l.settings:customfields )" />
<mvt:item name="customfields" param="Read_Product_ID( 1, 'custom_field_code', l.settings:customfields )" />
<!-- Customer -->
<mvt:item name="customfields" param="Read_Customer_Login( 'test@test.com', 'custom_field_code', l.settings:customfields )" />
<mvt:item name="customfields" param="Read_Customer_ID( 666, 'custom_field_code', l.settings:customfields )" />
<!-- Write Customfields -->
<!-- Category -->
<mvt:item name="customfields" param="Write_Category_Code( 'category_code', 'custom_field_code', 'value' )" />
<mvt:item name="customfields" param="Write_Category_ID( 1, 'custom_field_code', 'value' )" />
<!-- Product -->
<mvt:item name="customfields" param="Write_Product_Code( 'product_code', 'custom_field_code', 'value' )" />
<mvt:item name="customfields" param="Write_Product_ID( 1, 'custom_field_code', 'value' )" />
<!-- Customer -->
<mvt:item name="customfields" param="Write_Customer_Login( 'test@test.com', 'custom_field_code', 'value' )" />
<mvt:item name="customfields" param="Write_Customer_ID( 666, 'custom_field_code', 'value' )" />