| Server IP : 87.98.231.4 / Your IP : 216.73.217.178 [ Web Server : Apache System : Linux webm007.cluster103.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : grupmartgn ( 667608) PHP Version : 8.5.7 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/grupmartgn/elanartcrafts/components/com_virtuemart/sublayouts/ |
Upload File : |
<?php
/**
*
* renders the categories
*
* @package VirtueMart
* @subpackage
* @author Eugen Stranz
* @link https://virtuemart.net
* @copyright Copyright (c) 2018 VirtueMart Team. All rights reserved.
* @license https://www.gnu.org/licenses/gpl-3.0.html GNU/GPL
* @version $Id: bs4-manufacturer.php 8024 2014-06-12 15:08:59Z Milbo $
*/
// Joomla Security Check - no direct access to this file
// Prevents File Path Exposure
defined('_JEXEC') or die('Restricted access');
// output the passed array / object content
$manufacturer = $viewData['bs4-manufacturer'];
// link to the manufacturer details
$manufacturerURL = JRoute::_(
'index.php?option=com_virtuemart&view=manufacturer&virtuemart_manufacturer_id=' . $manufacturer->virtuemart_manufacturer_id,
FALSE
);
// link to the category page which shows the products of this specific manufacturer
$manufacturerIncludedProductsURL = JRoute::_(
'index.php?option=com_virtuemart&view=category&virtuemart_manufacturer_id=' . $manufacturer->virtuemart_manufacturer_id,
FALSE
);
?>
<div class="card center">
<div>
<?php echo $manufacturer->images[0]->displayMediaThumb('class="img-fluid vm-category-thumbnail"', FALSE); ?>
</div>
<div class="card-body">
<h5 class="card-title"><?php echo $manufacturer->mf_name; ?></h5>
</div>
<ul class="list-group list-group-flush">
<li class="list-group-item">
<a href="<?php echo $manufacturerIncludedProductsURL ?>"
title="<?php echo vmText::_($manufacturer->mf_name) ?>"
class="btn btn-link">
<?php echo vmText::sprintf('COM_VIRTUEMART_PRODUCT_FROM_MF', $manufacturer->mf_name); ?>
</a>
</li>
<li class="list-group-item">
<a href="<?php echo $manufacturerURL ?>" title="<?php echo vmText::_($manufacturer->mf_name) ?>"
class="btn btn-link">
<?php echo vmText::_('COM_VIRTUEMART_MANUFACTURER_DETAILS'); ?>
</a>
</li>
</ul>
</div>