wp all import by categoryID
-
Hello! I have a xml file consisting of several parts. In the first part you need to load categories. In the second part, you need to download the product in which the categories are marked by id.
category
<category id="277" parentId="275">Interior</category>
offer<offer id="21772" available="true" type="vendor.model"> -<url> https://www.posuda.ru/catalog/nabory_posudy_5/21772/ </url> -<name> Set of kitchen utensils CALVE, 7 pieces </name> <price>4890.6</price> <oldprice/> <rrc>6113.00</rrc> <currencyId>RUR</currencyId> <categoryId>1010</categoryId> -<picture> https://www.posuda.ru/upload/partners/PosudaRu/21772_.jpeg </picture> +<picture></picture> <vendor>CALVE</vendor> <vendorCode>CL-1879</vendorCode> <param name="Material">Нержавеющая сталь</param> <param name="Series"/> <param name="barcode">4895124471876</param> <param name="weight">4196</param> -<description> <b> Stainless Steel Cookware Set </b> торговой марки <b> CALVE </b> </description> <country_of_origin>CHINA</country_of_origin> <ostatok>1</ostatok> </offer>
Can you please tell me how to download the categories on woocommerce by category id and parentId and download the name of category? And how can I load goods with the category id instead of the name?
Is it possible to use “Custom Fields” or “Advanced Custom Fields” for this?
Thank you!
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘wp all import by categoryID’ is closed to new replies.