close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Duplicating Cart in other Domain without recreating?

Thread began 1/26/2010 7:27 am by Art | Last modified 2/21/2017 1:25 pm by Ray Borduin | 2790 views | 10 replies |

Art

Duplicating Cart in other Domain without recreating?

I need to duplicate the shopping cart/checkout and all that in a new site but I don't want to recreate it from scratch. I have one site that's all set up on one domain.

This is the situation. We have one division that has a shopping cart page. A second division now needs it's own shopping cart on another domain name (same server). I need to, eventually, build a cart for this but for now, I want to just borrow from my original site and then, at checkout, have the page take the customer to my original site. In other words, the customer would select items on one site and then be sent to the login page of the other for checkout.

First of all, is it worth my time to try to get this to work or is it hopeless. If it will work, see below.

I tried copying the WA_eCart folder and then tried to apply the add to cart to the page but, of course, it's missing stuff.

Is there a thread on this? What has to be in place for something like this to work?

Sign in to reply to this post

Ray BorduinWebAssist

It shouldn't be. All of the code for a cart should be in the eCart folder, so copying that folder should be all you need to do.

What was the error you got when you tried.

Sign in to reply to this post
Did this help? Tips are appreciated...

Art

BTW, I think I already know the answer. I'm curious if others have tried this and got it to work.

So far, one problem will be that sessions won't be passed between domain names. I'm not sure if it's possible to overcome this.

Sign in to reply to this post

Art

What was the error you got when you tried.

I did this last Friday and I don't remember the errors.

To clarify, I'm not copying the pages, just the cart.

Do you know how I can, if I can, get past the problem of losing sessions variables between domain names?

Sign in to reply to this post

Ray BorduinWebAssist

That is true... sessions won't be passed between domain names. However if you use the "SSL Transfer" feature of the eCart checkout form you can pass the shopping cart from one site to another through a form post... It was designed so that you could pass your cart to a different SSL domain, but there is no reason why it wouldn't work to pass cart data between any two sites.

Sign in to reply to this post
Did this help? Tips are appreciated...

Art

Do I need SSL on both sites for this to work?

Sign in to reply to this post

Ray BorduinWebAssist

No... neither side really.

The ssl transfer option was created to allow users to pass cart data to an SSL server.

The technique used is that it populates a hidden form with all of your cart data and submits it to a page on the other server. That page then reads in the posted form and recreates the cart.

No SSL is actually needed on either side, it is just the most common reason to want to pass a cart from one domain to another, so that is the way the feature was named. In reality it doesn't matter whether SSL is involved or not for the process to work.

Sign in to reply to this post
Did this help? Tips are appreciated...

Art

OK, thanks. I think that's enough for now.

Sign in to reply to this post

info4753

Hi ray I do need this for one of my project. Could you please describe in a few basic words/steps on how to do this? I have a fully functional webshop running and have now a new website with an ecart. When the user clicks on checkout on the new website, I'd like to pass the cart content to the current website. Thanks in advance

Sign in to reply to this post

Ray BorduinWebAssist

You can just contact me directly through email, call the main line, or fill out the premier support request form linked from the top of the forums page. Then I'll call you and we can schedule a meeting. I imagine we can get this done in a 1 hour session.

Sign in to reply to this post
Did this help? Tips are appreciated...
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...