Jump to content

Carrier transit time in e-mails and invoice - how?


Recommended Posts

  • 8 months later...

I found a solution.

 

in classes/PaymentModule.php Iadded this line 727:

'{carrier}' => ($virtual_product || !isset($carrier->name)) ? Tools::displayError('No carrier') : $carrier->name,
'{delay}' => $carrier->delay,
'{payment}' => Tools::substr($order->payment, 0, 32),

and then I called {delay} in mails/en/order_conf.html like here in line 308:

<span style="color:#777">
   <span style="color:#333"><strong>Carrier:</strong></span> {carrier}<br />{delay}<br/><br />
   <span style="color:#333"><strong>Payment:</strong></span> {payment}
</span>
Link to comment
Share on other sites

×
×
  • Create New...