Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Using as an include


dsmcphee

Recommended Posts

Posted

I have an existing web site that I developed using Dreamweaver and templates. And this has made life a lot easier for me. I now want to use OSCommerce with my site. I have tried to insert the /catalog/default.php as an include into my main index.php file but I get an error message saying that the file was unable to open.

 

Before the obvious is asked, yes the path is correct. But I'm assuming that what I want to do is not possible. Or is it ? Any helpers ?

 

DM

Posted

In short: not possible.

 

osCommerce needs to run as the 'master' app. You can then try to merge your templates with osC but not the other way around.

 

Mattice

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Posted

Making a guest here!

 

If your index.php is out side of your catalog directory make sure you have full path for

 

require('includes/application_top.php');

 

should be require('catalog/includes/application_top.php');

 

If you haven't tried that already it wouldn't hurt... :D

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...