Localization FieldCollection Pimcore -
can use field collection in localized fields or vice versa. while going through pimcore 4 document https://www.pimcore.org/wiki/display/pimcore4/structured+data+fields+-+fieldcollections
i found below statement
if want use localized fields inside field collections have set object before calling localized field - related methods.
but when tried not able either add field collection in localized field nor vice versa.
thanks
you can't use field collections inside localized fields. can use localized fields inside field collections.
the following example explains better.
so not work:
object -> localized fields -> product name -> product description -> technical data (field collection) -> value -> unit
but will:
object -> localized fields -> product name -> product description -> technical data (field collection) -> localized fields -> value -> unit
the statement citing referring adding field collections programmatically.
Comments
Post a Comment