Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Latest Products Infobox on Mainpage


ubur

Recommended Posts

Posted

Hi all,

I want to be able to customize my InfoBoxes, where some are only seen on certain pages. IE, the Latest product box on the Main Page, or other boxes on there.

 

I know all I need to do is put a PHP tag where I want it to appear:

 

include(DIR_WS_??????. 'whats_new.php');

 

But I can't remember what to put in the ????? to have it point to my templates>boxes>whats_new.php file, or whatever box I want.

 

thanks all.

Posted

its DIR_WS_BOXES or whatever is defined in your includes\configure.php file for the boxes directory

Posted
its DIR_WS_BOXES or whatever is defined in your includes\configure.php file for the boxes directory

 

Even if I am using the templates contrib, where the boxes are included within the template folder?

Posted

well there always going to be a definition for the boxes directory If you see the STS sample it shows like this

 

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

Archived

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

×
×
  • Create New...