10.03.2023 19:03
|
|
spike77
Name: Manfred
30.04.2015
Posts: 706
|
Tracking URL two different Logistic Service Provider
How can I add a clicking url for Tracking with different logistic provider? Tracking links are saved in Shipping Methods.
This is the php-snippet in status_text.php (individual text for order changes):
if (isset($order->tracking_number) && $order->tracking_number) {
$vartext = 'Sendungsnummer: <a title="Sendungsverfolgung" href="http://nolp.dhl.de/nextt-online-public/set_identcodes.do?lang=de&idc='.$order->tracking_number.'&rfn=&extendedSearch=true" target="_blank" rel="noopener noreferrer">'.$order->tracking_number.' </a><br /><a title="Sendung verfolgen" href="http://nolp.dhl.de/nextt-online-public/set_identcodes.do?lang=de&idc='.$order->tracking_number.'&rfn=&extendedSearch=true" target="_blank" rel="noopener noreferrer">Sendung verfolgen</a></p> <p>Systembedingt kann es bis zu 24h dauern, bis die Daten zur Sendungsverfolgung beim Versanddienstleister abgerufen werden können.';
How can I Change this static link in .php: href="http://nolp.dhl.de/nextt-online-public/set_identcodes.do?lang=de&idc= to the individual link from shipping method ({tracking_number_url} ?
status_text1.zip
Last change: 10.03.2023 19:07
|
|
10.03.2023 20:47
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Posts: 25938
|
Aw: Tracking URL two different Logistic Service Provider
See
https://www.webdesigner-profi.de/joomla-webdesign/shop/addons/order-tracking.html
|
|
11.03.2023 10:00
|
|
spike77
Name: Manfred
30.04.2015
Posts: 706
|
Aw: Tracking URL two different Logistic Service Provider
Ok, thank you. Can you help me, how can i display the Name of the Shipping Provider in the Status E-Mail?
|
|
11.03.2023 11:18
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Posts: 25938
|
Aw: Tracking URL two different Logistic Service Provider
Will be added variable {shipping}
https://www.webdesigner-profi.de/joomla-webdesign/shop/addons/individual-text-for-order-status.html
|
|
11.03.2023 12:08
|
|
spike77
Name: Manfred
30.04.2015
Posts: 706
|
Aw: Tracking URL two different Logistic Service Provider
Sorry but variable don´t work. E-Mail text is:
Neuer Status ist: Versandt mit {shipping}
Don´t found variabe {shipping} in addon!?
erlaubt use Variablen: {first_name}, {last_name}, {order_number}, {order_status}, {order_detail_url}, {comment}, {company}, {address}, {zip}, {city}, {country}, {phone}, {fax}
Addon Order tracking:
{tracking_number}, {tracking_number_url}
Last change: 11.03.2023 12:10
|
|
11.03.2023 12:15
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Posts: 25938
|
Aw: Tracking URL two different Logistic Service Provider
Will be in new version (I probably didn't fully explain.)
|
|
11.03.2023 12:36
|
|
spike77
Name: Manfred
30.04.2015
Posts: 706
|
Aw: Tracking URL two different Logistic Service Provider
Ok, thanks - but perhaps you can say me, what is variabel for shipping info?
$message = str_replace('{shipping}', $vendorinfo-> SHIPPING ????, $message);
|
|
11.03.2023 15:07
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Posts: 25938
|
Aw: Tracking URL two different Logistic Service Provider
New version
Individual text for order status 2.3.0
|
|
11.03.2023 15:26
|
|
spike77
Name: Manfred
30.04.2015
Posts: 706
|
Aw: Tracking URL two different Logistic Service Provider
Thanks, works! One thing .... Is it possible to integrate the Homepage clickable of the selected Shipping Provider?
For Example
Shipped with: DHL www.dhl.de
(not rename Shippingname)
Last change: 11.03.2023 15:34
|
|
11.03.2023 16:55
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Posts: 25938
|
Aw: Tracking URL two different Logistic Service Provider
Change code
Individual text for order status
|
|