close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


E Cart

Thread began 7/15/2010 2:44 am by J7HNW | Last modified 7/19/2010 4:54 pm by Jason Byrnes | 1001 views | 5 replies |


E Cart

Please advise. I have just completed my first PHP site with e Cart and all is now working. Thank you. I want to put in a sub site. My client runs a site for mens hair products and a second site for womens hair products. He wants to run both sites on my webserver so they can both use the same e commerce into his one merchant account.

We are putting in a category which will define whether a product is Mens or Womens so on my product listings we will filter out all proucts relating to the other sex.

My idea is that we set up a folder within the working Mens site for the Womens products. This way I can use the existing Database and Cart which is all set up and working now at Sagepay to speed up development time.

So in theory I will add a folder called "Womens" under the root - put in an Index.php with all Graphics for Women and point the Domain name to this file. The products list will be filtered so only products for women will appear.Are there any issues if I build the new site like this ? When it comes to the Cart - can I still use the same cart I have now without issues ?

Would I be best to run the entire checkout wizard again within the Womens folder so it creates a new set of Checkout Pages - ( I want to brand these also with the womens site logo ) or will this cause any problems.

Or am I better for example to duplicate the checkout files which already exist ( for example copy checkout.php as ladies_checkout.php and add womens logo and branding etc ) - and then just remap the button from the ladies site to the ladies_checkout.php so it goes through the same form as now but just with the ladies logo ?

Hope all makes sense.

Sign in to reply to this post

Jason ByrnesWebAssist

as long as the domain is the same for both,

There will be no problem using the cart you have already created for the womens products and directing checkout to the existing checkout pages.

Sign in to reply to this post


A Question

Thanks Jason - I was intending to put the folder in the same hosting space in a subfolder called womens_site.

As for the domain name - I wanted to point a different domain name to this subfolders index page via DNS

So for example would point to womens_site /index.php

Will this affect anything ?


Sign in to reply to this post

Jason ByrnesWebAssist

yes, using a different domain name will result in a differant browsing session.

You would be better of having one domain name:

and then having sub folders for men's hair and women's hair:


using different domain names for each site will mean you need to create a different cart and checkout pages for each domain.

Sign in to reply to this post


Thank you - one more question please

Thanks Jason. However I dont think the different browsing session will affect this as I was not planning to access both sites through the domain URL - just one or the other.

The main site is called and points to the roots index.php page. This site will ONLY BE ACCESSED ONLY BY MEN through the index.php page and will only display MENS products from the database ( I will filter the products by mens and womens ) This site is built and working.

The sub site is called and it was my intention to point this to the following URL as its root file via a redivert from its existing hosting space.


This will be a totally HIDDEN page within the WOMENS SUBFOLDER on the mens site so there will never be a cross over - or a situation where a man wants to order both mens and womens through the one site - hence causing a browser session issue.

To all intents - the WOMENS site will operate totally in the subfolder . So THIS SITE WILL ONLY BE ACCESSED BY WOMEN - through the sub folder and will only every display WOMENS PRODUCTS

Will this still cause a problem ? I do see what you are saying but cannot see how this will cause a problem as a woman entering the site would still only have a SINGLE BROWSING SESSION - she would just come in at the different entry point into the site - would order her products and then checkout.

If you still say no - then we are back to square one and will have to make a totally different site as the mens is already built as - hardly enticing to women. Sorry but I just need to be sure.

Thank you for you help

Sign in to reply to this post

Jason ByrnesWebAssist

it will become a problem when the cart display page posts over to the checkout page on the SSL server.

It will be simplest to create a totally separate site for the womens products rather than trying to use the checkout pages already created for the mens products.

Sign in to reply to this post

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





Ease of use


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...