I relly need help on this urgently..
In the pm2checkou file it says this:
CODE
// fill 2Checkout V2 details with osc order info
// these fields automate product creation on 2checkout's site. comment out all except c_prod if you do not want this feature
for ($i = 0, $n = sizeof($order->products); $i < $n; $i++) {
$process_button_string .= tep_draw_hidden_field('c_prod_' . $i, $order->products[$i]['model'] . ',' . $order->products[$i]['qty']);
// $process_button_string .= tep_draw_hidden_field('c_name_' . $i, $order->products[$i]['name']);
// format product description (from Short Description contrib)
$product_id = $order->products[$i]['id'];
$product_query = tep_db_query("select products_description from " . TABLE_PRODUCTS_DESCRIPTION . " where products_id = '" . $product_id . "' and language_id = '" . $languages_id . "'");
$product_description = tep_db_fetch_array($product_query);
$text = $product_description['products_description'];
$text = strip_tags($text);
$text = nl2br($text);
$text = str_replace("<br />","<br>",$text);
$process_button_string .= tep_draw_hidden_field('c_description_' . $i, $text);
$process_button_string .= tep_draw_hidden_field('c_price_' . $i, $order->products[$i]['final_price']);
// $process_button_string .= tep_draw_hidden_field('c_tangible_' . $i, 'Y'); // uncomment and change to N if you sell only non-tangible (ie downloadable) goods
I do not know which lines etc I am supposed to comment out to disable the auto product creation.
Hope someone can help as I am a bit of a noob at php coding
Many thanks in advance
Pete