Skip to main content

Shipping Invoice

More
12 years 6 months ago #148479 by phickman
Shipping Invoice was created by phickman
-- url of the page with the problem -- : mywebsite.com/mypage
-- HikaShop version -- : 2.3.0 Business
-- Joomla version -- : 2.5.18
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message

The Invoice contains the Shipping Method and the Payment Method for an order. The Shipping Invoice does not. I would like to add the Shipping Method to the Shipping Invoice. How could that be done? I don't have a really in depth knowledge of PHP. Enough to make trouble, but not enough to accomplish anything useful. Is this something you could help with?

Would you consider making that modification in a future upgrade?

Thanks!

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

More
12 years 6 months ago #148529 by Mohamed Thelji
Replied by Mohamed Thelji on topic Shipping Invoice
Hi,
The solution will probably be to
- Go to "Hikashop->Display->Views"
- Edit the code of the "invoice" file of the "order" view of your back-end template
- Change that line :
Code:
<?php if($this->invoice_type=='full'){ $fieldsClass = hikashop_get('class.field'); $fields = $fieldsClass->getFields('backend',$this->order,'order'); if(!empty($fields)){ ?>
By :
Code:
<?php if(1){ $fieldsClass = hikashop_get('class.field'); $fields = $fieldsClass->getFields('backend',$this->order,'order'); if(!empty($fields)){ ?>

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

More
12 years 6 months ago #150870 by phickman
Replied by phickman on topic Shipping Invoice
That worked perfectly Mohamed. Many Thanks!

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

Time to create page: 0.151 seconds
Powered by Kunena Forum