This is a discussion on Checkout problem: not processing more than one product within the osCMax v2 Installation issues forums, part of the osCMax v2.0 Forums category; Hi, I have a checkout problem. I am using OSCMAX v.2.0. The problem only happens when ordering more than one ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
#1
| |||
| |||
| Hi, I have a checkout problem. I am using OSCMAX v.2.0. The problem only happens when ordering more than one product. On checkout_confirmation.php if I order 2 products they both show. But once the confirm order button is pushed and the page changes to checkout_success.php only the first product is shown under the text "Please notify me of updates to the products I have selected below". The order email sent to the customer looks as below, showing one product but charging for both. Products ------------------------------------------------------ 1 x First Clothing Set (FSH044) = £29.97 ------------------------------------------------------ Sub-Total: £44.96 Total: £44.96 Billing Address ------------------------------------------------------ tttttttttttt ttttttttttttttttttttttt fdfffffffffff fffffffffffffffff, ffffffffff ffffffffffffffffffffffff, United Kingdom Payment Method ------------------------------------------------------ Credit Card Also in the table orders_products only one product entry is shown for the order. I have traced the problem (I think) to this part of the code in checkout_process.php. (see below) (Also think it could be the function tep_db_perform) It seems that the array is only being looped through for the first product. At this point I am stuck. Any ideas? Thanks in advance. // BOF: MOD - QT Pro if (!isset($products_stock_attributes)) $products_stock_attributes=null; $sql_data_array = array('orders_id' => $insert_id, 'products_id' => tep_get_prid($order->products[$i]['id']), 'products_model' => $order->products[$i]['model'], 'products_name' => $order->products[$i]['name'], 'products_price' => $order->products[$i]['price'], 'final_price' => $order->products[$i]['final_price'], 'products_tax' => $order->products[$i]['tax'], 'products_quantity' => $order->products[$i]['qty'],//); 'products_stock_attributes' => $products_stock_attributes); // EOF: MOD - QT Pro tep_db_perform(TABLE_ORDERS_PRODUCTS, $sql_data_array); $order_products_id = tep_db_insert_id(); |
| Sponsored Links | ||
| ||
| |
|
#2
| ||||
| ||||
| Update to RC3.01, it was fixed in that release... read the bug report and get your patch here: 185: multiple items in an order result in only 1 product in the order details/email - Bug Tracker - open source Commerce Maximized :: osCMax Release notes are here: http://www.oscmax.com/projects/relea..._2_0_0_rc3_0_1
__________________ Michael Sasek osCMax Developer
|
|
#3
| |||
| |||
| Thank you Michael, that is much appreciated. |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Posted By | For | Type | Date | |
| osCommerce Community Support Forums > Checkout problem: not processing more than one product | This thread | Refback | 11-02-2007 08:22 AM | |
| Checkout problem: not processing more than one product - osCommerce Community Support Forums | This thread | Refback | 04-02-2007 08:15 AM | |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem with checkout | stevemitch2 | osCMax v2 Installation issues | 3 | 08-13-2006 08:29 AM |
| Having a problem with checkout. | mattcald | osCMax v1.7 Discussion | 2 | 06-17-2005 04:18 AM |
| That old Tax problem again! :( - Tax removed at checkout | JJJ | osCMax v1.7 Installation | 0 | 06-21-2004 09:28 AM |
| Problem with checkout | chanterelle | osCommerce 2.2 Installation Help | 3 | 10-20-2003 10:23 AM |
| The problem of checkout. | Newbie | osCommerce 2.2 Modification Help | 1 | 10-08-2003 07:48 AM |