Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Integrating Zen Cart into Web Pages

Integrating Zen Cart into Web Pages

Locked

Views: 1,531

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
15 Feb 2008, 3:45 AM
#1
goldieart avatar

goldieart

New Zenner

Join Date:
Feb 2008
Posts:
2
Plugin Contributions:
0

Integrating Zen Cart into Web Pages

My web site used to be integrated with PayPal. I ditched PayPal and installed Zen Cart on my site. To complete the last steps, I need to place some HTML on my website to add objects to the cart. Therefore, I want to find a simple HTML template that I can replace my PayPal HTML code with Zen Cart HTML code. Can someone point me to simple instructions to integrate my web site HTML code with Zen Cart?

This seems like the most obvious thing to do. Why can't I find any instructions on this site or in the downloaded files?

Thanks!

15 Feb 2008, 3:54 AM
#2
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Integrating Zen Cart into Web Pages

Hi and Welcome to the Forum. :smile:

Although it may seem obvious or sound simple, integrating 'any' script into an HTML page is not an easy thing. What you want to do can be done but it is not simple and requires some understanding of coding a Web page.

Easy Embed will do all that you want.

15 Feb 2008, 5:09 AM
#3
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Integrating Zen Cart into Web Pages

What are you trying to do exactly? Zen Cart isn't a backend solution, if that's what you're thinking.

15 Feb 2008, 6:35 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Integrating Zen Cart into Web Pages

Zen Cart is designed to become your site - by making it appear or styled as any current site that you may have.

For security sesions are used which make it difficult to control between any other type of front end - like an existing html site...and you lose the benefit of not having to edit these static html pages. Zen Cart being php and dynamic - creates pages from pieces at the server. Add a product and the code creates the pages for it. add 1,000 products and you do not have to write 1,000+ pages of html as Zen Cart takes care of this...

15 Feb 2008, 7:02 PM
#5
goldieart avatar

goldieart

New Zenner

Join Date:
Feb 2008
Posts:
2
Plugin Contributions:
0

Re: Integrating Zen Cart into Web Pages

Well, OK. I thought that Zen Cart was a cart, not a complete web site solution. I have a site already that I've put countless hours into creating. I don't want to redo everything to port it to Zen Cart. All I want is to connect to a cart.

My old HTML snippet for a PayPal cart follows. I just wanted to modify that portion of the HTML code to connect to my Zen Cart code.

<!-- START PAYPAL FORM --> <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post" style="margin: 3px" NAME="formname" onSubmit="return CheckRequiredFields()"> <input type="hidden" name="cmd" value="_cart"> <input type="hidden" name="business" value="[email protected]"> <input type="hidden" name="return" value="http://mysite.com/thanks-payment.htm"> <input type="hidden" name="currency_code" value="USD"> <input type="hidden" name="quantity" value="1"> <input type="hidden" name="add" value="1"> <input type="hidden" name="on0" id="optionText" value="Optional Item Title"> <input type="hidden" name="os0" id="option" value="Optional Item Name"> <TABLE BORDER="1" cellpadding="10" cellspacing="0" width="275" BGCOLOR="#333333" bordercolor="#666666" style="border-collapse:collapse"><TR><TD VALIGN="TOP">

<span class="title">1.</span> Select picture size in the dropdown<br>

<span class="title">2.</span> Click the add item to cart button<br>

<br> <INPUT TYPE="hidden" NAME="ImageName">

Item selected<br>
<INPUT READONLY TYPE="TEXT" NAME="item_name" SIZE="25" class="shadeform-cart"><br>

<br> <!-- START THE OPTIONS TABLE, EDIT THIS AREA -->

Please select size and options:<br>
<select name="amount" class="drop-cart" id="size" onchange="setSize()">

<option selected value="95.00"> $95 --- Art piece 1 <option value="125.00">$125 --- Art piece 2 </select><br> <!-- END THE OPTIONS TABLE --> <!-- START THE SECOND OPTIONS TABLE, DELETE TO REMOVE --> <br> Please select mat color option:<br> <input type="hidden" name="on1" value="Mat Color"> <select name="os1" class="drop-cart"> <option selected value="None">None <option value="Blue">Blue <option value="Light Blue">Light Blue </select><br> <!-- END THE SECOND OPTIONS TABLE, DELETE TO REMOVE --> <br>

Please choose shipping option (Continental U.S.):<br>
<select name="shipping" class="drop-cart">

<option value="15.00" selected>$15 --- Unframed <option value="20.00">$20 --- Framed 11 x 14 <option value="30.00">$30 --- Framed 16 x 20 or 20 x 28 </select>

<br><br>

<input type="submit" value="Add Item to Cart" onmouseover="this.className='orderbuttonon'" onmouseout="this.className='orderbutton'" class="orderbutton" style="width: 150px"><br><br>

</td></tr></table> </FORM> <!-- END PAYPAL FORM -->

Can I replace this with something to connect to my Zen Cart. I'm sure there must be some HTML code that can replace my current PayPal code.

Thanks in advance! :smile:

15 Feb 2008, 7:08 PM
#6
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,627
Plugin Contributions:
0

Re: Integrating Zen Cart into Web Pages

Can I replace this with something to connect to my Zen Cart. I'm sure there must be some HTML code that can replace my current PayPal code.

Nope. Sorry. Look at Mal's or some other program.