Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to change the layout (including colours logos ext) of Oscommerce from a base install with ease


TheRenegade

Recommended Posts

Posted

Hello!

 

Oh smart ones who have PHP knowledge, and just know how the hell to screw around with OS commerce and place stuff where they want it.

 

It comes down to this people, I dislike the base template osCommerce gives you.

 

 

I want a banner on the top right corner of the page, AND a banner on the bottom of the page as well..

I also want to remove the manufacturers listing, manufacturers are well null in void for my use.

 

also there is the "bredcrumb" linkage below the oscommerce logo, i wish to change how its displayed, so instead of there being a "top" its gone, and Catalog is now "home" ect.

 

Colour changes, and well the general look of the menues as well so i want a Horizontal bar, and a left hand bar, i also like the right hand one as well, but i would like to be able to change the lay out with ease.

 

this is for a friend of mine, who knows next to nothing about programming.. i have some minor skills at least.

 

basically is there any way to modify this page EASILY and SIMPLY without screwing around with the code

(every time i try to do something, it gives me parse errors,

such as changing the currancies, and languages boxes - removing them- then putting in a box for check out

also to note -- i hate having to even try to look in 50 places to change one damn thing!! stupid thing..

 

now i have like next to no php experiance, a really good computer experiance,

so yeah i can understand what your talking bout

 

 

PLEASE HELP!!

im sorta getting desperate, and the headache is brewing something fierce.

Posted

Now i have checked STS,

but i dont think it has what i want..

i could be dumb, BUT.... i dunno??

 

and i have been checking more of the Conrib's out, so i will check more

i also saw the tutorial by toyicebear..

 

But please post if you have anything, that makes osCommerce easier to manipulate.

 

Thanks muchly

Posted

Open the /catalog/includes/header.php

 

On line 57 you will find:

<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td>

 

If you messed with the line above you have realize that it is the logo. You don't have to use php there, its your store you can do what you want.

You could change it to:

<td valign="middle"><img src="/myimages/logo.jpg"></td>

 

You can get rid of any boxes on the left or right by editing the files:

 

/catalog/includes/column_left.php

/catalog/includes/column_right.php

 

Open the /catalog/includes/column_left.php

 

find:

if ((USE_CACHE == 'true') && empty($SID)) {

echo tep_cache_manufacturers_box();

} else {

include(DIR_WS_BOXES . 'manufacturers.php');

}

 

and comment them out:

//if ((USE_CACHE == 'true') && empty($SID)) {

// echo tep_cache_manufacturers_box();

//} else {

// include(DIR_WS_BOXES . 'manufacturers.php');

//}

 

That will remove that manufactures boxe.

 

If you want a banner on the bottom you can edit the /catalog/includes/footer.php

 

I used to use frontpage to create html. We all have to learn sometime.

Other great Open Source (Free) programs: (Free as in free speech not free beer)

The Gimp - An image program. | Firefox - All you have to do is add the Web Developer add-on to make this web browser complete. | FileZilla - An ftp program. | Inkscape - A good program to create images with. | Thunderbird - An email program. | Openoffice.org - An office suite that is compatible with MS Office. | Abiword - Another office suite. | Audacity - A sound recording tool. | ddp's Picks | Wordpress - An easy to use blogging software. | Joomla - An easy to use CMS that has ecommerce plug-ins. | Drupal - Another CMS

How do I find these programs? Google Search!

Archived

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

×
×
  • Create New...