Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to add items on the main page - Index.php


johngebw

Recommended Posts

Posted

The right column is defined in includes/column_right.php. Just follow the template of require(DIR_WS_BOXES . 'whatever you want.php'); for adding boxes. For adding images, it'd be a tad more complicated. I haven't done it myself, but I would guess that the easiest way would be to add a box following the format of the other boxes, and include the image in that.

Always BACK UP your files and your database before making any changes. Before asking questions, check out the Knowledge Base. Check out the contributions to see if your problem's solved there. Search the forums.

 

Useful threads: Store Speed Optimization How to make a horrible shop Basics for design change How to search the forums

 

Useful contributions: Easypopulate Fast, Easy Checkout Header Tag Controller

Posted

I'm trying that and nothing seems to work

 

 

 

The right column is defined in includes/column_right.php. Just follow the template of require(DIR_WS_BOXES . 'whatever you want.php'); for adding boxes. For adding images, it'd be a tad more complicated. I haven't done it myself, but I would guess that the easiest way would be to add a box following the format of the other boxes, and include the image in that.
Posted

open /includes/column_right.php and after the ?> at the bottom of the page add

 

<tr><td>

Whatever you want to add here - pics, links, whatever

</td></tr>

 

Your language and reviews should already be showing up.

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Posted

how can I turn off the language and review boxes? just delete

 

 

if (substr(basename($PHP_SELF), 0, 8) != 'checkout') {

include(DIR_WS_BOXES . 'languages.php');

include(DIR_WS_BOXES . 'currencies.php'); }

 

 

 

??

Posted
how can I turn off the language and review boxes? just delete

if (substr(basename($PHP_SELF), 0, 8) != 'checkout') {

include(DIR_WS_BOXES . 'languages.php');

include(DIR_WS_BOXES . 'currencies.php'); }

??

 

 

just comment them out

 

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

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Archived

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

×
×
  • Create New...