danielr Posted April 6, 2008 Posted April 6, 2008 Hi I have installed the second address line contribution http://addons.oscommerce.com/info/1855. I was wondering if anyone else was having any trouble with the second address line not appearing on the invoice and packing slip. danielr Quote
Guest Posted April 6, 2008 Posted April 6, 2008 HiI have installed the second address line contribution http://addons.oscommerce.com/info/1855. I was wondering if anyone else was having any trouble with the second address line not appearing on the invoice and packing slip. danielr Posted from the install package. -------------------- Changes in 1.5 -------------------- by:Vincenzo Penza aim:vinc3nzo web:www.penzamedia.com mail:[email protected] Notes: I installed this package properly, and found that the second address line was missing in the invoices, as well as sever other places. If you look at this section of the install package.... Disclaimer: I did not write this contribution, but find it very useful, and only one problem in the code. Hope this helps! --------------------------------------- in catalog/checkout_process.php: --------------------------------------- FIND (at or around line 57): 'customers_street_address' => $order->customer['street_address'], REPLACE WITH: 'customers_street_address' => $order->customer['street_address'], // Second Address Field mod: 'customers_street_address_2' => $order->customer['street_address_2'], // :Second Address Field mod FIND (at or around line 74): 'delivery_street_address' => $order->delivery['street_address'], REPLACE WITH: 'delivery_street_address' => $order->delivery['street_address'], // Second Address Field mod: 'delivery_street_address_2' => $order->delivery['street_address_2'], // :Second Address Field mod FIND (at or around line 86): 'delivery_street_address' => $order->delivery['street_address'], REPLACE WITH: 'delivery_street_address' => $order->delivery['street_address'], // Second Address Field mod: 'billing_street_address_2' => $order->billing['street_address_2'], // :Second Address Field mod ------------------------------ you'lll notice he wrote the last 6 lines improperly for $order->billing I've changed the last 6 lines of the above code (right after the final REPLACE THIS:) to this: --------------------------- 'billing_street_address' => $order->billing['street_address'], // Second Address Field mod: 'billing_street_address_2' => $order->billing['street_address_2'], // :Second Address Field mod ------------------------------- I've already made the changes to the install text, so no need to reference this page. It's just an explanation of what i changed. -Vincenzo Quote
danielr Posted April 6, 2008 Author Posted April 6, 2008 Thanks Leslie Still not working though. Is there anywhere else to look ? Dan Quote
Guest Posted April 6, 2008 Posted April 6, 2008 (edited) HiI have installed the second address line contribution http://addons.oscommerce.com/info/1855. I was wondering if anyone else was having any trouble with the second address line not appearing on the invoice and packing slip. danielr Hi Daniel Instead of answering the pm via pm, did you make the edits in the admin area? eg customers.php and do you see the second address line when you look at a customers account in admin eg when you go to edit a customers details? Edited April 6, 2008 by Coopco Quote
danielr Posted April 6, 2008 Author Posted April 6, 2008 Hi Coopco Yes I have checked the admin area and customers details and the second address line is there, also when 'filled' in by the customer still does not show on invoice. Dan Quote
Guest Posted April 6, 2008 Posted April 6, 2008 Hi CoopcoYes I have checked the admin area and customers details and the second address line is there, also when 'filled' in by the customer still does not show on invoice. Dan OK admin\includes\classes\order.php admin\includes\functions\general.php admin\includes\languages\english.php admin\customers.php These are the only edits in admin that I can find. Quote
danielr Posted April 6, 2008 Author Posted April 6, 2008 Hi Coopco I have triple checked all the admin files for required alterations and they are OK. I did a test purchase on the site and the 2nd line shows every, delivery address, billing address etc. But not on the Invoice ? Dan Quote
Guest Posted April 7, 2008 Posted April 7, 2008 Hi CoopcoI have triple checked all the admin files for required alterations and they are OK. I did a test purchase on the site and the 2nd line shows every, delivery address, billing address etc. But not on the Invoice ? Dan OK, that has me stumped. Quote
cookster32 Posted April 22, 2008 Posted April 22, 2008 OK, that has me stumped. I've got the same problem with the second line not showing on the invoice. I've just had one returned order by post because I used an incomplete shipping address and fortunately the order was returned. Everything was working fine before I switched to Worldpay. I have just checked back over my orders for customers' who have used the second line address field and it shows in both the customer details and on the invoice. SO, it was working before I switched to the Worldpay module. It's bizarrre because now (using Wpay) both the Delivery and Billing Address shows up 100% correct (with second line) on the customer email. It's just the invoice that's not showing - v.strange. BTW, i am using Worldpay Junior module. If anyone could shed some light on this, i'd be pleased because i prefer to use the invoice to write my customers' delivery addresses. Quote
monikart Posted February 3, 2009 Posted February 3, 2009 I've got the same problem with the second line not showing on the invoice. I've just had one returned order by post because I used an incomplete shipping address and fortunately the order was returned. Everything was working fine before I switched to Worldpay. I have just checked back over my orders for customers' who have used the second line address field and it shows in both the customer details and on the invoice. SO, it was working before I switched to the Worldpay module. It's bizarrre because now (using Wpay) both the Delivery and Billing Address shows up 100% correct (with second line) on the customer email. It's just the invoice that's not showing - v.strange. BTW, i am using Worldpay Junior module. If anyone could shed some light on this, i'd be pleased because i prefer to use the invoice to write my customers' delivery addresses. Same problem here. Read through these posts and tried to fix with no luck. shows up everywhere but on invoice and packing slip. i gave up and removed this contribution since there are no fixes here. Quote What would you do if you knew you could not fail?
Burntheweb Posted March 24, 2009 Posted March 24, 2009 I dig that thread out cause I have sort of the same problem... My 2nd line address shows everywhere BUT in the admin/order.php and invoice/packing slip if the custoemr choose PAYPAL as paying method.. my second payment method is EU bank transfer and this works fine! anyone faced the same issue? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.