Online References - Edit Product Details

Navigate to related topics:

Stock Level Monitoring

This page lets you edit the details of a product in the inventory database. CyberShop presents a default set of fields that under most circumstances are enough to cover a generic kind of products. But you are feel to add new fields to the underlying table (named "Stock_Table") in the shopping cart database (or the catalog database if specified).

To display the real-time product item in your shopping page, insert the following script (anywhere in your HTML page):

<script src="view_product.asp?ProductID=myproduct"></script>

where myproduct is the product reference code. Be sure to qualify "view_product.asp" with the appropriate domain and path. CyberShop lets you customize the view_product.asp page if you are not satisfied with the default layout or wants to introduct custom fields etc. However, you are required to have ASP programming knowledge. The page does give you simple choice of using your own images etc.

Two special products: "-search-" and "-viewcart-" can be used to display a "Searh Box" to search for the products in the inventory and to view the shoping cart contents. Namely you can insert the following two codes on your shopping pages to display the information (see the sample page),

<script src="view_product.asp?ProductID=-search-"></script>
<script src="view_product.asp?ProductID=-viewcart-"></script>

It is not necessary (though convenient) to use the two scripts. You can simply come up with your own design for the Search and View Cart buttons.

Wildcard Listing: It is possible to display a selected set of products via the built-in wildcard feature. Namely, myproduct can be a prefix of the set of the products. For example setting ProductID=ABC will display products "ABC001", "ABC002", ...

By default, this function is disabled. To enable it, simply edit view_product.asp to set (on top of the page, see instruction there)

Session(DSN+"ExactMatch") = False

Go Back | Back-to-Top
Operations

The primary function of this page is to let you edit the product details using a browser-based interface.  You may edit it off-line by exporting the data to you local disk on the "Stock Monitoring" page.

Find Product:  Type in a ProductID (or Reference) into the first box, then click this button to find the first match. Wildcard is appended to the end of the reference when searching.

Add/Update:  Update the changes to the system after finishing editing.

Delete Item:  Remove the entry from the database.

Reset Form:  (on the bottom of the page) Restore the original information.

Default Fields

Reference: The product ID or the Reference Code that identifies the product / item in question.

Stock: The stock level of the product.

Warning: The warning level for the stock of the product. When stock drops below this level, a warning message is sent with the order information to the merchant(s).

Minimum: The minimum level for the stock of the product. When stock drops below this level, CyberShop will stop any further ordering of the product.

Type: The product type of the product. Identical to the meaning of the Item Types defined under the Shop Manager and the ProductType information that is passed on to the shopping cart from a shopping page.

Description: The description of the product. Typically limited to 100 characters.

Cost: The cost of the product.

Price: The sale price of the product. When set, CyberShop will verify the price passed from a shopping page to the shopping cart. This will detect any discrepancy in the prices thus stop the false price from being added to the shopping cart.

Tax Rate: Tax Rate for the product, used only if you are dealing with import/export operations.

Small Image: The file name of a small image for the product. If the image is not under the shopping cart directory, an absolute URL, starting with "/" or "http://" is preferred. Though it is possible to define an alternative default image path in the view_product.asp and search.asp pages.

By default, Small Image is displayed under the Search page (search.asp).

Large Image:  The file name of a large image for the product. By default, it is displayed by view_cart.asp page.

Keywords: Define the kewords or phrases that you like your customers to find the products. By default, the "Search" page will search this field plus the "Description" and "Reference" fields to find any matches. Limited to 100 characters.

Product Information: Any additional information you may have about the product.

Quantity: Specify the default quantity that a customer will order. Obviously, he/she will be able to change it.

Base Quantity: This is a hidden field that is used to tell the shopping cart how many components are in the product. These components should be treated as individual items when the shipping fee is calculated. For example, you would like to set it to 6 if the item is a 6 CD pack of a well-known artist.

Coupon Code: This is a hidden field that will pass the coupon information to the shopping cart for discount. A customer still needs to click on the "Discount" button on the shopping cart to activate it. But this saves you from telling every customer what is the code (when it is on sale). It can also work for a generic volume discount scenario.

Point: The frequent buyer's points required to redeem the product, not set or setting it to zero will disable it from being redeem by points. Frequent buyer's reward is a feature of CyberOffice Club (a companion product of CyberShop).

Bonus: Bonus points if a cusotmer bought this product. Credited into his/her membership account. Again, works with CyberOffice Club.

Dest Email: This field is generally not set. If set the order information will be forwarded to this email address, in addtion to the one that is specified under Global/System Settings.

Page URL: The URL of the page that will display the current product. If you leave it empty, CyberShop will automatically index it when the page is called on your site. Make sure you enter an absolute URL starting with "/".

Remark: Any internal remarks for the product.

Go Back | Back-to-Top

  Any comments/suggestions? Send to  support@smartwin.com.au

Last Updated: January 01, 2002
© 1997-2002 SmartWin Technology. All rights reserved.