PDA

View Full Version : Setting up secure and non-secure for eCart


shiftyzero-25
05-04-2009, 09:09 PM
I currently was tasked by client to setup a seperate folder for secured transactions on an already live site. When we first launched the website it was configured for one namespace e.g. http://www.hostname.com and https://www.hostname.com. Now the client wants to change to http://www.hostname.com and https://secure.hostname.com. The task is to get ecart to maintain items in the cart when switching back and forth between each namespace. My question is would i have to create two WA_eCart folders for each namespace? Can i keep the existing WA_eCart folder in the non-secure namespace and link to it on the secured namespace? Please help. Here's how it's setup. We have two folders one for the secured site and the other for the non-secured site. We are using a dedicated server so total control of naming conventions are all up to us. The non-secured site contains the add to cart pages, but the cart page is in the secured folder. How do we get the add to cart buttons to work? Please help!!

Ray Borduin
05-05-2009, 03:25 PM
I'd just add a copy of the add to cart pages to the secure site and upate the form action so they submit directly to the add to cart pages on the secured site.

You will need a copy of the eCart folder on each site and a copy of any pages .css and images you are using on the https sites.

shiftyzero-25
05-08-2009, 08:50 AM
I thought this was the way to go, but it seems a bit redundant. There are so many files for the site that doing this could present twice the amount of work when doing updates to the site, which is quite frequently... sometimes twice a month. I was looking for a more comprehensive approach to solving the problem. I appreciate your input, but there must be some other method to achieving the goal. Let me know if anyone out there have any thoughts on this. Thanks!!