Complete E-Commerce Solutions Shopping Cart Services for Small Business
Today is Saturday May 17, 2008    

virtualCART FAQ & Knowledge Base

Search our FAQs
FAQs Categories  Ask a Question  Printer Friendly Version
Macromedia Dreamweaver     List of Categories

  1. My web site is built with Macromedia's Dreamweaver. In Dreamweaver all name= options on the PAGE must be unique. Thus the name= item in the product code becomes item, item2, etc.? Will this have an adverse effect upon the cgi requests?







  1. My web site is built with Macromedia's Dreamweaver. In Dreamweaver all name= options on the PAGE must be unique. Thus the name= item in the product code becomes item, item2, etc.? Will this have an adverse effect upon the cgi requests?

    YES!  The first item will add fine, but the rest will not.  The way to remedy this is to add an underscore then the part number after item.  If your part number is 123, then here is what the string should look like:

    <input type=hidden name=item_123 value=b-2400^123^description^price^qty>

    Now all the item names will be unique and your products will add to the cart correctly.

    If you are using op variables you will encounter the same problems.  Use the same syntax that is used for item and you will have no errors.  If the product number is 123 then its op variables would appear:

    op1_123
    op2_123

    Dreamweaver will also change the names of multiple add, view, and checkout buttons to add2, view2, checkout2 and so on.  These names will normally work fine.  To ensure best results use an underscore so they will read:

    add_2, add_3
    view_2, view_3
    checkout_2, checkout_2

    If you follow these steps, Dreamweaver will not alter your code and you can confidently publish your e-commerce pages.

    For more information on this naming convention, see the FAQ chapter on"Multi-item submission to the cart".

    Got any other Dreamweaver problems or hints? Please send them to support@vcart.com

    To top



Was this page helpful?    
 

Cart-id:
Password:

New User?
Try it Risk Free!






Home :: E-Commerce :: Pricing :: Setup :: Support :: Other Services :: Legal :: Payment Center
Copyright © all rights reserved Virtual Focus, Inc. 2006