Problem with mapping SKU
-
Hello,
How can I mapped SKU tag if in the XML file it is visible as “productCode” in different lines.
When I get it in plugin I have. It depends of many tags. How get it in all XML file.
{//offer/property[4]/@name} or {//offer/property[5]/@name} or {//offer/property[6]/@name}
1 example:
<property name="Opakowanie">4</property> <property name="Wymiary">(h)105</property> <property name="Pojemno??">426</property> <property name="categoryId">2202</property> <property name="productCode">SWHSSB151</property> <property name="largeSize">0</property> <property name="tillStockLasts">0</property> <property name="basePrice">165.30</property> <property name="productId">24637</property>
2 example:
<property name="Opakowanie">12</property> <property name="Wymiary">65x(h)55</property> <property name="Pojemno??">100</property> <property name="Kolor"/> <property name="categoryId">2209</property> <property name="productCode">PLGRCEB91</property> <property name="largeSize">0</property> <property name="tillStockLasts">0</property> <property name="basePrice">46.30</property> <property name="productId">24698</property>
3 example:
<property name="Wymiary">230x(h)1</property> <property name="Opakowanie">1</property> <property name="categoryId">2215</property> <property name="productCode">B2414013</property> <property name="largeSize">0</property> <property name="tillStockLasts">0</property> <property name="basePrice">57.00</property> <property name="productId">24608</property>
Other topic:
Is it the only map EAN code from XML as woocomerce extra attribute?
BR,Kamil
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Problem with mapping SKU’ is closed to new replies.