[ Home ] [ All in one ] [ Auction Payments ] [ Buy Now Links ] [ Check boxes ] [ Collecting cash ] [ ges_tidbits ] [ Host Reviews ] [ Hyperlinks ] [ Tags, Fields & Tips ] [ Misc Examples ] [ Multiproducts ] [ Multiproductform ] [ The New Button Tag ] [ New Window ] [ Payment Services ] [ php_mysql ] [ Posting Messages ] [ productpr ] [ Q&A from the forum ] [ Unsecure Payments ] [ Vouchers ] [ Shipping ]


Open Your Cart in a New Window

If you open your shopping cart in a new window, do not include return links. If you do, the new window will return to your site in the same window and when the customer adds another of your products that they can't live without, another window will open and this will continue ad infinitum. Some folks call this window shopping. To get around this, in Admin>cart Set up, in the header (and/or footer if you have a premium account) and add the following bit of code underneath your logo. You can "fancy up" the "Close Window" with font tags (or even use an image in the header or footer, not in the cart itself) if you wish. See the htmlgoodies tutorials for lessons on how to do that (fancy up the font that is). Or you can just ask the buyer to close the new window to return. A new window can also be opened without the address bar, tool bar, etc. by using javascript, but that won't be covered here.


Close Window

To open the cart in a new window, just add TARGET="new" as shown in the link below. Remember, NO SPACES are allowed in a hyperlink.


Do the same in a form. Note that spaces are allowable in the form html. If you click on the link below a new window will open with a syntax error as I do not have the link sending anything to the cart. Just to open a window for demo purposes. Just close the window.


http://ww3.aitsafe.com/cf/add.cfm" TARGET="new" method="post">


The primary reason for opening Mals shopping cart in a new window is that the customer never leaves your site and after doing all that work submitting to search engines and FFA pages, that's where we want them to stay.

Back (368 bytes)