| Issue 7: | feature values are not displaying on compare | |
| 2 people starred this issue and may be notified of changes. | Back to list |
Hi.., I have installed your module on my website http://cellworld.co.in The grouped feature is working on the Product page as it should, But it is not working on the comaprison page.. it shows the group and feature names but values are not displaying.. I have attached screenshots please have a look, and guide me how to resolve.. i can provide ytou acccess to the website.. Thanks & Regards ABHi
Aug 27, 2012
#1
anila.n...@gmail.com
Oct 18, 2012
I have the same problem
i'm using version 1.4.4.1 PL (as my customer wanted full polish version) - i have installed 1.3.0 of your module (not without problems :) ) it works ok on product's page but on the comparison page it shows just an empty table
as i'm using a paid template i had to manually add lines into the template so tell me if code
{if $ordered_features}
{* Added by module for grouped features *}
{foreach from=$ordered_features item=group}
<tr><td colspan="{$products|@count+1}"> {$group.name}</td></tr>
{foreach from=$group.features item=feature}
<tr>
{cycle values='comparison_feature_odd,comparison_feature_even' assign='classname'}
<td class="{$classname}" style="padding-left: 10px">
{$feature.name|escape:'htmlall':'UTF-8'}
</td>
{foreach from=$products item=product name=for_products}
{assign var='product_id' value=$product->id}
{assign var='feature_id' value=$feature.id_feature}
{if isset($product_features[$product_id])}
{assign var='tab' value=$product_features[$product_id]}
{/if}
<td width="{$width}%" class="{$classname} comparison_infos">
{if isset($tab[$feature_id])}{$tab[$feature_id]|escape:'htmlall':'UTF-8'}{/if}</td>
{/foreach}
</tr>
{/foreach} {* feature loop *}
{/foreach} {* group loop *}
{else}
<tr>
<td></td>
<td colspan="{$products|@count + 1}">{l s='No features to compare'}</td>
</tr>
{/if}
{$HOOK_EXTRA_PRODUCT_COMPARISON}
is enough to make it work - or what am i missing here
Oct 30, 2012
ok issue is a duplicate of issue 3 :) For product comparison page go to controllers/CompareController.php, line 109 and add additional param false foreach ($curProduct->getFrontFeatures(self::$cookie->id_lang, false) AS $feature) Line number for version 1.4.7 Depends on version it can be changed. So try find it in your installation
Nov 13, 2012
It happens a curious case. By modifying the file CompareController.php you mention, module works very good in the comparision page. But it is not working on the product page, do not charge the features tab. Any suggestions? I installed the module in Prestashop 1.4.9.0 Thanks in advance. |