Quantcast
Channel: Topic Tag: xml | WordPress.org
Viewing all articles
Browse latest Browse all 3201

Instock status exists in XML but not in WP-ALL Import

$
0
0

Hi!
I am trying to import the products via WP All import and Wp- all import woocommerce add-on. All work great except on e thing. All the products appear to be in stock! I have a tag in XML <instock>N</instock> that takes the value “Y” or “N” . How can I say that check the instock in xml and map it to stock status in woocommerce? I have tried mapping the custom field of _stock_status to {instock[1]} but didn’t succeed. I also tried mapping custom fields like https://www.wpallimport.com/documentation/custom-fields/mapping/ so I mapped Y to 1 and N to 0 for stock status didn’t work either.
All I want is when I read the <instock>N</instock> the product should be unavaialble and when the <instock>Y</instock> the product should be available.

Thanks again for this awesome plugin!


Viewing all articles
Browse latest Browse all 3201

Trending Articles