Example #1
0
                                   }
                               });
                           });
                       </script>
                   </div>
                   
           
               </div><!-- #product-overview -->
               
               <div class="col-sm-7 store-pane" id="product-digital">
                   
                   <?php 
   if (Config::get('concrete.permissions.model') != 'simple') {
       ?>
                   <?php 
       $files = $p->getProductDownloadFileObjects();
       for ($i = 0; $i < 1; $i++) {
           $file = $files[$i];
           ?>
 
                       <div class="form-group">
                           <?php 
           echo $form->label("dffID" . $i, t("File to download on purchase"));
           ?>
                           <?php 
           echo $al->file('dffID' . $i, 'dffID[]', t('Choose File'), is_object($file) ? $file : null);
           ?>
                       </div>
                   <?php 
       }
   } else {