[+] BO : now you can choose type of attribute group (select , color, radio)
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8691 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -63,7 +63,7 @@ class AdminAttributes extends AdminTab
|
||||
<script type="text/javascript">
|
||||
var attributesGroups = {';
|
||||
foreach ($attributes_groups AS $attribute_group)
|
||||
$strAttributesGroups .= '"'.$attribute_group['id_attribute_group'].'" : '.$attribute_group['is_color_group'].',';
|
||||
$strAttributesGroups .= '"'.$attribute_group['id_attribute_group'].'" : '.($attribute_group['group_type'] == 'color' ? '1' : '0' ) .',';
|
||||
echo $strAttributesGroups.'};
|
||||
</script>
|
||||
<form action="'.self::$currentIndex.'&submitAdd'.$this->table.'=1&token='.($token ? $token : $this->token).'" method="post" enctype="multipart/form-data">
|
||||
|
||||
Reference in New Issue
Block a user