sporty will not show slideshow if tabs is enabled

we have the sporty theme installed, if the tabs plugin is enabled the slideshow disappears from the front page, i can get theslideshow & tabs (product slider) both to show on the front page if i disable the colorswatch plugin, but then the product pages are all blank.
any ideas?

14 answers

Profile photo of Ziven Staff 100640.00 $tone April 26, 2016
Public

Hi Terry,
I need a closer look to detect the root of issue, please PM me url, admin and ftp credentials of your site.
Best Regards,
Ziven.

#1
Profile photo of Mall Staff 184060.00 $tone April 27, 2016
Public

Hi terry,

we have the sporty theme installed, if the tabs plugin is enabled the slideshow disappears from the front page, i can get theslideshow & tabs (product slider) both to show on the front page if i disable the colorswatch plugin, but then the product pages are all blank.
any ideas?

I have detect your site and don’t the issue as you said. The JmColorSwatch is enabled: http://i.imgur.com/gCLNg7b.png
and the JmSlideShow and Jm Tabs still working in the front-page of your site at: http://window.parts/

 ive just noticed, simple products are showing, its configurable products that are missing 

=> What block/pages you want to refer? Let’s provide em more details about the issues, i will check further and help you get out.
Regards,
Mall.

#4
Profile photo of window parts 110.00 $tone April 27, 2016
Public

Hi Mall, thanks for taking a look,
 
this is a simple product, these seem to work http://goo.gl/6NVB5u
this is a configurable product, these do not work http://goo.gl/4i5Jtc
 
if the JmColorSwatch is disabled then the product pages work, but the slider disappears.
 
many thanks, terry

#5
Profile photo of Mall Staff 184060.00 $tone April 28, 2016
Public

Hi terry,
Yes, i see the issue as you said. I need to enable developer mode in your site to get the root of issue.
But i don’t have edit/upload files permission in your site with the credentials you have provided.
Let’s re-update the FTP/SSH credentials and open extra permission. I will check further and help you get out.
Regards,
Mall.
 

#6
Profile photo of Mall Staff 184060.00 $tone April 29, 2016
Public

Hi terry,
Yeah, to solve the issue as you said. let’s open the template file at path: app/design/frontend/default/jm_sporty/template/catalog/product/view.phtml
and find to the block code (line 39 -> line 54):

<?php if($_product->isConfigurable() && Mage::helper("jmcolorswatch")->get('show')) { 
$associtates = Mage::helper("jmcolorswatch")->getassociatedproducts($_product->getId());
$attrcode = Mage::getModel('eav/entity_attribute')->load(983)->getAttributeCode();
$products_arr_qty = array();
$attribute_arr = array();
if(is_array($associtates)){
foreach($associtates as $productid){
$product = Mage::getModel('catalog/product')->load($productid);
$stocklevel = Mage::getModel('cataloginventory/stock_item')->loadByProduct($productid);
$products_arr_qty[$product->getData($attrcode)] = $stocklevel->getQty();
$attribute_arr[$product->getData($attrcode)] = $product->getAttributeText($attrcode);
}

}
//asort($attribute_arr);
?>

and replace it by block code:

<?php if($_product->isConfigurable() && Mage::helper("jmcolorswatch")->get('show')) {
$associtates = Mage::helper("jmcolorswatch")->getassociatedproducts($_product->getId());
$attrcode = Mage::getModel('eav/entity_attribute')->load(983)->getAttributeCode();
$products_arr_qty = array();
$attribute_arr = array();
if ($attrcode) {
if(is_array($associtates)){
foreach($associtates as $productid){
$product = Mage::getModel('catalog/product')->load($productid);
$stocklevel = Mage::getModel('cataloginventory/stock_item')->loadByProduct($productid);
$products_arr_qty[$product->getData($attrcode)] = $stocklevel->getQty();
$attribute_arr[$product->getData($attrcode)] = $product->getAttributeText($attrcode);
}

}
}
?>

For your site, i have create a backup file (view.bak.phtml) and do it for you.
and the issue was solve in your site at: http://goo.gl/4i5Jtc
Please have a look and contact me if you need further assistance!
Regards,
Mall.

#8
Profile photo of window parts 110.00 $tone April 29, 2016
Public

thanks so much for your help Mall, i would never have found that.
i have a few more problems but ill try & fix them over the weekend, such as the ugly breadcrumbs & the shopping cart button not showing cart contents.
thanks again, terry

#9
Profile photo of Mall Staff 184060.00 $tone October 10, 2016
Public

Hi Armand ben-haim,

im having the same issue even after replacing the code still no slide show

I need a closer look to detect the root of issue as you said in your site.
Let’s provide me the admin and ftp credentials of your site. I will check further and help you get out.
Also, please show me more detail about your issues.
Regards,
Mall.

#12

Please login or Register to Submit Answer

Written By

Comments