Shipping Invoice

  • Posts: 51
  • Thank you received: 0
10 years 8 months ago #148479

-- 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.

  • Posts: 12953
  • Thank you received: 1778
10 years 8 months ago #148529

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 :

    <?php if($this->invoice_type=='full'){
      $fieldsClass = hikashop_get('class.field');
      $fields = $fieldsClass->getFields('backend',$this->order,'order');
      if(!empty($fields)){ ?>
By :
    <?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.

  • Posts: 51
  • Thank you received: 0
10 years 7 months ago #150870

That worked perfectly Mohamed. Many Thanks!

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

Time to create page: 0.067 seconds
Powered by Kunena Forum