Hi,
I purchased Magic Zoom which I got working on the product page, but not on listing page. I contacted their support and got instruction to add a class MagicZoomPlus to the product image. I edited hikashop product view: listing_img.php and added the class, as per below code, unfortunately when I look at the code in the front end it's not pulling the class, what went wrong? Can you help me to enable the component on the listing page, please?
Thanks,
Kashka
<?php
/**
* @package HikaShop for Joomla!
* @version 2.2.3
* @author hikashop.com
* @copyright (C) 2010-2013 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3
www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?><?php
$link = hikashop_completeLink('product&task=show&cid='.$this->row->product_id.'&name='.$this->row->alias.$this->itemid.$this->category_pathway);
if(!empty($this->row->extraData->top)) { echo implode("\r\n",$this->row->extraData->top); }
?>
<!-- PRODUCT IMG -->
<div style="height:<?php echo $this->image->main_thumbnail_y;?>px;text-align:center;clear:both;" class="hikashop_product_image">
<div style="position:relative;text-align:center;clear:both;width:<?php echo $this->image->main_thumbnail_x;?>px;margin: auto;" class="hikashop_product_image_subdiv">
<?php if($this->params->get('link_to_product_page',1)){ ?>
<a href="<?php echo $link;?>" title="<?php echo $this->escape($this->row->product_name); ?>" class="MagicZoomPlus" >
<?php }
-- url of the page with the problem -- :
hammocks.ie/hammocksUAT/
hammocks.ie/hammocksUAT/index.php/hammocks
-- HikaShop version -- : HikaShop Business 2.2.3
-- Joomla version -- :Joomla 3.2.3