Hi guys, I have to get a website up in about 2 weeks and it is very important that I know how to/change the following:
1) How to change the background color/image
2) How to update the color values (I go to update it using the administrator tools and it just doesn't update)
3) How to take off Product Reviews (I will be selling t-shirts and don't want them)
4) How to edit the tab image
Someone please respond to this A.S.A.P. or else I might not be able to get my website up:(
1) How to change the background color/image
2) How to update the color values (I go to update it using the administrator tools and it just doesn't update)
3) How to take off Product Reviews (I will be selling t-shirts and don't want them)
4) How to edit the tab image
Someone please respond to this A.S.A.P. or else I might not be able to get my website up:(
Last edited by i2Paq on Mon Feb 22, 2010 7:50 pm, edited 1 time in total.
Reason: Topic moved
Reason: Topic moved
I have figured out how to change everything in my original question. This is the only thing I've been stuck on:
Taking Reviews COMPLETELY off - I took off the reviews feature, there is now no review link on the site. But when you click on a product, there is still a button that says "reviews". So open cart took off the review links on the side, but it didn't take off the review buttons on the product pages. Can someone please help me change this?
Taking Reviews COMPLETELY off - I took off the reviews feature, there is now no review link on the site. But when you click on a product, there is still a button that says "reviews". So open cart took off the review links on the side, but it didn't take off the review buttons on the product pages. Can someone please help me change this?
Hi,
I have completely removed Ratings/Reviews from the system as I don't need it either (an on/off switch in Admin would be cool!)
Here are the changes I made to the Products page (v1.2.5) -
1. Top Right -
catalog/view/theme/default/template/product/product.tpl - removed at line 32
2. Reviews Tab remove -
upload/catalog/view/theme/default/template/product/product.tpl - removed at line 64
3. Reviews Tab main content -
upload/catalog/view/theme/default/template/product/product.tpl - removed from line 66
4. Linked Products are at bottom (if using Linked Products Contrib) -
catalog/view/theme/default/template/product/product.tpl - removed from line 106
Hope that helps!
You'll also need to make changes to the Specials page, the Manufacturer page & the Category page - don't forget the 'Sort By' on those pages!
Regards
Mark
I have completely removed Ratings/Reviews from the system as I don't need it either (an on/off switch in Admin would be cool!)
Here are the changes I made to the Products page (v1.2.5) -
1. Top Right -
catalog/view/theme/default/template/product/product.tpl - removed at line 32
Code: Select all
<tr>
<td><b><?php echo $text_average; ?></b></td>
<td><?php if ($average) { ?>
<img src="catalog/view/theme/default/image/stars_<?php echo $average . '.png'; ?>" alt="<?php echo $text_stars; ?>" style="margin-top: 2px;" />
<?php } else { ?>
<?php echo $text_no_rating; ?>
<?php } ?></td>
</tr>
upload/catalog/view/theme/default/template/product/product.tpl - removed at line 64
Code: Select all
<a tab="#tab_review"><?php echo $tab_review; ?></a>
upload/catalog/view/theme/default/template/product/product.tpl - removed from line 66
Code: Select all
<div id="tab_review" class="page">
<div id="review"></div>
<div class="heading" id="review_title"><?php echo $text_write; ?></div>
<div style="background: #F7F7F7; border: 1px solid #DDDDDD; padding: 10px; margin-bottom: 10px;"><b><?php echo $entry_name; ?></b><br />
<input type="text" name="name" value="" />
<br />
<br />
<b><?php echo $entry_review; ?></b>
<textarea name="text" style="width: 99%;" rows="8"></textarea>
<span style="font-size: 11px;"><?php echo $text_note; ?></span><br />
<br />
<b><?php echo $entry_rating; ?></b> <span><?php echo $entry_bad; ?></span>
<input type="radio" name="rating" value="1" style="margin: 0; margin: 0;" />
<input type="radio" name="rating" value="2" style="margin: 0; margin: 0;" />
<input type="radio" name="rating" value="3" style="margin: 0; margin: 0;" />
<input type="radio" name="rating" value="4" style="margin: 0; margin: 0;" />
<input type="radio" name="rating" value="5" style="margin: 0; margin: 0;" />
<span><?php echo $entry_good; ?></span><br />
<br />
<b><?php echo $entry_verification; ?></b><br />
<input type="text" name="verification" value="" />
<br />
<img src="index.php?route=product/product/verification" id="verification" /></div>
<div class="buttons">
<table>
<tr>
<td align="right"><a onclick="review();" class="button"><span><?php echo $button_continue; ?></span></a></td>
</tr>
</table>
</div>
</div>
catalog/view/theme/default/template/product/product.tpl - removed from line 106
Code: Select all
<?php if ($products[$j]['rating']) { ?>
<img src="catalog/view/image/stars_<?php echo $products[$j]['rating'] . '.png'; ?>" alt="<?php echo $products[$j]['stars']; ?>" />
<?php } ?>
You'll also need to make changes to the Specials page, the Manufacturer page & the Category page - don't forget the 'Sort By' on those pages!
Regards
Mark
Really would be great if reviews could be enabled/disabled by an option rather than hacking the core files. I hate to modify core files as I lose the modifications when I do an update to a new version.
brianteeman wrote:Really would be great if reviews could be enabled/disabled by an option rather than hacking the core files. I hate to modify core files as I lose the modifications when I do an update to a new version.
could this not be done easily?
Yeah, pretty easy...
Database changes - add new row to hold setting
Admin files - add a checkbox for enable/disable reviews (globally, but you could probably do it for each product too with a little more logic)
Product files - get setting in the controller, if enabled - show it, if not enabled - don't show it.
Done...
Database changes - add new row to hold setting
Admin files - add a checkbox for enable/disable reviews (globally, but you could probably do it for each product too with a little more logic)
Product files - get setting in the controller, if enabled - show it, if not enabled - don't show it.
Done...
http://www.alreadymade.com
Follow me on twitter.com/alreadymade
Can anyone advise how to remove the reviews and rating for 1.3.2. i have tried the advise here but it doesn't work it affects the layout and colour of the back ground for the left and right sidebars as well.
Does anyone know the best way to do it.
Thanks tim
Does anyone know the best way to do it.
Thanks tim
I have managed to get rid of the reviews and review tab but i can't get rid of the average rating text on the product page does anyone have any ideas?
I would really appreciate any help you could give
cheers
tim
I would really appreciate any help you could give
cheers
tim
1) How to change the background color/image
In the stylesheet add the following (additions in red)
body {
margin: 0px;
padding: 0px;
text-align: center;
/*background: url('../image/top_talling.gif') repeat; /* use this if you hae a graphic to load as main page background */
background: #585039; /*colour for the main page background*/
2) How to update the color values (I go to update it using the administrator tools and it just doesn't update)
All colour values should be in the stylesheet
3) How to take off Product Reviews (I will be selling t-shirts and don't want them)
Answered by many above.
4) How to edit the tab image
All the images like graphics for the webpage (not products) are saved in opencart\catalog\view\theme\default\image. Use any grahics software e.g. photoshop to edit it.
Hope it helps.
Vimal.
In the stylesheet add the following (additions in red)
body {
margin: 0px;
padding: 0px;
text-align: center;
/*background: url('../image/top_talling.gif') repeat; /* use this if you hae a graphic to load as main page background */
background: #585039; /*colour for the main page background*/
2) How to update the color values (I go to update it using the administrator tools and it just doesn't update)
All colour values should be in the stylesheet
3) How to take off Product Reviews (I will be selling t-shirts and don't want them)
Answered by many above.
4) How to edit the tab image
All the images like graphics for the webpage (not products) are saved in opencart\catalog\view\theme\default\image. Use any grahics software e.g. photoshop to edit it.
Hope it helps.
Vimal.
www.beeshop.se
Starta webbshop, Starta e-butik, Starta e-handel
MarkF's steps on removing the codes can still be applied to 1.3.2. I just followed his step by step and was successful in removing the ratings tab.
Thanks for the tip, gws. I wanted the Description, Additional Images and Related Products so this is what I commented out:gws wrote:I just had to do this on the latest version 1.3.2 catalog/view/theme/default/template/product/product.tpl
I just commented out line 96 with <!--
and line 176 with --> and this has removed it all for me.
Code: Select all
<!-- Comment out Average Rating
<tr>
<td><b><?php echo $text_average; ?></b></td>
<td><?php if ($average) { ?>
<img src="catalog/view/theme/default/image/stars_<?php echo $average . '.png'; ?>" alt="<?php echo $text_stars; ?>" style="margin-top: 2px;" />
<?php } else { ?>
<?php echo $text_no_rating; ?>
<?php } ?></td>
</tr> -->
Code: Select all
<!-- Comment out Review Tab <a tab="#tab_review"><?php echo $tab_review; ?></a> -->
Code: Select all
<div id="tab_review" class="page">
<div id="review"></div>
<div class="heading" id="review_title"><?php echo $text_write; ?></div>
<div style="background: #F7F7F7; border: 1px solid #DDDDDD; padding: 10px; margin-bottom: 10px;"><b><?php echo $entry_name; ?></b><br />
<input type="text" name="name" value="" />
<br />
<br />
<b><?php echo $entry_review; ?></b>
<textarea name="text" style="width: 99%;" rows="8"></textarea>
<span style="font-size: 11px;"><?php echo $text_note; ?></span><br />
<br />
<b><?php echo $entry_rating; ?></b> <span><?php echo $entry_bad; ?></span>
<input type="radio" name="rating" value="1" style="margin: 0;" />
<input type="radio" name="rating" value="2" style="margin: 0;" />
<input type="radio" name="rating" value="3" style="margin: 0;" />
<input type="radio" name="rating" value="4" style="margin: 0;" />
<input type="radio" name="rating" value="5" style="margin: 0;" />
<span><?php echo $entry_good; ?></span><br />
<br />
<b><?php echo $entry_captcha; ?></b><br />
<input type="text" name="captcha" value="" />
<br />
<img src="index.php?route=product/product/captcha" id="captcha" /></div>
<div class="buttons">
<table>
<tr>
<td align="right"><a onclick="review();" class="button"><span><?php echo $button_continue; ?></span></a></td>
</tr>
</table>
</div>
</div> -->
Hope this helps someone!
Many thanks, nosleephotel, this has helped me greatly to understand & remove the Reviews feature. My client's stock are mostly one-offs & therefore this feature was pretty redundant to his customers.
I did have one other question, which I've posted on a separate, but related thread regarding how to adjust the drop-down Select order box within Categorys:
http://forum.opencart.com/viewtopic.php ... 036#p43036
In a nutshell, have utilized the rating variable to display 'Latest Arrivals' in each category but would now care to delete the $rating_DESC option as is now redundant & wondered where this resides in the code..
I did have one other question, which I've posted on a separate, but related thread regarding how to adjust the drop-down Select order box within Categorys:
http://forum.opencart.com/viewtopic.php ... 036#p43036
In a nutshell, have utilized the rating variable to display 'Latest Arrivals' in each category but would now care to delete the $rating_DESC option as is now redundant & wondered where this resides in the code..
Glad I could help.deeve wrote:Many thanks, nosleephotel, this has helped me greatly to understand & remove the Reviews feature. My client's stock are mostly one-offs & therefore this feature was pretty redundant to his customers
Not sure how to do this. Hopefully someone else here can tell you. Did you search the forum to see if it had already been answered? If you get no reply from this thread or the other you posted in, I would recommend starting a new thread (others may disagree with me ) with a descriptive title to try to catch the eye of someone who may know.deeve wrote:I did have one other question, which I've posted on a separate, but related thread regarding how to adjust the drop-down Select order box within Categorys:
http://forum.opencart.com/viewtopic.php ... 036#p43036
In a nutshell, have utilized the rating variable to display 'Latest Arrivals' in each category but would now care to delete the $rating_DESC option as is now redundant & wondered where this resides in the code..
go to product.tpl and comment (<!--code-->) this linesGaxas wrote:Anyone have idea, how to remove Reviews in 1.4 version ? Thank's
line 41 to 48
Code: Select all
<tr>
<td><b><?php echo $text_average; ?></b></td>
<td><?php if ($average) { ?>
<img src="catalog/view/theme/default/image/stars_<?php echo $average . '.png'; ?>" alt="<?php echo $text_stars; ?>" style="margin-top: 2px;" />
<?php } else { ?>
<?php echo $text_no_rating; ?>
<?php } ?></td>
</tr>
Code: Select all
<a tab="#tab_review"><?php echo $tab_review; ?>
Code: Select all
<div id="tab_review" class="tab_page">
<div id="review"></div>
<div class="heading" id="review_title"><?php echo $text_write; ?></div>
<div style="background: #F7F7F7; border: 1px solid #DDDDDD; padding: 10px; margin-bottom: 10px;"><b><?php echo $entry_name; ?></b><br />
<input type="text" name="name" value="" />
<br />
<br />
<b><?php echo $entry_review; ?></b>
<textarea name="text" style="width: 99%;" rows="8"></textarea>
<span style="font-size: 11px;"><?php echo $text_note; ?></span><br />
<br />
<b><?php echo $entry_rating; ?></b> <span><?php echo $entry_bad; ?></span>
<input type="radio" name="rating" value="1" style="margin: 0;" />
<input type="radio" name="rating" value="2" style="margin: 0;" />
<input type="radio" name="rating" value="3" style="margin: 0;" />
<input type="radio" name="rating" value="4" style="margin: 0;" />
<input type="radio" name="rating" value="5" style="margin: 0;" />
<span><?php echo $entry_good; ?></span><br />
<br />
<b><?php echo $entry_captcha; ?></b><br />
<input type="text" name="captcha" value="" />
<br />
<img src="index.php?route=product/product/captcha" id="captcha" /></div>
<div class="buttons">
<table>
<tr>
<td align="right"><a onclick="review();" class="button"><span><?php echo $button_continue; ?></span></a></td>
</tr>
</table>
</div>
</div>
cheers
Who is online
Users browsing this forum: No registered users and 33 guests