Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding a right block


Guest

Recommended Posts

I want to add a right block under the currency block.

What file is it that I modify?

 

 

Depending on the block that you want to create, I would create a new object in the includes/boxes directory. If you look in column_right.php you will see lines like

 

require(DIR_WS_BOXES . 'search.php');

require(DIR_WS_BOXES . 'information.php');

 

What I would do is create a duplicate of something like search.php or information.php if you look in these file it's pretty simple to figure out how they work. Then in column_right.php just add a like like

 

require(DIR_WS_BOKES . 'my_new_box.php');

 

where my_new_box.php is the file name that you created from copying one of the files above.

 

Let me know if you have any problems with this.

osCommerce is a great piece of software with wonderful contributions.

Spend some time in the contribution area. There are a lot of gems there.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...