I am running into something that I can't really figure out or even explain. A very simplified version of the code and the result is below, it is dropping the first result for some reason.
Custom Field = A,B,C
l.discos = A,B,C
l.disco_list = B,C
Code:
<MvASSIGN NAME = "l.discos" VALUE = "{ miva_array_deserialize( Module_Product_Field_Value( l.module, Items.d.product_id, 'raves' ) ) }" /> <MvFOREACH ITERATOR = "disco" ARRAY = "discos"> <MvASSIGN NAME = "l.ok" VALUE = "{ miva_array_insert( l.disco_list, l.disco, -1 ) }" /> </MvFOREACH>
l.discos = A,B,C
l.disco_list = B,C
Comment