June 8, 2015 at 4:02 pm
#4693
sns_ngannt
Moderator
Hi,
I can’t login fpt, please checked again. But you can go to file
app/design/frontend/sns_simo/default/template/catalog/product/list.phtml
You change
<?php if(Mage::helper('configurableswatches')->isEnabled()) {
$swatchesBlock = Mage::app() ->getLayout() ->createBlock('core/template') ->setTemplate('configurableswatches/catalog/product/list/swatches.phtml') ->setProduct($_product); echo $swatchesBlock->toHtml();
}
?>
By
<?php
if (version_compare(Mage::getVersion(), '1.9.1.0', '>=')) {
if(Mage::helper('configurableswatches')->isEnabled()) {
$swatchesBlock = Mage::app()
->getLayout()
->createBlock('core/template')
->setTemplate('configurableswatches/catalog/product/list/swatches.phtml')
->setProduct($_product);
echo $swatchesBlock->toHtml();
}
}
?>
Thanks
Useful
Recent Topics
Support Policy
- The time respons: 1-2 days
- Official hour: Mon-Fri / 9am-5pm
- Location time: GMT + 7
- Official hour: Mon-Fri / 9am-5pm
- Location time: GMT + 7