Page 1 of 1

Zasilkovna Shipment Method in Emails

PostPosted: Sun Jan 05, 2014 2:59 pm
by admin
Dear Czech friends, if you'd like to see the street of zasilkovna shipment method within emails, we recommend to update the shipping plugins' code this way:

locate this file:
\plugins\vmshipment\zasilkovna\zasilkovna.php

look for:
Code: Select all
$values['shipment_name']                = $method->shipment_name;


and update it to:
Code: Select all
$values['shipment_name']                = $method->shipment_name.' ('.$_SESSION['branch_name_street'].') ';             


This way the street will be saved everywhere, where the shipping name is used (order details, print view, emails, etc..)

The code is located within function plgVmConfirmedOrder and is stored with:
$this->storePSPluginInternalData($values);

this shipping name modification could be used also by other plugins as well when properly modified.

Best Regards,
Stan