Peter Dirks Posted October 17, 2002 Share Posted October 17, 2002 I have the following problem... when i register as a customer all info is being shown correctly when i order as the same customer all info is being shown correct on the checkout_payment.phppage the delivery adress is shown correctly on the checkout_confirmation.php page the delivery adress is shown correctly however when i look at the database in the table "orders" the "delivery_Country" gives the value as the first letter of the Country"N" for Netherlands of "U" for the United states, no matter if i don't use or do use the "shipping adres book" when ordering it would show give the "full" country description this causes the invoices & shipping info to give the incorrect information the settings for delivery_country in the database are Type= varchar(32) Null = No also looking at the adressbook-tabel the correct Country ID is displayed looking at the countries-tabel the correct information is shown.. in the checkout_process the following code is given for the delivery_country: 'delivery_country' => $order->delivery['country']['title'], which seams to be the identical code as mentioned at 'customers_country' => $order->customer['country']['title'], where/what/how do i need to change to show the correct info to give the database the correct "full" country description on the delivery country instead of the current "first" letter of the country Thanx for your time Link to comment Share on other sites More sharing options...
Mark Evans Posted October 17, 2002 Share Posted October 17, 2002 where/what/how do i need to change to show the correct info Have you made any customisations to the checkout process or added any contributions?? This works fine in vanilla CVS. Mark Evans osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops) --------------------------------------- Software is like sex: It's better when it's free. (Linus Torvalds) Link to comment Share on other sites More sharing options...
Guest Posted October 17, 2002 Share Posted October 17, 2002 I just found the same problem. It was working just fine until I added the Gift Voucher Contribution, so i'm going to start looking at that. Did you installt hat contribution? I only see the first character showing of the country when you look at the order history details in the customers account. Link to comment Share on other sites More sharing options...
Peter Dirks Posted October 18, 2002 Author Share Posted October 18, 2002 tyler_durden> i didn't install the gift voucher contribution.. btw when i looked at the account_history , at the "view order" in order history. the location of the Delivery Adress is completely empty only the shipping details are shown.. on the view order summary page , the "ship to name" is shown.. tonight i'll down the lastest 2.2 version to and verify the checkout process Link to comment Share on other sites More sharing options...
Guest Posted October 18, 2002 Share Posted October 18, 2002 My bad... I'm noticing now it was after I installed the user tracker Contribution where this problem started. That makes it even goofier. Link to comment Share on other sites More sharing options...
Peter Dirks Posted October 18, 2002 Author Share Posted October 18, 2002 it makes it weird for me too.. since the complete order-process are the 4pages i didn't make any change too Link to comment Share on other sites More sharing options...
Peter Dirks Posted October 18, 2002 Author Share Posted October 18, 2002 i just upped the latest version(17-10 2.2) of the Checkout_..... pages and the error is still there..... anybody has another idea of where this could have been going wrong Link to comment Share on other sites More sharing options...
Peter Dirks Posted October 18, 2002 Author Share Posted October 18, 2002 now it all becomes even weirder.... even the email send out containing the order details shows the correct shipping information.... this would mean the problem only lays in the invoice & slip pages... Link to comment Share on other sites More sharing options...
Peter Dirks Posted October 19, 2002 Author Share Posted October 19, 2002 i fixed it.... :D The part which caused the problem was caused by the checkout_process.php page of which i changed 'delivery_country' => $order->delivery['country'][title], into 'delivery_country' => $order->delivery['country'], and it worked/works as a charm.. Link to comment Share on other sites More sharing options...
Guest Posted October 19, 2002 Share Posted October 19, 2002 Thanks for the tip! That helped my problem also. I also had to change the billing address. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.