E-Store Functions - Integrate with Site Mode
To integrate your product
catalog into your existing site you first must make sure that your store is
set to "Integrate with Existing Site" mode. To check this setting,
just click on "Store Manager", then click on your store name. When
the form comes up, you will see a section called "Integration Options".
Under this section, you will see a drop down box which will allow you to choose,
the "Integrate with Existing site" mode. Once this mode
is set, then you can go to the product catalog and add your product to the database.
After you add your product, you wil then be presented with the code similar
to the example code below that you will need to add to your site in order to
integrate your products into the site.
Note: The code below is
simply example code. Do not use this code in your site. Only Use the code
that is generated in your admin area when you go to add a product. The
code below is similar, however the store number for your code will correspond
to your estore, which is different than the number shown below.
**Also
note that when cutting and pasting any code that is generated as shown below
DO NOT use a web editing program such as Macromedia DreamWeaver or Microsoft
FrontPage when pasting your code. You should use a regular
text editing program.
If you want to have options with your product link color, size and other options, then start with the code that is similar to the code below:
<form action=http://www.onlinesecurecart.com/cart.php
method=POST>
<input type=hidden name=id[] value='1212'>
<input type=hidden name=setstore value='7897'>
<input type=hidden name=store_id value='7897'>
<input type=image name=purchase border=0 src=http://www.onlinesecurecart.com/images/addtocart.gif
value='Add to cart'>
</form>
If you have questions associated with your products, you then simply need to add your code for the product questions as shown in the example below. So if you want to have options such as product link color, size and other options then start with the code that is similar to the code below:
--- EXAMPLE CODE -----------------------------------
<form action=http://www.onlinesecurecart.com/cart.php
method=POST>
<input type=hidden name=id[] value='1212'>
<input type=hidden name=setstore value='7897'>
<input type=hidden name=store_id value='7897'>
<input
type="HIDDEN" name="Describe2" value="100% Cotton">
<input type="HIDDEN" name="Price2" value="50.00">
<input type="HIDDEN" name="Ship2" value="1.00">
<input type="HIDDEN" name="Multi2" value="N">
<input name=Color type=radio value="Color:
Blue"> Blue
<input name=Color type=radio value="Color:
Green"> Green
<input name=Color type=radio value="Color:
Gold^5.00"> Gold - Add $5.00
<input name='NAddOn12' type=checkbox
value="Leather Case^10.00"> With Leather Case - Add $10.00
<select name=select>
<option selected value="Model: A">Model:
A
<option value="Model: B^2.00">Model: B
- Add $2.00
<option value="Model: C^3.00">Model: C
- Add $3.00
</select>
<select name=select>
<option selected value="Size: Medium">Size: Medium
<option value="Size: Large">Size: Large
<option value="Size: X Large^5.00">X Large - Add $5.00
</select>
<input type=image name=purchase
border=0 src=http://www.onlinesecurecart.com/images/addtocart.gif value='Add
to cart'>
</form>
----- END EXAMPLE CODE --------------------------------------
** If you want to add additional values next to your product options such as "Model: B Add $2.00" as shown above,simpy add the following code next to your option value: ^3.00. So if this option is chosen, then 3.00 will get added and passed to your product total.
** Feel free to cut and paste the code above and manipulate it for your own product questions and answers.
This is how the above
code will appear on your site:
( As you see below thisshows examples of product questions using radio buttons,
check boxes and drop down menus.)
For instructions on how to cut and paste, go here.