Greetings!
I'm still working on our site and learning something new every day. I have some questions I hope you guys can answer, to put me on the right track. I've realized now that we need to have some extra fields in the database, since we need some extra information for certain categories in our product database. As an example, we have a "Literature" category where we want to have some extra detail field like "Author". Now, adding this field in the database is something I know how to do, but there are other things I need to understand.
1. I have tried creating a new template. Let's call it cat_literature.html . First of all, once I have created it in user templates, how do I get it to build as a static page?
2. I know that I can Browse to a category and define a specific template to it, which I reckon is what I must do. Ie. make a copy of the standard details.html template and add whatever fields extra from the database that I want displayed, like "Author". My second question, though, is "How do I deal with the forms for adding this info when someone is adding products?" Can I easily make it so that whenever someone is adding a product in the "Literature" category the "Author" field is added, but only then?
I'm sure I'll have several more questions even if these gets answered though. Thanks! :)
Cheers,
Hans Jørgen
www.dicereviews.com
I'm still working on our site and learning something new every day. I have some questions I hope you guys can answer, to put me on the right track. I've realized now that we need to have some extra fields in the database, since we need some extra information for certain categories in our product database. As an example, we have a "Literature" category where we want to have some extra detail field like "Author". Now, adding this field in the database is something I know how to do, but there are other things I need to understand.
1. I have tried creating a new template. Let's call it cat_literature.html . First of all, once I have created it in user templates, how do I get it to build as a static page?
2. I know that I can Browse to a category and define a specific template to it, which I reckon is what I must do. Ie. make a copy of the standard details.html template and add whatever fields extra from the database that I want displayed, like "Author". My second question, though, is "How do I deal with the forms for adding this info when someone is adding products?" Can I easily make it so that whenever someone is adding a product in the "Literature" category the "Author" field is added, but only then?
I'm sure I'll have several more questions even if these gets answered though. Thanks! :)
Cheers,
Hans Jørgen
www.dicereviews.com