Skip to main content

Display of files column in customer order view

More
15 years 7 months ago #6336 by brainforge
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.

More
15 years 7 months ago #6339 by nicolas
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.129 seconds
Powered by Kunena Forum