my client wants the ability to map a product to multiple categories.
I tried to do it within the product add/update. I have this existing code:
Code:
<Mappings AutoCleanup='True'>
<Entity EntityType='Category' XPath=' xxx/yyy/zzz' DisplayOrder = '1'/>");
</Mappings>
Adding it here did not work. The second category overwrote the first.
So I'd like to do it using a separate mapping node :
Code:
<Mapping Action="Add|Delete" EntityType="Manufacturer|Distributor|Category|Section|Genre|Vector" EntityID="integer" EntityGUID="uniqueidentifier" ObjectType="Product" ObjectID="integer" ObjectGUID="uniqueidentifier" DisplayOrder=""/>
Is there any way to do that using the xpath instead of the id? Or a quick wat to get the id using the xpath?
Thanks a lot,
Chana