Select TemplateAbout these pagesAbout templates |
|
If the user presses the "Cancel" button: We simply go to the previous page.
|
|
Select a Template for the store
|
|
The items in the selection box correspond to all the available for selection to this store.
These may be obtained by running an appropriate query on the template tables that will first
get all the templates in the database that are of the default type. This will be done by getting
the ES_Template.Description values corresponding to the default templates (where ES_TemplateType.Name
for that template is "Default") and putting them in the list box. The values in the list box will then
be followed by all the ES_Template.Description strings for the templates that was created by this
store (i.e. where the ES_StoreOwnTemplate.StoreID matches the merchant's store).
|
|
Select the chosen template.
|
|
Edit the highlighted template. It does not have to be the chosen template
at this stage. If the default template has been highlighted then print error indicating that we cannot
edit default templates.
|
|
Add a new template and then edit it.
|
|