" > <div class="control-label"><strong><?php echo JText::_("COM_QUICK2CART_PROD_FREE_DOWNLOAD"); ?> </strong></div> <div class="controls qtc_padding_class_attributes"> <?php $productHelper = new productHelper(); foreach ($this->mediaFiles as $mediaFile) { $linkData = array(); $linkData['linkName'] = $mediaFile['file_display_name']; $linkData['href'] = $productHelper->getMediaDownloadLinkHref($mediaFile['file_id']); $linkData['event'] = ''; $linkData['functionName'] = ''; $linkData['fnParam'] = ''; echo $productHelper->showMediaDownloadLink($linkData) . "<br>"; } ?> </br> </div> </div> <?php } $showqty_style = ""; $showqty = $params->get('qty_buynow', 1); // Check whether you have to show quantity or not if (empty($showqty)) { $showqty_style = "display:none;"; } ?> <div class="control-group" style="<?php