Add Shipping Telephone Support Thread
This is the support thread for the Adding_Shipping_Telephone modification. It was Uploaded on 04-25-2010.
This modification adds the telephone number to the Shipping Address of the Customer's Order.
You can add an address during checkout or from their account page.
This mod was tested on a New 1.39a install and a 1.39a with Super_Orders 2.0 installed.
The phone number will show up in the Shipping Address section on the Order Confirmation Screen, the Printed Invoice and Admin Orders Screen.
The purpose is to have a telephone number to call at the Ship To Address if it becomes necessary.
Re: Add Shipping Telephone Support Thread
We have Numinix AJAX checkout, Jeff added the ship to phone number for us.
Zen Cart Help
http://www.zencartcodeanddesign.com
Re: Add Shipping Telephone Support Thread
I try this mod the email did work but the shipping telephone number does not show in the admin using the last version of zen :(
3 Attachment(s)
Re: Add Shipping Telephone Support Thread
Quote:
Originally Posted by
|Dexter|
I try this mod the email did work but the shipping telephone number does not show in the admin using the last version of zen :(
I have just installed it on a 1.3.9d installation and it works as it should. I did find one small error on line 100 of the file:
includes/modules/pages/address_book_process/header_php.php. It was missing a closing bracket }. A new file has been uploaded to Zen Cart or you can get it from MY Mods Site.
If the Default Address is used, you will not see any change in the Admin Orders Screen. If the shipping address is NOT the default address, then it will show the different phone number. If it is the Default Address or not, it DOES show up on the Invoice and the Packing List. I am attaching screen shots of those 3 pages, but not sure if it will show up well enough to see. (Magnifying glass may be necessary) :D
Re: Add Shipping Telephone Support Thread
Hallo,
Thank you for this great module. The receiver's telephone number is a tiny but very very essential detail!!!
I have installed it to zen-cart-1.3.9e with edit orders and super orders and seems to be working all right!
I would like to ask the following:
There is a difference in the last line of the file
includes/classes/order.php
In the original znen-cart file, the last line reads:
Code:
$this->notify('NOTIFY_ORDER_AFTER_SEND_ORDER_EMAIL', array($zf_insert_id, $email_order, $extra_info, $html_msg));
In the module's file the last line is shorter:
Code:
$this->notify('NOTIFY_ORDER_AFTER_SEND_ORDER_EMAIL');
Is it safe to ignore this difference?
Kind regards,
orange_juice
Re: Add Shipping Telephone Support Thread
Quote:
Originally Posted by
orange_juice
Hallo,
Thank you for this great module. The receiver's telephone number is a tiny but very very essential detail!!!
I have installed it to zen-cart-1.3.9e with edit orders and super orders and seems to be working all right!
I would like to ask the following:
There is a difference in the last line of the file
includes/classes/order.php
In the original znen-cart file, the last line reads:
Code:
$this->notify('NOTIFY_ORDER_AFTER_SEND_ORDER_EMAIL', array($zf_insert_id, $email_order, $extra_info, $html_msg));
In the module's file the last line is shorter:
Code:
$this->notify('NOTIFY_ORDER_AFTER_SEND_ORDER_EMAIL');
Is it safe to ignore this difference?
Kind regards,
orange_juice
Go with the longer line. This mod was done under 1.3.9a and the longer line was added in 1.3.9d.
Re: Add Shipping Telephone Support Thread
Quote:
Originally Posted by
JTheed
Go with the longer line. This mod was done under 1.3.9a and the longer line was added in 1.3.9d.
All right!
Since I have a few modules installed, it was easier for me to install the Add Shipping Telephone Module according to the template override system.
Therefore, I modified the structure of the directory tree in my installation and I have adjusted it in a way that it changes only 5 core files:
Code:
./admin/includes/classes/order.php
./admin/includes/functions/functions_customers.php
./admin/customers.php
./includes/classes/order.php
./includes/functions/functions_customers.php
The other ones are inserted as override files in the template system so it is easier to control them if they need changing or so:
Code:
./includes/languages/YOUR_TEMPLATE/english.php
./includes/modules/YOUR_TEMPLATE/create_account.php
./includes/modules/YOUR_TEMPLATE/pages/address_book/header_php.php
./includes/modules/YOUR_TEMPLATE/pages/address_book_process/header_php.php
./includes/modules/YOUR_TEMPLATE/checkout_new_address.php
./includes/modules/YOUR_TEMPLATE/checkout_address_book.php
./includes/templates/YOUR_TEMPLATE/templates/tpl_modules_address_book_details.php
./includes/templates/YOUR_TEMPLATE/templates/tpl_modules_checkout_new_address.php
Thank you again for this contribution. :clap:
Kind regards,
orange_juice
Re: Add Shipping Telephone Support Thread
Quote:
Originally Posted by
orange_juice
All right!
Since I have a few modules installed, it was easier for me to install the Add Shipping Telephone Module according to the template override system.
Therefore, I modified the structure of the directory tree in my installation and I have adjusted it in a way that it changes only 5 core files:
Code:
./admin/includes/classes/order.php
./admin/includes/functions/functions_customers.php
./admin/customers.php
./includes/classes/order.php
./includes/functions/functions_customers.php
The other ones are inserted as override files in the template system so it is easier to control them if they need changing or so:
Code:
./includes/languages/YOUR_TEMPLATE/english.php
./includes/modules/YOUR_TEMPLATE/create_account.php
./includes/modules/YOUR_TEMPLATE/pages/address_book/header_php.php
./includes/modules/YOUR_TEMPLATE/pages/address_book_process/header_php.php
./includes/modules/YOUR_TEMPLATE/checkout_new_address.php
./includes/modules/YOUR_TEMPLATE/checkout_address_book.php
./includes/templates/YOUR_TEMPLATE/templates/tpl_modules_address_book_details.php
./includes/templates/YOUR_TEMPLATE/templates/tpl_modules_checkout_new_address.php
Thank you again for this contribution. :clap:
Kind regards,
orange_juice
:oops: :lamo:
I faced a problem ...
The address book telephone number was erased just after I inserted it ...
I reinstalled the module replacing all the core files, as per default, and now everything works OK.
Sorry for rushing! :blush:
Kind regards,
orange_juice
Re: Add Shipping Telephone Support Thread
A quick question I hope someone might know, Will this work with version 1.38a? Hope so. If not, can anyone help or recommend?
Many thanks, Im almost ready to cut the ribbon on our store!:clap:
Re: Add Shipping Telephone Support Thread
Quote:
Originally Posted by
beco1979
A quick question I hope someone might know, Will this work with version 1.38a? Hope so. If not, can anyone help or recommend?
Many thanks, Im almost ready to cut the ribbon on our store!:clap:
Yes, It should work fine in 1.38a