Just copy and paste the
html of your choice below for use in your web site.
Adding
Items to the Shopping Cart
Here are some
variations of code to use to get the items into the shopping cart.
These are working examples...feel
free to give it a try.
By pressing any add-to-cart button below, you will
see what your custom output pages look like. We use your own graphics and page
design to build your "cart generated" pages!
Note: You must
have added items in your
store manager database for the examples to work
|
Quick
Start -
Paste the following links and HTML into your web pages to get your store
working right away!
Simply copy
the html code, make changes to all but the "merchant value"
field and paste into your web pages.
|
| (DATABASE)
Action
[top
of page] |
Use
This Code |
| Create
a link to all your database/store items -->
Link
Example: Click
Here for All Store Items
You
can also create an image link using the code provided.
|
|
http://www.page-secure.com/cgi-bin/shop/cart.pl?db=dbase.dat&merchant=examplestore
|
|
|
Create
a link
[top
of page]
to a specific catagory -->
Displays all items in a single catagory
Your
catagories are "cat1", "cat2",
and "cat3" (case sensitive & without the quotes)
Simply change the code by replacing the catagory word.
Note:
Use "%20" when there is a space,
Example: T Shirts would be T%20Shirts
Link
Example: Click
Here for All T Shirts
You
can also create an image link with the code provided.
|
|
http://www.page-secure.com/cgi-bin/shop/cart.pl?db=dbase.dat&category=T%20shirts&merchant=examplestore
|
|
|
Add
a Search Engine to your site
so customers can search your store
[top
of page]
The
code to the right makes this:
|
| <FORM
METHOD=POST ACTION="http://www.page-secure.com/cgi-bin/shop/cart.pl">
Search:<INPUT
TYPE=HIDDEN NAME=merchant VALUE="examplestore">
<INPUT TYPE=TEXT NAME="search" SIZE=20>
<INPUT TYPE=HIDDEN NAME="file" VALUE="dbase.dat">
<INPUT TYPE=SUBMIT VALUE="Search Our Online Store">
</FORM>
|
|
|
|
ADVANCED
STORE FEATURES
[top
of page]
In
addition to linking directly to your database using the quick start html
above, you can add HTML to your web pages throughout your web site that
creates an "add to cart" button for items that you do not add
to your store database. This is ideal if you would like to feature a product
special on your home page for a short time. Simply copy the code below,
and change the variables.
FIRST,
a Note about FIELD NAMES in your add-to-cart forms
NAME=merchant VALUE="examplestore">
NAME=name VALUE="Name of your item">
NAME=price VALUE="price of your item, no dollar sign">
NAME=sh VALUE="Shipping cost of your item, or the weight of your item">
NAME=return VALUE="web page to return to/continue shopping">
NAME=custom1 VALUE="is always the description of item">
name="custom2" value="can be drop down, check box, radio button...
name="custom3" value="can be drop down, check box,
radio button... use up to 10 different custom
fields, e.g., custom10
NAME="add" VALUE="creates the add to cart button, can say whatever you
want the add-to-cart button to say">
- More Advanced features available online at www.page-secure.com/help.html
|
| EXAMPLE
1 - Simple add-to-cart"
button |
|
HTML Code
for example 1:
Simply copy paste
the code to the right into your web page, and just change the name, description
etc. for your products.
|
|
<form
method=POST action="http://www.page-secure.com/cgi-bin/shop/cart.pl">
<b><font size="2" face="Arial, Helvetica,
sans-serif">"Love By The Dozen" 16"x26"
Limited Edition Print $75. <br>
</font></b> <font size="2" face="Arial,
Helvetica, sans-serif">
<input type=HIDDEN name=merchant value="examplestore">
<input type=HIDDEN name=name value="Love By The Dozen
Print">
<input type=HIDDEN name=price value="75.00">
<input type=HIDDEN name=sh value="1">
<input type=HIDDEN name=return value="http://www.YourWebAddressHere.com/Thumbnail.html">
<input type=HIDDEN name=custom1 value="16 x 26 Limited Edition
Print">
<br>
</font><br>
<input type=SUBMIT name="add" value="Add To Cart">
</form> |
|
| EXAMPLE
2 - Adding check boxes |
|
HTML Code
for example 2:
Simply copy paste
the code to the right into your web page, and just change the name, description
etc. for your products.
Note:
The + in front of the dollar sign is what makes the program add to the
total, it must be included to calculate properly..
For additional check
boxes, or radio buttons...simply name them custom3, custom4... you can
have up to 20 custom fields.
|
|
<form
method=POST action="http://www.page-secure.com/cgi-bin/shop/cart.pl">
<b><font size="2" face="Arial, Helvetica,
sans-serif">"Love By The Dozen"
16"x26" Limited Edition Print $75. <br>
</font></b> <font size="2" face="Arial,
Helvetica, sans-serif">
<input type=HIDDEN name=merchant value="examplestore">
<input type=HIDDEN name=name value="Love by the Dozen
Print">
<input type=HIDDEN name=price value="75.00">
<input type=HIDDEN name=sh value="1">
<input type=HIDDEN name=return value="http://www.YourWebAddressHere.com/Thumbnail.html">
<input type=HIDDEN name=custom1 value="16 x 26 Limited Edition
Print">
<br>
<b>Other Options</b><br>
<input type="checkbox" name="custom2"
value="Artist Proof +$75.00">
<b><font size="2" face="Arial, Helvetica,
sans-serif">Artist Proofs ADD
$75. </font></b><br>
<input type="checkbox" name="custom3"
value="Color addedto roses +$25.00">
</font><b><font size="2" face="Arial,
Helvetica, sans-serif">Color added
to the roses $25. additional. </font></b><br>
<input type=SUBMIT name="add" value="Add To Cart">
</form> |
|
| EXAMPLE
3 - Adding to cart using " Dropdowns" |
|
HTML Code
for example 3:
Simply copy paste
the code to the right into your web page, and just change the name, description
etc. for your products.
|
|
|
<form
method=POST action="http://www.page-secure.com/cgi-bin/shop/cart.pl">
<b><font size="2" face="Arial, Helvetica,
sans-serif">"Love By The Dozen"
16"x26" Limited Edition Print $75. <br>
</font></b> <font size="2" face="Arial,
Helvetica, sans-serif">
<input type=HIDDEN name=merchant value="examplestore">
<input type=HIDDEN name=name value="Love by the Dozen
Print">
<input type=HIDDEN name=price value="75.00">
<input type=HIDDEN name=sh value="1">
<input type=HIDDEN name=return value="http://www.YourWebAddressHere.com/Thumbnail.html">
<input type=HIDDEN name=custom1 value="16 x 26 Limited Edition
Print">
<br>
<select name="custom2">
<option selected>Limited Edition Print $75.00</option>
<option>LimitedEdition Print w/Colored Roses $100.00</option>
<option>Limited Edition Print ARTISTS PROOF $150</option>
<option>Limited Edition Print ARTISTS PROOF w/colored Roses
$175</option>
</select>
<br>
<input type=SUBMIT name="add" value="Add To Cart">
<br>
</font>
</form>
|
|
Adding
a "View Cart/Check Out image to your pages
[top
of page]
Use this
image (right click/save) in your web site wherever you wish to offer the client
the option to view cart/check out. Any image may be used.
Here is the
link for the above image to make it work
|
http://www.page-secure.com/cgi-bin/shop/cart.pl?look|examplestore
|
Note: Some html editors
will want to convert the pipe "|" into %7C. It must be a pipe.
The Affiliate
Link
[top
of page]
Pay people for referring visitors to your web site. The Deluxe
Shopping Cart Program has a built in Affiliate Tracking Program.
Now that you have your pages set up with the shopping cart, you are ready to
provide your affiliates with the link to your web site. Simply copy the web
address below, and change the "referrer" name to a name that best
describes your affiliate, e.g. affiliatename, or affiliatesite.com
Now, as orders are placed, you will see this name at the top of the invoice.
|
http://www.page-secure.com/cgi-bin/shop/cart.pl?referrer=YOURAFFILIATE&merchant=examplestore
|
See how the above link directs
to your web site - CLICK
HERE
Misc
In addition
to all of the options, you can also use radio buttons, and text fields to further
customize your cart. As long as the name of the radio button or text field is
"custom2, or custom3, 4,5,6,7,8...
Additional information can be found at http://www.page-secure.com/help.html
Note on
images:
You may also have a small photo of your item show inside the cart contents pages
by adding this line of text to your small forms above:
| <INPUT TYPE=HIDDEN
NAME=img VALUE="http://www.YourWebAddressHere.com/photoname.jpg"> |
Non-Taxable
Items
If you have Taxes turned "on" for your account, but you have an
item that you sell that isn't taxed, simply add the following code to the
HTML that you paste into your web site
<INPUT TYPE=HIDDEN NAME="custom2" VALUE="#nontaxable#">
Please
feel free to email is if you have any questions.