|
|||||||||
|
NetStores E-Commerce ExtensionsCatalogOverview Catalog is an easy way to list or display your products, whether or not you have Web pages showing each product. This feature allows you to display a list of the products you set up in the item file. Each item on the list is displayed using a selected template. A template can pull information from the item file and store. Templates are edited in the Templates store configuration section which is under the Advanced level of configuration. Before you use this... Before you start using the Catalog feature, if you have not already done this, select the NetStores panel from the Dreamweaver Insert panel by selecting the NetStores tab.
For the Catalog feature to work, you must first perform Steps 1-7 (start at Step 1 - Setup).
To add this link to your Web page, simply position the cursor where you want the link and click the Catalog icon in the NetStores objects panel.
Catalog can provided a link or button to a set of products that you determine in advance. In Catalog, you can preselect the items to be displayed or listed by setting up a specific search. Fill in the fields in the NetStores Catalog dialog box (see picture) as follows:
Customizing the appearance of the Catalog link/button (top) You can change the visual character and behavior of the Catalog link or button by selecting your own link text or button image, as well as roll-over and on-click images. To make these modifications, insert entries in the NetStores Catalog dialog box (see picture above) as follows:
The last settings you used to create a Catalog link will be saved for the next time you use the Catalog object. The default results for the Catalog link are a simple link like: Catalog. You will probably want to change the link text to match the category or group of items you have predefined in the search. Catalog Link Examples:Example (show more items on each catalog page): Example (display the items found by a query): Example (sort the items displayed): Example (items are displayed in multiple columns): Examples (items are displayed using a different template): http://www.netstores.com/dwos-bin/catalog.pl?nccust=[your
Merchant ID]&page=CATALOGL Example (skip a number of items before starting to display them): Example (multiple options): TemplatesTemplates are made up of HTML code and variables with the variables subsituting information pulled from the store and the item file when the web page is generated from the template. Note: Catalog templates do not include tags like '<html>', since there is usually more than one item listed on a page.. TEMPLATE FORMATVARIABLESTo interpolate a variable value into the template, use 1. Store Parameters: To include the value of a parameter from the store's parameter 2. Product Data (by Field Name): To include the value from one of the fields for the current 3. Product Data (by Field Type): To include the value of one of the fields for the current item, The currently implemented field types are:
CONDITIONAL CODE INCLUSIONDepending on the existence or absence of a variable (i.e.if it's empty or not) code fragments can be included or excluded from the final generated page. This is particularly useful when dealing with images for products if some products don't have images, preventing the adding of HTML code for a null, "", image URL. Encapsulate the code fragment prefixing it with: [[GOOD:name]] and
suffixing it with [[/GOOD:name]] with matching values for 'name' where
'name' is a field-name from the item file. Using "GOODTYPE" instead
of "GOOD" will perform this function except address the field-value
information by field-type instead of specific field-name. Template Example:<table border="0" width="67%" align="center"> <tr><td> [[ITEMS]] <HR> [[GOODTYPE:Picture]]<IMG SRC="[[TYPE:Picture]]" ALIGN="RIGHT"><br>[[/GOODTYPE:Picture]] <FONT FACE="Times New Roman"><FONT COLOR="#B00000">[[TYPE:Description]]</FONT></FONT></B> <BR><FONT SIZE="-1">[[TYPE:LongDescription]]</FONT> <br> <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0"> <TR> <TD ALIGN="LEFT" VALIGN="TOP"> <B><FONT SIZE=-1>#[[TYPE:Code]] [[TYPE:Name]], [[TYPE:Price]]</FONT></B> </TD> <TD> [[NOOPTIONS]] <a href="http://www.netstores.com/dwos-bin/add.pl?nccust=[[PARAM:NCCUST]]&OPT-1=[[TYPE:Code]]">Add to Cart</a> [[/NOOPTIONS]] [[OPTIONS]] <FORM METHOD="POST" ACTION="http://www.netstores.com/dwos-bin/add.pl"> <input type="hidden" name="nccust" value="[[PARAM:NCCUST]]"> <INPUT TYPE="submit" name="submit" value="Add to Cart"><br> <select name="OPT-1"> [[EACHOPTION]] <option value="[[TYPE:Code]]">[[TYPE:Name]]</option> [[/EACHOPTION]] </select> </form> [[/OPTIONS]] </TD> </TR> </TABLE> [[/ITEMS]] <hr> </tr> </table> Generated Code (items in red were generated from template variables):<table border="0" width="67%" align="center"> <tr><td> <HR> <IMG SRC="http://www.netstores.com/demo/images/acme4.gif" ALIGN="RIGHT"><br> <FONT FACE="Times New Roman"><FONT COLOR="#B00000">Demonstration Product Number 1</FONT></FONT></B> <BR><FONT SIZE="-1">The Full Demonstration of this product is contained below. Use it wisely.</FONT> <br> <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0"> <TR> <TD ALIGN="LEFT" VALIGN="TOP"> <B><FONT SIZE=-1>#DEMO01 Demo Product 1, $4.95</FONT></B> </TD> <TD> <a href="http://www.netstores.com/dwos-bin/add.pl?nccust=integration&OPT-1=DEMO01">Add to Cart</a> </TD> </TR> </TABLE> <hr> </tr> </table> For additional information, go to the online Dreamweaver
extensions page at http://Dreamweaver.netstores.com/.
Getting
Started / Installing / Setup / Item
File / Configure
Store / Connect
Item File / Copyright © 1999 - 2013, Fishbone Communications, Inc. NetStores ® Last Modified 1-11-2013 |