Guest Posted August 2, 2003 Posted August 2, 2003 I'd like to remove the 'reviews' section in its entirety and all references to it. My site sells videos/DVDs and each already has a full review as the product description. I'd like to replace 'review' on the main page (right hand side) and replace it with 'specials' -- so need a section in the admin panel to add things as a 'special'.
Guest Posted August 2, 2003 Posted August 2, 2003 Figured out 'specials' -- I'd just like the images smaller on the main page if possible or better yet, NO image at all. How do I tweak that?
Guest Posted August 3, 2003 Posted August 3, 2003 Still need to remove 'reviews' from every single page in the cart. I've got 'specials' working, though I need to have it modify the image size there, 100x150 (my standard size) is waaaaaaaaay too big for the main page.
Daemonj Posted August 3, 2003 Posted August 3, 2003 To remove the reviews, edit the catalog/product_info.php page and either remove or comment out the code for the reviews box. For the specials images, you will probably need to edit the catalog/includes/boxes/specials.php file and create a variable for the image size you want and have the code reference that variable instead of the SMALL_IMAGE_(HEIGHT or WIDTH) constant. "Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein
wizardsandwars Posted August 3, 2003 Posted August 3, 2003 For reviews, you're also going to need to remove the logic on the product info apge, as well. Should be pretty easy t ospot though. ------------------------------------------------------------------------------------------------------------------------- NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit. If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.
Guest Posted August 3, 2003 Posted August 3, 2003 And to comment code in php, is it the same as html? <!-- --> or am I going to need a lesson in this, too? :)
Guest Posted August 3, 2003 Posted August 3, 2003 And, /catalog/product_info.php is not the same as /includes/languages/english/define language? Or is this a lot more complicated than I'm being lead to believe?
Daemonj Posted August 3, 2003 Posted August 3, 2003 To comment something on a single line use //. If that is placed at the beginning of a line then the entire line is commented out. To comment multiple lines of code use /* and */ and the start and end tags, respectively. The above is only true if you are within the php tags <?php and ?>. If you comment out the html that contains the php call for the review box that will work as well. That should be about as clear as mud. ;) :lol: "Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein
wizardsandwars Posted August 3, 2003 Posted August 3, 2003 Just so you know, Jim, You'd better get this fixed for her on the double! She's getting impatient. http://www.oscommerce.com/forums/viewtopic.php?t=53347 ------------------------------------------------------------------------------------------------------------------------- NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit. If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.
wizardsandwars Posted August 3, 2003 Posted August 3, 2003 Well, perhaps if you weren't rude to people that attempt to help you. I'll be sure not to make that mistake again, that's for certain. ------------------------------------------------------------------------------------------------------------------------- NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit. If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.