wp all import function
-
Hello, i have a csv feed with products and i want to compare two values from csv before added to field.
How can i get in php function the others values from my csv?
e.g.
csv
{undefined1[1]} price 1
{undefined2[1]} price 2<?php
function my_convert_price($value1){
$value2='{undefined2[1]}’; ///<— how can i get and read this value
in function?
$value1='{undefined1[1]}’;if ($value1 – $svalue2 < 0 ){
return $value1*0.038;
}}
?>Thanks you.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘wp all import function’ is closed to new replies.