[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4752: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4754: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4755: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4756: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
 OpenForum.dk • Vis emne - Track & Trace på osCommerce...

Track & Trace på osCommerce...

Danske moduler, eller oversættelser til engelske moduler.

Redaktør: Redaktionen

Indlægaf KiLLaH » 2005-03-19 16:41

Jeg har endnu ikke været i stand til at få den her modul til at fungere, dog lagde jeg mærke til nogen mystiske ting.

[php] /* #CHAVEIRO3# Tracking contribution begin*/
if ((isset($HTTP_POST_VARS['notify_tracking']) && ($HTTP_POST_VARS['notify_tracking'] == 'on')) & (tep_not_null($track_num) || tep_not_null($track_num2) || tep_not_null($track_num3))) {
$notify_tracking = sprintf(EMAIL_TEXT_TRACKING_NUMBER) . "\n" . tep_catalog_href_link(FILENAME_CATALOG_ACCOUNT_HISTORY_INFO, 'order_id=' . $oID, 'SSL') . "\n\n";
} else { // BGsys added bugfix
$notify_tracking = '';
}
$email = STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" . EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID . "\n" . EMAIL_TEXT_INVOICE_URL . ' ' . tep_catalog_href_link(FILENAME_CATALOG_ACCOUNT_HISTORY_INFO, 'order_id=' . $oID, 'SSL') . "\n" . EMAIL_TEXT_DATE_ORDERED . ' ' . tep_date_long($check_status['date_purchased']) . "\n\n" . $notify_tracking . $notify_comments . sprintf(EMAIL_TEXT_STATUS_UPDATE, $orders_status_array[$status]);
/* #CHAVEIRO3# Tracking contribution end*/ [/php]

Bør & ikke være erstattet med && på linje 2 i koden.
If it's not broke, dont try to fix it!

Billede
Brugeravatar
KiLLaH
Godt igang
Godt igang
 
Indlæg: 147
Tilmeldt: 2003-04-13 15:46

Indlægaf kasper11 » 2005-03-22 00:52

kasper11
Godt igang
Godt igang
 
Indlæg: 32
Tilmeldt: 2005-03-18 20:13

Indlægaf KiLLaH » 2005-03-22 18:15

If it's not broke, dont try to fix it!

Billede
Brugeravatar
KiLLaH
Godt igang
Godt igang
 
Indlæg: 147
Tilmeldt: 2003-04-13 15:46

Indlægaf andenand » 2005-03-28 14:53

Er de optalte fejl rette i de moduler man kan hente fra denne side?
andenand
 

Indlægaf Emanon_den » 2005-07-29 22:58

Emanon_den
Novice
Novice
 
Indlæg: 1
Tilmeldt: 2005-07-10 11:32

Indlægaf 2-B-Fit » 2005-07-30 00:14

Brugeravatar
2-B-Fit
Godt igang
Godt igang
 
Indlæg: 44
Tilmeldt: 2004-04-21 00:04
Geografisk sted: Fyrkilde

Indlægaf larsh » 2005-11-18 21:37

larsh
Godt igang
Godt igang
 
Indlæg: 67
Tilmeldt: 2005-10-22 11:32

Indlægaf larsh » 2005-11-18 23:18

SÆLGES:: http://www.navcon.dk

http://www.e2shop.dk og http://www.toz.dk - Billigt blue tooth udstyr
larsh
Godt igang
Godt igang
 
Indlæg: 67
Tilmeldt: 2005-10-22 11:32

Indlægaf michldav » 2006-05-16 08:51

michldav
Godt igang
Godt igang
 
Indlæg: 184
Tilmeldt: 2005-11-6 15:29

Indlægaf KGP2005 » 2007-11-4 01:46

Er der nogen der har de færdige filer med rettelser osv, så man ikke skal ændre noget.??
KGP2005
Godt igang
Godt igang
 
Indlæg: 162
Tilmeldt: 2007-10-27 16:01

Indlægaf KGP2005 » 2007-11-4 21:48

KGP2005
Godt igang
Godt igang
 
Indlæg: 162
Tilmeldt: 2007-10-27 16:01

Indlægaf mbaek » 2007-11-5 00:44

mbaek
Ekspert medlem
Ekspert medlem
 
Indlæg: 1024
Tilmeldt: 2006-10-4 18:45
Geografisk sted: Tilst

Re: Track & Trace på osCommerce...

Indlægaf daaniell » 2008-07-15 03:02

Hej alle, jeg har også lige installeret modullet, jeg havde samme problem som Emanon_den og larsh! Husk at skriv løsningen så andre får glæde af det.. :)

Fejlen er at hvis du kun tager der hvor der er ændret ved at kigge efter // #CHAVEIRO3# TRACK og // #CHAVEIRO3# TRACK END så mangler du et sted hvor dette ikke er blevet skrevet!!

Der står følgende i readme filen:
Det jeg har markeret med tykt vil man glemme hvis man kun tager de enkelte redigerede linjer!

----------------------------------------------------------------------------------------------------------
catalog/account_history_info.php
----------------------------------------------------------------------------------------------------------
Find denne kodesekvens (linie 210 i den originale fil):
-----------------------------------------------------
<tr class="infoBoxContents">
<td valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2">
<?php
$statuses_query = tep_db_query("select os.orders_status_name, osh.date_added, osh.comments from " . TABLE_ORDERS_STATUS . " os, " . TABLE_ORDERS_STATUS_HISTORY . " osh where osh.orders_id = '" . (int)$HTTP_GET_VARS['order_id'] . "' and osh.orders_status_id = os.orders_status_id and os.language_id = '" . (int)$languages_id . "' order by osh.date_added");
while ($statuses = tep_db_fetch_array($statuses_query)) {
echo ' <tr>' . "\n" .
' <td class="main" valign="top" width="70">' . tep_date_short($statuses['date_added']) . '</td>' . "\n" .
' <td class="main" valign="top" width="70">' . $statuses['orders_status_name'] . '</td>' . "\n" .
' <td class="main" valign="top">' . (empty($statuses['comments']) ? '&nbsp;' : nl2br(tep_output_string_protected($statuses['comments']))) . '</td>' . "\n" .
' </tr>' . "\n";
}
?>
-----------------------------------------------------
Ret kodesekvensen til dette:
-----------------------------------------------------
<tr class="infoBoxContents">
<td valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2">
<?php
// #CHAVEIRO3# TRACK
?>
<tr>
<td class="main"><b><?php echo HEADING_STATUS_DATE; ?></b></td>
<td class="main"><b><?php echo HEADING_STATUS; ?></b></td>
<td class="main"><b><?php echo HEADING_COMMENT; ?></b></td>
<td class="main"><b><?php echo HEADING_TRACKING; ?></b></td>
</tr>
<?php
// #CHAVEIRO3# TRACK end
?>
<?php
$statuses_query = tep_db_query("select os.orders_status_name, osh.date_added, osh.comments, osh.track_num, osh.track_num2, osh.track_num3 from " . TABLE_ORDERS_STATUS . " os, " . TABLE_ORDERS_STATUS_HISTORY . " osh where osh.orders_id = '" . (int)$HTTP_GET_VARS['order_id'] . "' and osh.orders_status_id = os.orders_status_id and os.language_id = '" . (int)$languages_id . "' order by osh.date_added");
while ($statuses = tep_db_fetch_array($statuses_query)) {
echo ' <tr>' . "\n" .
' <td class="main" valign="top" width="70">' . tep_date_short($statuses['date_added']) . '</td>' . "\n" .
' <td class="main" valign="top" width="70">' . $statuses['orders_status_name'] . '</td>' . "\n" .
' <td class="main" valign="top">' . (empty($statuses['comments']) ? '&nbsp;' : nl2br(tep_output_string_protected($statuses['comments']))) . '</td>' . "\n" .
// #CHAVEIRO3# TRACK
' <td class="main" valign="top">' .
(empty($statuses['track_num']) ? '&nbsp;' : '<a href="' . URL_TO_TRACK1 . nl2br(tep_output_string_protected($statuses['track_num'])) . '" target="_blank">' . nl2br(tep_output_string_protected($statuses['track_num'])) . '</a>&nbsp;&nbsp;') .
(empty($statuses['track_num2']) ? '&nbsp;' : '<a href="' . URL_TO_TRACK2 . nl2br(tep_output_string_protected($statuses['track_num2'])) . '" target="_blank">' . nl2br(tep_output_string_protected($statuses['track_num2'])) . '</a>&nbsp;&nbsp;') .
(empty($statuses['track_num3']) ? '&nbsp;' : '<a href="' . URL_TO_TRACK3 . nl2br(tep_output_string_protected($statuses['track_num3'])) . '" target="_blank">' . nl2br(tep_output_string_protected($statuses['track_num3'])) . '</a>') .
'</td>' . "\n" .
// #CHAVEIRO3# TRACK end
' </tr>' . "\n";
}
?>
-----------------------------------------------------


Hilsen Daniel
daaniell
Godt igang
Godt igang
 
Indlæg: 43
Tilmeldt: 2008-06-11 22:22

Re: Track & Trace på osCommerce...

Indlægaf bestrong » 2009-03-18 13:03

Det ser spænende ud, lige hvad jeg har brug for. Er der nogen som allerede har implementeret det i deres side så jeg kan se hvordan det ser ud? og hvor de har placeret POST tracktrace?

Min webside hedder www.bestrong.dk/shopping

Mvh Henning
bestrong
Novice
Novice
 
Indlæg: 3
Tilmeldt: 2003-11-2 11:55

Re: Track & Trace på osCommerce...

Indlægaf agentjensen » 2009-03-18 17:35

Ja har det på shoppen - men du kan jo ikke se det hvis ikke du har bestilt en vare :oops: :oops:

jeg har endda fikset det sådan, at i ordre bekræftelsen medsendes et link til postdanmark track and trace - så slipper kunden for at logge på shoppen og da jeg kun har gæste-kunder var dette et must.

Men virker hos mig.

Mit udgangspunkt for det jeg lavede var det contrib der er skrevet om her i denne tråd.:


AgentJensen
KUN en tåbe frygter ikke PHP :-)
agentjensen
Ekspert medlem
Ekspert medlem
 
Indlæg: 1418
Tilmeldt: 2007-01-4 17:47
Geografisk sted: Halskov v/Skive

ForegåendeNæste

Tilbage til Moduler

Hvem er online

Brugere der læser dette forum: Ingen tilmeldte og 7 gæster

cron