Metatron Posted February 23, 2006 Posted February 23, 2006 Hi all, I am trying to find out where I change the "5 out of 5 Stars text" for the product reviews. I wish to change the word stars to Hearts. Been trying to find what file its in with no luck :(
spax Posted February 23, 2006 Posted February 23, 2006 Line 93 in catalog\includes\languages\english.php
Metatron Posted February 24, 2006 Author Posted February 24, 2006 Line 93 in catalog\includes\languages\english.php Hi Spax I have changed line 93 to: define('BOX_REVIEWS_TEXT_OF_5_STARS', '%s of 5 Hearts!'); but it still shows up as 'Stars!' on my site? :huh: Any ideas?
spax Posted February 24, 2006 Posted February 24, 2006 I just did a search for it within OSC and there are 20 instances of Stars! being defined. That does include all the different languages plus the different languages within the admin directory. I changed a couple and got the results you want, but to play it safe, you are probably best going through all the relevant ones (english?) and changing them all. Just the Stars! output I mean, not the UPPER_CASE_NAMES
Metatron Posted February 25, 2006 Author Posted February 25, 2006 Ok. I have just edited define('TEXT_OF_5_STARS', '%s of 5 Stars!'); to define('TEXT_OF_5_STARS', '%s of 5 Hearts!'); in catalog/includes/languages/english/product_reviews.php catalog/includes/languages/english/product_reviews_info.php Seems to have done the trick :) Thanks for your input Spax!
spax Posted February 25, 2006 Posted February 25, 2006 Dan, that first one I said change, in catalog\includes\languages\english.php seems to be the ALT text for the star gif. So you will need to change that also.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.