Harsh.daffodil Posted February 27, 2014 Share Posted February 27, 2014 How to add a new attribute type? I have displayed it on back end but it is not working. Help Link to comment Share on other sites More sharing options...
Mr.Bean_S Posted February 27, 2014 Share Posted February 27, 2014 What is an "attribute type"? You can create different attributes and add values to them. So is "type" in your case an attribute or a value for an attribute? Link to comment Share on other sites More sharing options...
Harsh.daffodil Posted February 27, 2014 Author Share Posted February 27, 2014 look in add attribute and values there is attribute type. Link to comment Share on other sites More sharing options...
vekia Posted February 27, 2014 Share Posted February 27, 2014 read official docs about attributes & values: http://doc.prestashop.com/display/PS15/A+Look+Inside+the+Catalog#ALookInsidetheCatalog-AttributesandValues Link to comment Share on other sites More sharing options...
Harsh.daffodil Posted February 28, 2014 Author Share Posted February 28, 2014 i want to add new option in the "attribute type" in Attributes and Values. not want to add values for attributes Link to comment Share on other sites More sharing options...
Mr.Bean_S Posted February 28, 2014 Share Posted February 28, 2014 i want to add new option in the "attribute type" in Attributes and Values. not want to add values for attributes I understand what you want and realize you must be a developer since you would have to rebuild Prestashop to enable a new type in that drop down list and for all articles. Since I'm a little curious I wonder if you could let us know what this new option would be or does this need to be a secret? Link to comment Share on other sites More sharing options...
Harsh.daffodil Posted February 28, 2014 Author Share Posted February 28, 2014 (edited) The option is being displayed in the option list, but not working. If I changes the id of radio , then also it is being not reflected in table attribute_group. I can change its look out and action in front end but I m curious to know I can add new option at back end. I want to add button like colors containing values. Edited February 28, 2014 by Harsh.daffodil (see edit history) Link to comment Share on other sites More sharing options...
Harsh.daffodil Posted February 28, 2014 Author Share Posted February 28, 2014 (edited) I want to do something like this- Edited February 28, 2014 by Harsh.daffodil (see edit history) Link to comment Share on other sites More sharing options...
Harsh.daffodil Posted February 28, 2014 Author Share Posted February 28, 2014 got the answer just go to database and add to table attribute_group column group_type (enum) your type id Link to comment Share on other sites More sharing options...
afshop Posted March 17, 2014 Share Posted March 17, 2014 Hi Harsh, I have EXACTLY the same need of You, but i don't understand what must I do in the table "PS_Attribute_Group" to display a box with a value inside as attribute. Thank You Link to comment Share on other sites More sharing options...
Harsh.daffodil Posted March 18, 2014 Author Share Posted March 18, 2014 Hi afshop Just add the value type in enum of 'group_type' of 'PS_Attribute_Group' table and then add same value in your AdminAttributesGroupsController in admin controllers in renderForm(). After that go to your product.tpl file in your themes and add after line 328 this html for that. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now