russia5 Posted February 4, 2007 Share Posted February 4, 2007 I am in the planning stage of a Shopping Cart application. I would like to build subdomains, each of which would sell a different catagory of the database of product. ie) the subdomains will act as affiliates of the main domain, offering products taylored to meet the theme of the catagory. The product sold, is simply information. The way I sell it within the main domain, is with a simple shopping cart mechanism. The question I have, is how do I sell the information within the subdomains. I believe I should create a XML feed file and then import it with an rss syndication news feeder. However, (assuming I am in the ball park of course), how would I sell it? Possibly taking the customer back to the main domain and using the coding there? Or, should the subdomain have its own database and the information put into that from the rss feed and the shopping cart code be duplicated in the subdomain? Link to comment https://forums.phpfreaks.com/topic/37078-xmlphp-shopping-cart/ Share on other sites More sharing options...
ShogunWarrior Posted February 4, 2007 Share Posted February 4, 2007 If it is a subdomain then it will be able to use the same code and same database. Just because the browser treats the subdomains separately does not mean you must split up your code/data. If you place your core PHP files in a central location then your subdomains can include them from their separate directories. Link to comment https://forums.phpfreaks.com/topic/37078-xmlphp-shopping-cart/#findComment-177080 Share on other sites More sharing options...
russia5 Posted February 5, 2007 Author Share Posted February 5, 2007 Thankyou very much! Link to comment https://forums.phpfreaks.com/topic/37078-xmlphp-shopping-cart/#findComment-177123 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.