You have no items in your shopping cart.

Tuesday, October 8, 2024 3:49:21 PM

Subtags?

Posted: 7 years ago

#6602 Quote

rafael.pires1978

Posted: 7 years ago

#6602 Quote
Hi,
I'm using the demo version of the feed manager and I can't find a solution for this.

I need to populate the ProductData and ProductType tags of the Xml.
I didn't find nothing for this in the feed settings.

I'm using the feed schema AmazonProduct.

ProductData is always like this:
<ProductData/>


I need something like this:
<ProductData>
  <Computers>
    <ProductType>
      <Monitor />
    </ProductType>
  </Computers>
</ProductData>


Where can I find the configuration for these tags or what I need to do to generate them?

Thanks!

Posted: 7 years ago

#6605 Quote

Support

Posted: 7 years ago

#6605 Quote
Take the template bidorbuy_co_za.xml

  <FeedAttribute>
    <Id>10</Id>
    <FeedCaption>Brand</FeedCaption>
    <FeedName>Brand</FeedName>
    <XPath>ProductAttributes</XPath>
    <DefaultValue></DefaultValue>
    <FieldNameCode>manufacturer</FieldNameCode>
    <CharsLimit></CharsLimit>
    <Required>false</Required>
    <IgnoreNullOrEmpty>false</IgnoreNullOrEmpty>
    <ActionId>0</ActionId>
  </FeedAttribute>


This filed has parameter XPath.
Plugin will create subtag ProductAttributes with new tag Brand.

Example
without XPath

<Brand>
Apple
</Brand>


with XPath
<ProductAttributes>
<Brand>
Apple
</Brand>
</ProductAttributes>


I am not sure but you want to have three level subtree.
Please try, maybe it'll help you.

Powered by nopCommerce

Copyright © 2023 FoxNetSoft. All rights reserved