Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 07-13-2007 08:23:54

9000world
Member
From: Denver
Registered: 06-19-2007
Posts: 37
Website

Interface with existing website

I have a small shopping cart website that we design and host ourselves on our own servers (FreeBSD,PHP,MySQL).  We want to continue to use our existing website for product page display. We have alot of web directory and search engine links pointing to various landing pages on our site that we do not want to abandon.

Can CCP interface with those existing pages through unique url's or forms for our existing Add-to-Cart/Checkout buttons. We would use CCP's order entry/checkout web pages, and to perform credit cart processing, and the admin module for product listing and order management.

Can CCP be used in this manner?

Thanks in advance for your time.

Mike

Offline

 

#2 07-13-2007 09:04:58

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: Interface with existing website

CCP will except input from Remote pages, you would have to setup the add to cart buttons form with what ccp need and you would also have to place the url's for your pages in the admin me > ClickCartPro > Settings: Application Settings Menu > Remote E-Commerce Settings > Allowed Remote Product Page URLs and also set the Allow Remote Product Page POSTs* to true.

John

Offline

 

#3 07-13-2007 09:26:58

9000world
Member
From: Denver
Registered: 06-19-2007
Posts: 37
Website

Re: Interface with existing website

Thanks John. Looks like that's what I was looking for.

I don't suppose that you know about a spec or help doc somewhere that describes what CCP is expecting for variables?

Mike

Offline

 

#4 07-13-2007 14:47:42

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: Interface with existing website

I tried to get to the example page on the demo site with no luck, so if you go to my site at http://www.slpdoghousemusic.com/media/c … tform.html you will see the example page. Just view the page source in your browser and you will see the instruction for creating the parts that ccp needs.

John

Offline

 

#5 07-13-2007 15:04:48

9000world
Member
From: Denver
Registered: 06-19-2007
Posts: 37
Website

Re: Interface with existing website

Wahoo. That's some form. I was expecting a simple url with a product code that is targeted at the add-to-cart or checkout page. I only sell digital download products so I don't believe that I need to send the cart much info, just which item is being added to the cart is all I really care about.

Thanks for your help John. Didn't expect you to go to that much trouble, I really appreaciate it.

Offline

 

#6 07-13-2007 16:32:57

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: Interface with existing website

You don't have to send every thing that is shown there you just need the basic to get what you want:

Code:

<form action="../../../index.php" method="post" id="remoteadd">

<p class="hidden"><input type="hidden" name="app" id="app" value="ccp0" /></p>

<p class="hidden"><input type="hidden" name="ns" id="ns" value="addcart" /></p>

<p class="hidden"><input type="hidden" name="cart_api" id="cart_api" value="Y" /></p>

<p class="hidden"><input type="hidden" name="price" id="price" value="9.99" /></p>

<p>Quantity (Required): <input type="text" name="quantity" id="quantity" value="1" size="5" /></p>

<p class="hidden"><input type="hidden" name="delivery_method" id="delivery_method" value="N" /></p>

<p class="hidden"><input type="hidden" name="dlfile" id="dlfile" value="myfile.zip" /></p>

<p><input class="khxc_formbutton" name="SUBMIT" id="SUBMIT" value="Add To Cart" type="submit" /></p>

</form>

The above code is just a quick example.

John

Offline

 

#7 07-13-2007 17:20:42

9000world
Member
From: Denver
Registered: 06-19-2007
Posts: 37
Website

Re: Interface with existing website

Thanks much.

Offline

 

Board footer