Hi I made the tab it works but Komento does not show up. Note: Komento works under the submodules.
Once the code is placed, nothing appears
Code
<li id="hikashop_show_tabular_external_comments_li" class="hikashop_tabs_li ui-corner-top">
<?php echo JText::_('PRODUCT_COMMENT');?>
</li>
<div class="hikashop_tabs_content" id="hikashop_show_tabular_external_comments">
<?php
if($this->config->get('comments_feature') == 'jcomments') {
$comments = HIKASHOP_ROOT . 'components' . DS . 'com_jcomments' . DS . 'jcomments.php';
if(file_exists($comments)) {
require_once ($comments);
if(hikashop_getCID('product_id') != $this->product->product_id && isset($this->product->main->product_name)) {
$product_id = $this->product->main->product_id;
$product_name = $this->product->main->product_name;
} else {
$product_id = $this->product->product_id;
$product_name = $this->product->product_name;
}
echo JComments::showComments($product_id, 'com_hikashop', $product_name);
}
} elseif($this->config->get('comments_feature') == 'jomcomment') {
$comments = HIKASHOP_ROOT . 'plugins' . DS . 'content' . DS . 'jom_comment_bot.php';
if(file_exists($comments)) {
require_once ($comments);
if(hikashop_getCID('product_id') != $this->product->product_id && isset($this->product->main->product_name))
$product_id = $this->product->main->product_id;
else
$product_id = $this->product->product_id;
echo jomcomment($product_id, 'com_hikashop');
}
} elseif($this->config->get('comments_feature') == 'komento') {
$comments = HIKASHOP_ROOT . 'components' . DS . 'com_komento' . DS . 'bootstrap.php';
if(file_exists($comments)) {
require_once ($comments);
echo KT::commentify('com_hikashop', $this->product, array('params' => ''));
}
}
?>
</div>