twentythreemx Posted August 1, 2011 Posted August 1, 2011 Trying to get the "new prodcts for month" gone.. not just the heading but the whole box. I'd like to put my own text in there.... I saw many topics on how to do so (editing the index.phhp and removing it from both locations) However my issue is that if I remove the include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); from line 265.. it also removes my categories box in my left column. Can someone tell me how to just remove the box showing the new products for the month without removing my categorie box also? These are the lines I was playing with either removing or comenting out. include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); nclude(DIR_WS_MODULES . FILENAME_UPCOMING_PRODUCTS); include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?> Your help would be GREATLy appreciated!! Going nuts over this.
vishalchauhan Posted August 1, 2011 Posted August 1, 2011 which version of osc you use? becuase it's not possible in osc 2.2.... there are different boxes for new product and category menu.. just comment new product line on index page if you are using osc 2.2 Please take backup of your files before do changes suggested by me
vishalchauhan Posted August 1, 2011 Posted August 1, 2011 ok i have done that //include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); include(DIR_WS_MODULES . FILENAME_UPCOMING_PRODUCTS); from index page and i m successfully hide new product box and also it is showing me category box in left menu.. Please take backup of your files before do changes suggested by me
vishalchauhan Posted August 1, 2011 Posted August 1, 2011 This is what you said These are the lines I was playing with either removing or comenting out. include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); nclude(DIR_WS_MODULES . FILENAME_UPCOMING_PRODUCTS); include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?> dont you think there are two box for new product.. you can say two same line for displaying new product, you need to hide both same line first and third.. :) if i m not wrong and what i can see there.. Please take backup of your files before do changes suggested by me
twentythreemx Posted August 1, 2011 Author Posted August 1, 2011 I did comment out both. It removes the new product box however it also removes the category box and that is what I want to avoid. I need to have my categories displayed on the side! I've tried all combinations. And yes I'm on 2.2 thanks!
satish Posted August 2, 2011 Posted August 2, 2011 paste your complete code here else do this -- Revert to original code and see if all is being displayed now instead of removing just comment those modules using // e.g //include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); if still your other part gets missing then your dev has modified new prod module to handle some addiitonal display. Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does.
twentythreemx Posted August 2, 2011 Author Posted August 2, 2011 The code has not been heavily modified. The area for those boxes has not been touched. you can see it live here: http://soullessapparel.com/shop/ Right now I have the single line of code (towards top of index.php) for the new products commented out, but it does nothing. If I were to comment out the other line (towards end of index.php), it would remove the new products box, but ALSO remove my categories box and only leave me with the info box. See screen shots: <?php } include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); //include(DIR_WS_MODULES . FILENAME_UPCOMING_PRODUCTS); ?> Thats from the bottom of the page, here is the one from the top: <?php //include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?> Everyone's help on getting this figured out is greatly appreciated!!! The reason I want to remove the new product box is because there is only going to be a small # of product and it will not be updated often. Also when you view it, the title of "FU" is where the "new product for month" was.. lol.. I edited that, was a little angry you could tell. I want that area gone!! :( Screenshot with it commented out (infobox removed) Screenshot of it without that extra line commented out:
vishalchauhan Posted August 3, 2011 Posted August 3, 2011 have you changed anything from backend like id of the boxes or name of the boxes something like that... Please take backup of your files before do changes suggested by me
twentythreemx Posted August 3, 2011 Author Posted August 3, 2011 nope, nothing like that. i guess i need to figure out which file is controlling the info box / new products.. and I could edit out the new products part from it...
twentythreemx Posted August 4, 2011 Author Posted August 4, 2011 well.. 2 things to update here. 1. scrapped what i did already, downgraded and used STS for the site. Way easier, and integrated perfectly as I wanted into my current site (which was just html / css so very easy) 2. I for the heck of it, tried to remove the "new for the month" and it worked fine. must just be issue w/ the newer version. Thanks all.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.