Hi .. This isnt very easy ...
What I have done is this
I have added to the end of the list of columns in the CSV file 2 columns, 1 called price_break and one called amount
in the csv_import.php file i have added
$bindings['price_break'] = $config["price_break"];
$bindings['amount'] = $config["amount"];
I dont know if this is the correct thing to do as i have never imported info from a csv file before.
Ok then I added this to the csv_import.php file
// price break sql
$price_break_insert = "INSERT INTO products_price_break (products_price,products_qty ,products_id ) VALUES('".$data['price_break']."','".$data['amount']."' ,'" . $product_id ."')";
// end price break
This is inserting the id correctly as to be expected but it is inserting 0 as the other two values.
Am I heading in the right direction with what im doing or is it all wrong?
Im not sure if i am even getting values from the two new columns?