Jump to content

Edit History

idee

idee

I want to hide the attributes with ID 1193 and 1194 from the dropdown select on the product age.

These two IDs are a combination: Color: blue (ID 1193)  |  Size: L (ID 1194)
SO we have to select dropdowns in that product, size and color.

I used that code in product.tpl, but it does not work:
 

 {if ($id_attribute != 1193) && ($id_attribute != 1194) }
		<option value="{$id_attribute|intval}"{if (isset($smarty.get.$groupName) && $smarty.get.$groupName|intval == $id_attribute) || $group.default == $id_attribute} selected="selected"{/if} title="{$group_attribute|escape:'html':'UTF-8'}">{$group_attribute|escape:'html':'UTF-8'}</option>
{/if}

WHat  am I doing wrong here?

 

Thx for help

idee

idee

idee

I want to hide the attributes with ID 1193 and 1194 from the dropdown select on the product age.

These two IDs are a combination: Color: blue (ID 1193)  |  Size: L (ID 1194)
SO we have to select dropdowns in that product, size and color.

I used that code in product.tpl, but it does not work:
 

 {if ($id_attribute != 1193) && ($id_attribute != 1194) }
		<option value="{$id_attribute|intval}"{if (isset($smarty.get.$groupName) && $smarty.get.$groupName|intval == $id_attribute) || $group.default == $id_attribute} selected="selected"{/if} title="{$group_attribute|escape:'html':'UTF-8'}">{$group_attribute|escape:'html':'UTF-8'}</option>
{/if}

WHat  am I doing wrong here?

 

Thx for help

idee

idee

idee

I want to hide the attributes combination with ID 1193 and 1194 from the dropdown select on the product age.

These two IDs are a combination: Color: blue (ID 1193)  |  Size: L (ID 1194)
SO we have to select dropdowns in that product, size and color.

I used that code in product.tpl, but it does not work:
 

 {if ($id_attribute != 1193) && ($id_attribute != 1194) }
		<option value="{$id_attribute|intval}"{if (isset($smarty.get.$groupName) && $smarty.get.$groupName|intval == $id_attribute) || $group.default == $id_attribute} selected="selected"{/if} title="{$group_attribute|escape:'html':'UTF-8'}">{$group_attribute|escape:'html':'UTF-8'}</option>
{/if}

WHat  am I doing wrong here?

 

Thx for help

idee

×
×
  • Create New...