Edit Product
About these pages
This page will be used to edit the information about the selected product.
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.
Product Name
EM_Product.Name.
Price
EM_Product.Price. The price used here.
EM_Product.RetailPrice. The actual retail price, for comparison.
Image for this product
Upload will take the user to another page that will let the user upload an image from his computer. The path to the file where the uploaded image is stored will be the new value of the EM_Product.Image
Automatically create an image. The details of the process that creates the image will be described later. .The path to the file where this newly created image is stored will be the new value of the EM_Product.Image
Display the graphic contained in the file pointed to by the EM_Product.Image.
Abstract
Initial abstract.
EM_Product.Abstract.
Description
Initial description.
EM_Product.Description.
Taxable
EM_Product.Taxable. Is this product taxable?
Weight
EM_Product.Name.
SKU ID
EM_Product.SkuID.
Product Attributes
Size
Color
Gender
Style
The items in the selection box correspond to all the attributes of this product. These may be obtained by running an appropriate query on the ES_ProductAttributeValue table and then getting the displayable names of these categories from the ES_Attribute table.
Edit
the attribute selected in the selection box above.
Add
(create) a new attribute for this product.
Delete the attribute selected in the selection box above.
Move the value up in the value list for the given attribute. In other words modify the EM_ProductAttribute.DisplayOrder parameters for the Attributes for the given product. This should involve a redisplay of the above list, i.e. this may involve a page redisplay...
Move the value down in the value list for the given attribute. In other words modify the EM_ProductAttribute.DisplayOrder parameters for the Attributes for the given product. This should involve a redisplay of the above list, i.e. this may involve a page redisplay...