retrofitme Posted September 25, 2014 Share Posted September 25, 2014 I am customizing Attributes to have an extra field in BO. The field is selectable with a select box and has three options. I have everything working EXCEPT for when the attribute is reloaded in BO, the new Select Box defaults back to the first option instead of the one in the database. When I look at the HTML, there is no 'selected="selected"' html inside the appropriate <option> tag. How do I fix this, and what file(s) do I make the corrections? Thanks! Link to comment Share on other sites More sharing options...
thepan Posted September 26, 2014 Share Posted September 26, 2014 I try hard to understand what you try to achive. Are you sure you cant do what you want without any further code changes? You know you can simply add more attributes in the backoffice? Link to comment Share on other sites More sharing options...
retrofitme Posted September 26, 2014 Author Share Posted September 26, 2014 Hi, thepan, thnks for responding. Unfortunately the existing attributes won't work. Here's the scenario: My customer makes products where you can choose the product color and the material it is made from. Some colors are the same for all materials, whereas other colors are unique to a particular material and not available in other materials. On the front office product pages, I plan to have 3 columns of color options, one for each material choice. Then the customer can come in and choose color and material by selecting the texture. If i were to split it up into two attributes, the end user could accidentally select color/material combinations that are not actually available. I need the extra field mainly for display purposes. On the product page, the textures will be split into three columns, one for each material type. Link to comment Share on other sites More sharing options...
thepan Posted September 26, 2014 Share Posted September 26, 2014 Example: Red Blue Yellow Paper x xStone x x x Steel x x As far as I know you can simply deactivate the combinattions that are not possible on the product page in back office. Not at home right now, but will confirm in 20min. 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