I try import from xml many products via ROcsvi to virtuemart
this is my XML i delete most and keep just <skupina> wich is relevant for this discussion:
<izdelek>
<sifra>005560</sifra>
<naziv>KLJUČI VILIČASTO OBROČNI "Green line", kartonska embalaža.</naziv>
<skupina>Ključi</skupina>
</izdelek>
<izdelek>
<ean>4003315079774</ean>
<naziv>KLJUČI VILIČASTO OBROČNI "Green line", kartonska embalaža.</naziv>
<skupina>Ključi</skupina>
</izdelek>
<izdelek>
<sifra>012607</sifra>
<ean>3831093312803</ean>
<naziv>KLEŠČE CEVNE Kotne 45°, "S" čeljust, POPAR.</naziv>
<skupina>Klešče</skupina>
</izdelek>
Since is there more than 7000 product I try to group many <skupina> tags to the same category. Here in example above all Ključi and Klešče can go under one category named Ročno orodje - is a hand tools in English.
So I created Rule see picture:
My goal is to set
category_path to: Ročno orodje|DDV/DDV 22%|Lmm
This product should be set in 3 categories at import
paren cathegory : Ročno orodje
child unpublich cathegory : DDV/DDV 22% - is for add vat/tax
and parent unpublished category : Lmm
Unfortunately only the last - Lmm - category is set by Rules. Don't know why don't insert all text only last part from the last separator.
Please advise.
Regards