Hi,
I have installed JM-Sporty with JM-Products and Color swatch extensions.
When I am using Jm_products/list to show some products in my site, colors variations are not showing.
When choosing traditional mode of looking a product list (ex through categories) all products are presented correctly (with other color(similar products) thunails.
Could somebody tell me how to fix this problem?
5 answers
@ izyshoes,
Please correct me if I am wrong, you want to configure your product list to view color thumbnail and product detail with option of product color as our demo. If that is the case, please follow this guide.
My problem is that color variations are not showed when viewing products from Jm-Products/list.
Please check my home page at the bottom. (screenshot-1)
You will see 3 products showed be Jm-products/lists. There is no thubnails for color vairations although Product R315 and 29151 (first and third) have. If you go to see the products through menu or search you will see the thubnails.
Please put in search R315 to see what I mean. (screenshot-2)
I am attaching bellow 2 screenshots for your reference
Screenshot 1
Attachment 33499
Screenshot 2
Attachment 33497
I have just updated the jm-product list for you, please check again to see if it works with color vairations as mentioned.
Thank you for your help.
please inform me for the changes you have made in order to keep truck for future versions, unless you will have a permanent change in the theme (for future versions)
@ izyshoes,
I did make changes to the …app/design/frontend/default/jm_sporty/template/joomlart/jmproducts/list.phtml file, I add the following code block:
PHP Code:
<?php if($_products = Mage::helper("jmcolorswatch")->getRelatedproducts($_product->getId())){ ?>
<div class="productgaleries">
<?php
?>
<?php foreach ($_products as $_item):
$_item = Mage::getModel('catalog/product')->load($_item->getId());
?>
<a href="<?php echo $_item->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_item->getName()) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_item, 'thumbnail')->resize(56,56) ?>" width="56" height="62" alt="<?php echo $this->htmlEscape($_item->getName()) ?>" /></a>
<?php endforeach; ?>
</div>
<?php } ?>