Custom shipping invoice

  • Posts: 217
  • Thank you received: 4
7 years 1 day ago #283036

-- HikaShop version -- : 3.2.1

Hello,

I would like to ask, if is possible to make "Shipping invoice" custom. My problem is that if I change shipping_invoice.php of view order it does not appear and my shipping invoice is still similar to normal invoice, just without price and so on.

Please, is there any way to have stanalone template for shipping invoice too??

Thank you,
Filip

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
7 years 1 day ago #283040

Hi,

Activate the "Display view files" setting of the HikaShop configuration and you'll see which view file is used where, so you'll know which one to edit.
You can have a standalone template for the shipping invoice, separated from the invoice. Just add such code at the beginning if the order/invoice.php view file :

if($this->invoice_type!='full'){
 require_once("PATH TO YOUR shipping invoice.php file");
 return;
}

Please Log in or Create an account to join the conversation.

Time to create page: 0.064 seconds
Powered by Kunena Forum