Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

content management site for oscommerce


martinstan

Recommended Posts

Hi

This would have been useful to me 2-3 days ago so someone else may also find useful too.

I've had to hack around the code recently (commenting out not deleting) because I needed to create a content managed site initially and disable all the ecommerce stuff. I thought it may be useful to show some of the things I've done in case anyone else needs it. What you are left with is an admin area that allows the user access only to the catalog action, and the front end leaves you with all the features but without the ecommerce bit.

If anyone wants to add or comment on things I've done right or wrong then please feel free.

 

Cheers

Martin

 

OSCOMMERCE-PHP Comments

Index.php

Line 291-removes image top right of products box.

Line 325-327-removes boxes in right column

 

 

Product_info.php

Line 212/213-removes button_reviews.gif and button_in_cart.gif

 

Admin\index.php

Line 17- disables configuration link on admin index

Line 23- disables modules link on admin index

Line 33- disables taxes.

Line 38- disables customers

Line 43- disables currencies

Line 48- disables reports

Line 53- disables tools

 

Admin\includes\column_left.php

Line 13-19-removes left column boxes in admin area

 

Admin\includes\header.php

Line 20- removes icons right header in admin area

 

Includes\column_left.php

Line 22 onwards- removes boxes column left

 

Includes\column_right.php or column_left.php

Can remove individual boxes

 

Includes\footer.php

Line-18 removes text on the right of footer

 

Includes\header.php

Line 59- removes images links to shopping cart etc. in header.

Line 65- removes links in the breadcrumb bar on the right for shopping cart, check out etc.

 

Includes\boxes\information.php

Line 23-28-removes unwanted links in Information box, left column.

 

Includes\functions\general.php

Line 939- removes greeting string, ?welcome guest etc..

 

Includes\languages\english.php

Line 284-286- removes greeting string, ?welcome guest etc..

OSCOMMERCE-HTML Comments

Index.php

Line 325-329-removes right column

Product_info.php

Line 208-216-removes cart and reviews buttons

Includes\header.php

Line 65- removes links in the breadcrumb bar on the right for shopping cart, check out etc.

 

 

Stuff in Admin Area

Remove ?buy now? column in Configuration menu

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...