2 months ago on November 26, 2024 at 10:27 pm
I\\\\\\\’m trying to import the price for a product. The XML looks like this:
- <Price>
- <PriceType>
- 02
- <DiscountCoded>
- <DiscountCodeType>
- 02
- <DiscountCodeTypeName>
- BCW Item Group Discount Code
- <DiscountCode>
- BCWG04
- <DiscountCodeType>
- <DiscountCoded>
- <DiscountCodeType>
- 01
- <DiscountCodeTypeName>
- BIC discount group code
- <DiscountCode>
- ABCOW04
- <DiscountCodeType>
- <PriceAmount>
- 4.2
- <Tax>
- <TaxType>
- 01
- <TaxRateCode>
- S
- <TaxRatePercent>
- 20.0
- <TaxableAmount>
- 3.5
- <TaxAmount>
- 0.7
- <TaxType>
- <CurrencyCode>
- GBP
- <Territory>
- <CountriesIncluded>
- GB IM
- <CountriesIncluded>
- <PriceType>
- <Price>
- <PriceType>
- 01
- <PriceAmount>
- 3.5
- <CurrencyCode>
- GBP
- <Territory>
- <RegionsIncluded>
- WORLD
- <CountriesExcluded>
- GB IM
- <RegionsIncluded>
- <PriceType>
In the XML Data Selector, when I use
{/ProductSupply/SupplyDetail/Price/PriceAmount[1]}
(using the [1] to select the first value)
I\\\\\\\’m getting
Preview: 4.2,3.5
Instead of
Preview: 4.2
I\\\\\\\’m sure this is something very easy, but I\\\\\\\’m new to this…
Thanks,
Ioan