module - How to add checkbox into manufacturers in Magento? -
i've changed way how brands displayed in menu (logos/images instead of text/names). there problem can't solve. how add field (show/hide) manufacturers(brands) table ? or table contain manufacturers (can't locate it) . in meantime testing solutions ... not work ;(
tried add field eav_attributes, based on value 0/1 show or hide brand in list of favourites :)
any ideas ?
here how or achieve: "checkbox" not "radio". module let me display favourite brands inside dropdown menu in order: favourite brands/products first non favourite (limited 10 in dropdown "see more" ... if required :)). checkbox used select these brands (if checked shown "favourite brand/product"). (images presents products checkbox work brands in menu "brands" - now) my menu - example 1 my menu - example 2 displays products none of products "in promotion/featured" because can't select them yet.
so that's plan ;)
do need checkbox? or radio box showed on screen?
both of them needs lot of work,
1* if need radio button should duplicate 'default_value' logic,
- in database: eav_attribute should add custom_field column.
- then in: mage_eav_block_adminhtml_attribute_edit_options_abstract add logic similar defaultvalue
- and add logic eav/attribute/options.phtml
2* checkbox, should add column in database:
- eav_attribute_option , modify same class , template.
- then modify same class , template need
as modify mean copy local codepool , add logic.
may ask why need that? not sure if sollution best you.
Comments
Post a Comment