authorette Posted March 4, 2007 Share Posted March 4, 2007 I've been able to find the answers to all my various mods questions in this forum except for this last one. My web client will want to have on the main page of the 'catalog' pictures of products that are to be featured. I know the default template comes with "new products" infobox. Is there anyway to change it to a "featured products" infobox instead (where I can chose the products to be displayed.) I found an old thread to this question but the answer was linked to someone's contribution signature that I couldn't make sense of. If that is too much to ask, at the very least I'd like to 'comment' out the NEW_PRODUCTS_DISPLAY code, but don't know which .php file to look on for that. Thanks for your help. Link to comment Share on other sites More sharing options...
jonquil Posted March 5, 2007 Share Posted March 5, 2007 index.php. In the stock Osc file, there are 2 references to it: Line 120: <tr> <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> </tr> Line 312: <tr> <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> </tr> You can delete them altogether if this is a permanent change or comment out the HTML as follows: <!-- <tr> <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> </tr> --> jon edit: added code boxes It's all just ones and zeros.... Link to comment Share on other sites More sharing options...
authorette Posted March 5, 2007 Author Share Posted March 5, 2007 index.php. In the stock Osc file, there are 2 references to it: Line 120: <tr> <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> </tr> Line 312: <tr> <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> </tr> You can delete them altogether if this is a permanent change or comment out the HTML as follows: <!-- <tr> <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> </tr> --> jon edit: added code boxes Thanks for the fast reply Jon. So can I assume from what you didn't say, there is no way to do a 'featured products' module where I can specify the product to be 'featured' (shown)? Link to comment Share on other sites More sharing options...
jonquil Posted March 5, 2007 Share Posted March 5, 2007 I think what you're looking for is "Featured Products." Look for it (up top of this page) in the (red) Community >> Contributions section. There is another Contri I have seen on a site I work on called "Star Products." I don't know if either one is limited to one or if you can have more than one. jon It's all just ones and zeros.... Link to comment Share on other sites More sharing options...
authorette Posted March 5, 2007 Author Share Posted March 5, 2007 jon Thanks I just commented out the code for now. If I need to work with tweaking the products on the main page in the future, I'll know where to go look. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.