Thank you for your reply. Unfortunately, I did install other mods and Ty Package Tracker was an after thought. I will need to completely start over to install it. Thanks again.
Printable View
Yeah I can't help troubleshoot changes to the orders.php files that are as a result of other add-ons you installed.. The error you have indicates that some other add-on has modified a section of the orders.php file that is NOT modified by Ty Package Tracker.. When you re-install make sure you use WinMerge or Beyond Compare to carefully check any of your core file changes..
Hello, I am so excited to use this module! I am currently using Zen Cart 1.5 and Ty package tracker 1.5x. I did a test run and the only thing I can't seem to work right is the email that is sent to the customer. The Tracking number itself isn't the link (which I would like it to be). The part that customer would copy and paste into the web address is a link though. How can I make the tracking number itself the link? Please tell me exactly what file to modify and what to change it to, thank you so much! I have gone through the forums and thought I found the answer, but it didn't fix it. It was suggestion that changed the code in admin/orders.php from:
original coding:
to new coding that should have made the tracking number a link, but it didn't work, so I changed it backPHP Code:
if (zen_not_null($track_id1)) { $notify_comments .= "\n\nYour " . CARRIER_NAME_1 . " Tracking ID is " . $track_id1 . " \n<br /><a href=" . CARRIER_LINK_1 . $track_id1 . ">Click here</a> to track your package. \n<br />If the above link does not work, copy the following URL address and paste it into your Web browser. \n<br />" . CARRIER_LINK_1 . $track_id1 . "\n\n<br /><br />It may take up to 24 hours for the tracking information to appear on the website." . "\n<br />"; }
I have copied the email below:PHP Code:
if (zen_not_null($track_id1)) { $notify_comments .= "\n\n<br />Your " . CARRIER_NAME_1 . " Tracking ID is <a href=" . CARRIER_LINK_1 . $track_id1 .">$track_id1</a>. \n<br />If the above link does not work, copy the following URL address and paste it into your Web browser. \n<br />" . CARRIER_LINK_1 . $track_id1 . "\n\n<br />It may take up to 24 hours for the tracking information to appear on the website." . "\n<br />"; }
Your UPS Tracking ID is 1ZR200090393977848.
If the above link does not work, copy the following URL address and paste it
into your Web browser.
http://wwwapps.ups.com/WebTracking/p...00090393977848
It may take up to 24 hours for the tracking information to appear on the
website.
Your order has been updated to the following status:
New status: Shipped
H,
thanks for your contribution. You have made a wonderful mod.
i have a question....
how can i have the shipping address and telephone number in a single column in the order details page where we fill the tracking details, so that i can just copy and paste the address and phone at a one go to the shipping label?
thanks in advance.
As I said, I did do as they thread suggested and it doesn't work. It still shows the Tracking number as regular text, but the link you are suppose to copy and paste IS the link. How can I make the tracking number the link? In my original inquiry above, I did show exactly what the thread said to change in the admin/orders.php BUT it didn't work. Does the code suggested look correct? I suppose I can just wait until you have fixed it and put out an update. Thank you for your time and great module. If you have a solution, I would love to hear it.
Honestly I misspoke when I said I was going to fix that.. I thought you were referring to another issue for which I posted a solution..
When I get some time to post the minors updates I did add to this, I will "fix" this by re-wording the outbound e-mail so that it reads as follows:
Solves the immediate issue.. I'll post the changes to get this result later..Quote:
Zen Cart Test Store Order Number: 9
Detailed Invoice:
http://yourstore.com/index.php?main_...nfo&order_id=9
Date Ordered: Wednesday 20 June, 2012
Your FedEx Tracking ID is 123456789101
Click the following URL address to track your package:
http://www.fedex.com/Tracking?action...s=123456789101
If the above link does not work, copy the URL address and paste it into your Web browser.
It may take up to 24 hours for the tracking information to appear on the website.
Your current order status is: Shipped
Please reply to this email if you have any questions.
In the meantime, if anyone wants to post a solution which makes the tracking number clickable, then post it.. and if I can test it and verify that it works I will include it..
Trying to load 2.0 on zc1.5.0 fresh install. I DID bring over order history from a previous install, as I don't want to lose all those comments and tracking numbers. All the functions of tracking seem to be working, but I can't get the Ty config page to show.
This statement works fine:
SELECT @tyid:=configuration_group_id FROM zen_configuration_group
WHERE configuration_group_title= 'Ty Package Tracker';
DELETE FROM zen_configuration WHERE configuration_group_id = @tyid;
DELETE FROM zen_configuration_group WHERE configuration_group_id = @tyid;
This statement works fine:
INSERT INTO zen_configuration_group VALUES (NULL, 'Ty Package Tracker', 'Settings for Ty Package Tracker features', '0', '1');
UPDATE zen_configuration_group SET sort_order = last_insert_id() WHERE configuration_group_id = last_insert_id();
SELECT @cgi:=configuration_group_id FROM zen_configuration_group WHERE configuration_group_title = 'Ty Package Tracker';
This statement gives an error:
/*
Register Admin Page
*/
SELECT @typackageadmin:=page_key
FROM zen_admin_pages WHERE language_key='BOX_CONFIGURATION_TY_PACKAGE_SETTINGS';
DELETE FROM zen_admin_pages WHERE page_key=@typackageadmin;
INSERT INTO zen_admin_pages (page_key,language_key,main_page,page_params,menu_key,display_on_menu,sort_order )
VALUES ('configTyPackageTracker','BOX_CONFIGURATION_TY_PACKAGE_SETTINGS','FILENAME_CONF IGURATION',CONCAT('gID=',@cgi), 'configuration', 'Y', @cgi);
The error is:
SQL query:
INSERT INTO zen_admin_pages( page_key, language_key, main_page, page_params, menu_key, display_on_menu, sort_order )
VALUES (
'configTyPackageTracker', 'BOX_CONFIGURATION_TY_PACKAGE_SETTINGS', 'FILENAME_CONFIGURATION', CONCAT( 'gID=', @cgi ) , 'configuration', 'Y', @cgi
);
MySQL said: Documentation
#1048 - Column 'page_params' cannot be null
Any help would be very appreciated!