<?php
/**
 *---------------------------------------------------------------------------------------
 * @package       VP Smart Template
 *---------------------------------------------------------------------------------------
 * @copyright     Copyright (C) 2012-2020 VirtuePlanet Services LLP. All rights reserved.
 * @license       GNU General Public License version 2 or later; see LICENSE.txt
 * @authors       Abhishek Das
 * @email         info@virtueplanet.com
 * @link          https://www.virtueplanet.com
 *---------------------------------------------------------------------------------------
 */

defined ( '_JEXEC' ) or die ( 'Restricted access' );
?>
<?php if ($this->category->haschildren) : ?>
	<div class="product-subcategories">
		<?php echo ShopFunctionsF::renderVmSubLayout('categories', array('categories' => $this->category->children, 'min_per_row' => 4)); ?>
	</div>
<?php endif; ?>