Edit Store Information

About these Pages

This page is basically a form that will allow the merchant to edit the information about the store.
 
If the user presses the Save button the form is submitted. The scripts do a validation check, e.g. it checks to see if all the required fields have been filled in. If the data is valid, then the script calls the appropriate stored procedure to update the merchant database with the new values. We then go back to the previous page.
If the user presses the Cancel button we simply go to the previous page.
 
Email of the store
EM_Store.Email.
 
First/Last name of the store owner
EM_Store.FirstName
EM_Store.LastName
 
Address of the store
EM_Store.Address1
EM_Store.Address2
EM_Store.City
EM_Store.State
EM_Store.Zip (Postal code)
EM_Store.Country
 
Phone number
EM_Store.Phone
 
Fax number
EM_Store.Fax
 
Company Name
EM_Store.CompanyName
 
Web site URL
EM_Store.WebURL
 
Logo image
EM_Store.ImageURL. The current image corresponding to its current value is displayed below. Create will be described later. Upload will take the user to another page that will let the user upload an image from his computer.
EM_Store.ImageURL. The current image corresponding to its current value is displayed below. Create will be described later. Upload will take the user to another page that will let the user upload an image from his computer.
Display the graphic contained in the file pointed to by the EM_Store.ImageURL.
 
Store Template
The selected value corresponds to the value of the EM_Store.TemplateID. The selections in the box corresponds to the exiting templates in the database. These will have to be queried by using the various Template tables.

Edit the template selected in the selection box above. Only the User-Created Templates can be edited. If the user selected a "Default" template then we will return an appropriate error message.

Add a new user-defined template.

Delete the template selected in the selection box above. Only the User-Defined Templates can be deleted. If the user tried to delete a Default template (one defined by the shopping mall) then we will return an appropriate error message.
 
Select Currency
User selects the currency that he wants to use for the store transactions. The selected value corresponds to the EM_Store.CurrencyID
 
Categories in the Store
The items in the selection box correspond to all the categories within this store. These may be obtained by running an appropriate query on the ES_StoreCategory table and then getting the displayable names of these categories from the ES_Categories table.

Edit the category selected in the selection box above.

Add (create) a new category.

Delete the category selected in the selection box above.

Move the category up in the category list for this store. In other words modify the EM_StoreCategory.DisplayOrder parameters for the Categories for this store. This should involve a redisplay of the above list, i.e. this may involve a page redisplay...

Move the category down in the category list for this store. In other words modify the EM_StoreCategory.DisplayOrder parameters for the Categories for this store. This should involve a redisplay of the above list, i.e. this may involve a page redisplay...
 
Edit Shipping Method
images\button.gif Go to the "Edit Shiping Information" page.
 
Edit Payment Method
images\button.gif Go to the "Edit Payment Information" page.