Replace stock quantity text value with number
-
Hello,
My product availability feed has 2 possible values for stock quantity, either a number or text “OK” like this:
<item_qty>2</item_qty>
or<item_qty>OK</item_qty>
“OK” meaning plenty enough, let’s say for example 50. How can I replace this value with a number so when imported to a product the quantity becomes 50?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Replace stock quantity text value with number’ is closed to new replies.