import params with foreach
-
I’m trying to import products with wp all import, XML looks like this:
<SHOPITEM>
<ITEMNAME>
ITEMNAME
</ITEMNAME>
…
<PARAM>
<PARAM_NAME>
Name of parameter
</PARAM_NAME>
<VAL>
Value of parameter
</VAL>
</PARAM>
<PARAM>
<PARAM_NAME>
Name of parameter
</PARAM_NAME>
<VAL>
Value of parameter
</VAL>
</PARAM>
</SHOPITEM>I need to create Attributes foreach of param_name and val. I need something like:
[FOREACH({PARAM/PARAM_NAME})] {.} [ENDFOREACH] for name of each attribute and same for value with VAL instead of PARAM_NAME. However this doesn’t work.
The topic ‘import params with foreach’ is closed to new replies.