<?php
/**
 *---------------------------------------------------------------------------------------
 * @package       VP Smart Template
 *---------------------------------------------------------------------------------------
 * @copyright     Copyright (C) 2012-2021 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' );
?>
<div class="product-related-categories mod-big-header">
	<h3 class="mod-header"><span class="mod-header-title"><?php echo vmText::_('COM_VIRTUEMART_RELATED_CATEGORIES'); ?></span></h3>
	<div class="category-list">
		<div class="row">
			<?php foreach ($this->related_categories as $field) : ?>
				<div class="category-item col-sm-6 col-md-3">
					<div class="category-item-inner product-related-category product-field-type-<?php echo $field->field_type ?>">
						<?php echo $field->display ?>
					</div>
				</div>
			<?php endforeach; ?>
		</div>
	</div>
</div>
