surfinagain Posted August 12, 2004 Share Posted August 12, 2004 can some one tell me where this code from checkout_confirmation.php get it's values? if ( (isset($order->products[$i]['attributes'])) && (sizeof($order->products[$i]['attributes']) > 0) ) { for ($j=0, $n2=sizeof($order->products[$i]['attributes']); $j<$n2; $j++) { echo '<br><nobr><small> <i> - ' . $order->products[$i]['attributes'][$j]['option'] . ': ' . $order->products[$i]['attributes'][$j]['value'] . '</i></small></nobr>'; } } the function 'sizeof' returns the correct number of attributes a product in the cart has but the $order->products[$i]['attributes'][$j]['option'] and $order->products[$i]['attributes'][$j]['value'] don't seem to have the actual values of those attributes. As a result I'm seeing the option/attributes in the cart but not in the checkout confirmation OR order. Thanks for any help... Link to comment Share on other sites More sharing options...
surfinagain Posted August 13, 2004 Author Share Posted August 13, 2004 someone has to know how this section of checkout_confirmation works or at the very least where these arrays are being populated. I'm dying over this. Literally every order has at least one product with an option selection and they are being lost at checkout/order. PLEASE HELP IF YOU CAN. Thanks.... Link to comment Share on other sites More sharing options...
surfinagain Posted August 15, 2004 Author Share Posted August 15, 2004 Resolved my problem by uninstalling PayPal 2.2 I'm sure it was my install and not PayPal mod. I just wasn't able to determine exactly where I went wrong and I really needed to fix the attributes problem I was having. Link to comment Share on other sites More sharing options...
Tranbo Posted August 17, 2004 Share Posted August 17, 2004 I uninstall my latest paypal ipn and the problem is still there. Link to comment Share on other sites More sharing options...
Tranbo Posted August 17, 2004 Share Posted August 17, 2004 I decided to test it on the stock osc install and it work. So it must be one of the mod I installed that mess up this thing...But which one ?????? :unsure: Link to comment Share on other sites More sharing options...
surfinagain Posted August 17, 2004 Author Share Posted August 17, 2004 michael...first, i feel your pain! i spent too much time with 'beyond compare' looking for that needle in the hay stack of php code. you've at least got the code in front of you now that writes out order at checkout....so that should give you a good starting point. it has to be a botched mod install as it was with me. good luck! Link to comment Share on other sites More sharing options...
Tranbo Posted August 19, 2004 Share Posted August 19, 2004 Update Info I removed the paypal contribution 2.6a and everything is working now. The stock paypal module work. The Paypal IPN contribution author is aware of the problem if he read the paypal ipn thread cause I also posted there. Oh ya, removed paypal contribution mean completely remove files not disable the module in the admin. Cheer! :D :D :D Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.