Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

MERGING WEBSITE WITH SHOPPING CART


rnvst

Recommended Posts

Hello All,

 

My question is, is it possible to merge the shopping cart to my web site or should i place my web site in the shopping cart. Either way, which file(s) do i need to modify?

 

Thanks

Link to comment
Share on other sites

You'll need to modify your osc cart to resemble the webpage.

 

header.php

footer.php

column_left.php

column_right.php

all of the infoboxes .php

and stylesheet.php.

 

index.php also contains 3 sections that will need to be altered. You'll need to merge the html and php where appropriate.

-------------------------------------------------------------------------------------------------------------------------

NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.

If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

Link to comment
Share on other sites

p.s., in order to chagne some aspects of the infoboxes, you'll need to alter the boxes class found in /includes/classes/boxes.php.

 

In order to chagne the way products are displayed in categories, you'll need to alter the product_listing module, found in /includes/modules/product_listing.php.

 

There are a few more things that are hard to find, but that should be enough to get you started.

-------------------------------------------------------------------------------------------------------------------------

NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.

If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

Link to comment
Share on other sites

My pleasure. If you do something often enough, it becomes second nature.

-------------------------------------------------------------------------------------------------------------------------

NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.

If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

Link to comment
Share on other sites

wizardsandwars: I am totally new at this and hence was hoping you might know which page such information can be found. The index.php page you mentioned, is it the one in e.g. OS Cart/includes/languages/english/index.php?

Link to comment
Share on other sites

In osCommerce there are two files for most things (excepting files which deal purely with functions).

 

So, you'll find an index.php in the root, and this calls in (includes) information contained in column_left and column_right, in the header and footer, and calls in information from the index.php file in the includes/languages/english/ folder.

 

Don't use the osCommerce File Manager to edit files - it causes parse errors - read below my name for how to avoid them.

 

Vger

Link to comment
Share on other sites

Yeah, the index.php contains the 'top' level of the catalog, amoung other things.

 

Towards the bottom of the index.php you'll find a section labeled with a comment // show default page. Thats where you would start to modify that page.

 

If I may, I would suggest, however, that you start in the header.php. it's not quite as easy to mess up, and it might be a little easier for you to understand.

-------------------------------------------------------------------------------------------------------------------------

NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.

If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...