is there also a way to include more options in the url that you get from the d-base ?
for example add the postalcode of the customers' address as a variable ?
is there also a way to include more options in the url that you get from the d-base ?
for example add the postalcode of the customers' address as a variable ?
I don't understand what you want to do. Put an example with an URL.
I am getting this error in the log:
Line 108 reads:Code:[23-Apr-2010 12:29:41] PHP Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in /includes/templates/CUSTOM/templates/tpl_account_history_info_default.php on line 108
PHP Code:
if (array_key_exists($statuses['tracker_id'], $trackers_full_array)) {
for those who encounter 1146 select count(*) as total from table_trackers error
i add in admin\includes\extra_configures\package_trackers_defines.php
define('TABLE_TRACKERS', DB_PREFIX . 'trackers');
this really waste lot of my time.
anyway, thanks for the author, this module is really what i want improved from Ty package tracker.
Amazing addon! thanks!
AMAZING !!!!!! I LOVE IT
and i also find the installation guide is very very good
i have a question, i want to add some codes to tpl_account_history_info_default.php such as
but it doesn't work, then what codes do i add to tpl_account_history_info_default.php and account_history_info/header_php.php to make this done?PHP Code:
if ($tracker_name = 'UPS' and $order->delivery['country']['iso_code_2'] == 'UK') { $tracking_numbers_string .= TEXT_UPS_UK; }
elseif ($tracker_name = 'DHL' and $order->delivery['country']['iso_code_2'] == 'UK') { $tracking_numbers_string .= TEXT_DHL_UK; }
elseif ($tracker_name = 'UPS' and $order->delivery['country']['iso_code_2'] == 'CA') { $tracking_numbers_string .= TEXT_UPS_CA; }
elseif ($tracker_name = 'DHL' and $order->delivery['country']['iso_code_2'] == 'CA') { $tracking_numbers_string .= TEXT_DHL_CA; }
any help?
i know why it doesn't work,
i tried adding $order->delivery['country']['iso_code_2'] to tpl_account_history_default,
on account history page, it should been displayed those two letters CA, but now it displays only the first letter C, very weird.
i dont know what do i fix it, any ideas?
Double equal
or use strcmp() == 0Code:$tracker_name == 'UPS'
I've followed the instruction and triple checked my work. I'm not able to access "Previous Orders" on "My Account Information". When I click on view I get a blank white page.
Other then localizations, is there anything else I need to check in the Admin area? I don't see anything else regarding tracking.
I have not previously edited the required files till I found this MOD. Can someone just give me their modified files in case I have done something wrong?
Thank you,
Scott
Last edited by scupoli; 27 Jul 2010 at 12:21 PM.
EDIT: I've created a dummy account so you can see what I'm talking about. Just go to previous orders under account info and click view to see.
http://www.keysandmice.com
User: [email protected]
Pass: goofy
Bookmarks