Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

is there a list of what each php file does?


khaitom

Recommended Posts

I'm trying to understand the structure of osCommerce but have never encountered php before so I'm having trouble deciphering the php files. I'm an older machine code / assembley programmer (z80, 6502 anyone?) who can also hand code complex cross browser html so I should be able to figure it out, I just don't have much experience of "modern languages".

 

I want to strip out almost everything and start with a very basic site and add stuff back when I need to. I know some filenames are a good indicator of what they do, but with others I don't understand what they are meant to do until after I decipher them, it's really making my head hurt and taking me hours.

 

(it took a while to find TITLE in the english.php file not in the index.php or header.php where I thought they'd be. makes sense in retrospect)

 

Is there a description of the structure of osCommerce, what each file is/does, and how the standard "out of the box" store is constructed? I've searched the KB and forums but can't find one.

 

Thanks in advance

Link to comment
Share on other sites

Well, the answer seems to be no.

 

...but the closest I could get was http://www.oscommerce.com/community/contributions,2565! It's not so much a usefull installation guide as an introduction to learning what goes where and how to customize your osCommerce store.

 

It would really have helped if that information was in the Documentation. I've posted this follow-up in case it helps someone else find the basic information it's taken me about 6 hours to find.

Link to comment
Share on other sites

Using the browsable Xref is also an easy way to get to know the oscommerce system. I've uploaded a set of html files as a contribution that you can download and save in a local directory for offline browsing. Advantage is that is also links to the definitions of php functions that are used. An online version is also available, I've a link to it in my blog.

 

There are also some (commercial) manuals available that describe the typical changes you want/need to make to a store, both from end user/Store owner as technical/developer point of view.

Google is your friend :D

 

HTH

KEEP CALM AND CARRY ON

I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support).

So if you are still here ? What are you waiting for ?!

 

Find the most frequent unique errors to fix:

grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...