Merchant Login Reseller Login
 
 
HOME FEATURES COMPATIBLE SERVICES PRICING RESELLERS CONTACT US FREE DEMO SUPPORT
   
 

Help Search our knowledge base:

Index - FAQ - Add, View, and Check Out buttons

 Related Items
1. Why do I get "thank you, your cart has been emptied" after clicking add to cart?

 Details
Frequently Asked
Question (FAQ)

Document Number: 508

Optimize for Printing
E-Mail This Link

 Feedback
This document ...
helps resolve my question or problem.
does not apply to my question or problem.
is inaccurate for my question or problem.
Pasting HTML into Dreamweaver?

Macromedia Dreamweaver is an HTML editor. Dreamweaver may make minor changes to HTML that is pasted into it. You may need to go back into the edited HTML (your HTML already edited by Dreamweaver) to make minor corrections.

If you use the shopping cart "Button Builder" you do not need to follow the instructions below, this is only for merchants who wish to build their buttons manually.

Dreamweaver may detect that your HTML buttons are similar to each other. If it does, it will rename all of the input tags defined in the form, which makes the cart unable to process the button properly.

Here is how you can correct this problem if Dreamweaver has edited your HTML:
  1. Open your HTML document in Macromedia Dreamweaver.
  2. Click where you would like the HTML to appear.
  3. Change to "Code" view.
    Note: if your not in code view then Dreamweaver may make changes to the code that will break your button.
  4. Paste the HTML.
  5. Save and close your document.
  6. Re-Open the document and view the HTML. You will see that Macromedia Dreamweaver has re-numbered your form tags. DO NOT delete the number. Instead, find the matching VAR parameter in your AddItem tag and Add the Macromedia Dreamweaver number to it.
Upon completing the changes to the HTML, the add buttons will function normally.
Dreamweaver should not change the HTML further unless you add additional buttons to your page.

Example
Original button
<form method="post" action="https://www.cartmanager.net/cgi-bin/cart.cgi">
Name: <input type="text" name="VARname" />
<input type="hidden" name="AddItem" value="demo|Demo Product Name: VARname|4.95|1||||||||||" />
<input type="submit" value="Add To Cart" alt="Add to cart"/>
</form>
After saving in Dreamweaver. Note that Dreamweaver has added the text colored in red
<form method="post" action="https://www.cartmanager.net/cgi-bin/cart.cgi">
Name: <input type="text" name="VARname18" />
<input type="hidden" name="AddItem42"
value="demo|Demo Product Name: VARname|4.95|1||||||||||" />
<input type="submit" value="Add To Cart" alt="Add to cart"/>
</form>
Dreamweaver did not properly edit the VARname18 field in all places, you must manually fix the places that Dreamweaver missed.
<form method="post" action="https://www.cartmanager.net/cgi-bin/cart.cgi">
Name: <input type="text" name="VARname18" />
<input type="hidden" name="AddItem42"
value="demo|Demo Product Name: VARname18|4.95|1||||||||||" />
<input type="submit" value="Add To Cart" alt="Add to cart"/>
</form>
 
SSL Secure Site TERMS OF USE | PRIVACY POLICY
Copyright © 1998-2024 by CartManager. All Rights Reserved

www3.cartmanager.net