Hi!
I am also having trouble understanding what should happen or how. Below my products there is a compare box. Once you click at least two products, you get the button to compare them. Here is a link to a categorie of products;
www.paardenmestonderzoek.com/webshop/cat...tonderzoek-verzenden
Just like poster above, nothing happens when pressing. I checked the code and the compare function is below. Why is nothing happening when pressing the compare button?;
if($filter_type !== 3) {
$this->setLayout('listing');
$html = $this->loadTemplate($layout_type);
if(!$this->module)
echo $mainInfo;
if(!empty($html)){
if($this->module) echo $mainInfo;
if(!empty($htmlFilter) && $ctrl == 'category')
echo $htmlFilter;
?>
<div class="hikashop_products_listing">
<?php
if(hikaInput::get()->getVar('hikashop_front_end_main',0) && hikaInput::get()->getVar('task') == 'listing' && $this->params->get('show_compare')) {
$css_button = $this->config->get('css_button', 'hikabtn');
$css_button_compare = $this->config->get('css_button_compare', 'hikabtn-compare');
?>
<div id="hikashop_compare_zone" class="hikashop_compare_zone">
<a class="<?php echo $css_button . ' ' . $css_button_compare; ?>" id="hikashop_compare_button" style="display:none;" href="#" data-compare-href="<?php echo hikashop_completeLink('product&task=compare'.$this->itemid, false, true); ?>" onclick="if(window.hikashop.compareProducts) { return window.hikashop.compareProducts(this); }"><span><?php
echo JText::_('COMPARE_PRODUCTS');
?></span></a>
</div>
<?php
}
echo $html;