Display of files column in customer order view

  • Posts: 292
  • Thank you received: 5
  • Hikashop Business
13 years 10 months ago #6336

In order/tmpl/show.php the files column is always shown when the following condition is satisified even when there are no files to download.

$this->invoice_type=='order'

Could this be changed so that the file files column is hidden when

empty($product->files)

returns true for all files - or am I missing something here?

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

  • Posts: 83007
  • Thank you received: 13398
  • MODERATOR
13 years 10 months ago #6339

Indeed it should be both actually:

if($this->invoice_type=='order' && !empty($product->files)){
//display column
}

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

Time to create page: 0.054 seconds
Powered by Kunena Forum