I need to add additional fields in the website, store and store view, including - store type, store pictures, contact number, store hours, store longitude, and latitude. The Store type will be a drop down list to allow people to choose the type etc. Could someone provide detailed steps for how to make this change?
Asked
Active
Viewed 1,493 times
1 Answers
3
You can see here an explanation on how to add an extra field when editing a store view. You can do the same for websites and stores.
It involves adding a new column to the store view table and rewriting the admin block so you can add the field.
But I recommend you not to do that.
At least for websites and store views you can use the system->configuration section to add your fields.
Alan Storm explains it here nicely how it works and how you can add your configurations and how you can read the values from config.
Marius
- 197,939
- 53
- 422
- 830
system.xmlfile where you define the fields for your configuration settings. Look in Alan's blog post for things related tosystem.xml. Adding fields in your system.xml will make them display in the system->configuration section – Marius May 27 '15 at 12:55