osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Checkout problem: not processing more than one product

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Installation issues

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack (2) Thread Tools
  2 links from elsewhere to this Post. Click to view. #1  
Old 03-13-2007, 01:19 AM
Lurker
 
Join Date: Jan 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
mc5000 is on a distinguished road
Default Checkout problem: not processing more than one product

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();
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 03-13-2007, 07:24 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,492
Thanks: 73
Thanked 334 Times in 313 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default Re: Checkout problem: not processing more than one product

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


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 03-14-2007, 01:13 AM
Lurker
 
Join Date: Jan 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
mc5000 is on a distinguished road
Default Re: Checkout problem: not processing more than one product

Thank you Michael, that is much appreciated.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

LinkBacks (?)
LinkBack to this Thread: http://www.oscmax.com/forums/oscmax-v2-installation-issues/8003-checkout-problem-not-processing-more-than-one-product.html

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

Similar Threads

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


All times are GMT -8. The time now is 06:34 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax