If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / Review rating radio buttons are all 5 stars

Review rating radio buttons are all 5 stars

Locked

Started by craft_magick on 31 Mar 2009, 4:57 AM · Views: 4,323

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
31 Mar 2009, 4:57 AM
#1
craft_magick avatar

craft_magick

Zen Follower

Join Date:
Nov 2007
Posts:
166
Plugin Contributions:
0

Review rating radio buttons are all 5 stars

On my product review page all five of the rating radio buttons display a 5-star image.

I've checked my includes/templates/CUSTOM/images file and all five of the the stars_#.gif images (# being from 1-5) are present, accounted for, and the images are correct for the corresponding number of stars.

Here's a copy of my /images/stars_1.gif as an example:

The correct number of stars show up in admin>catalog.reviews corresponding to the correct rating (i.e., 4 stars, 5 stars, etc.)

View source shows the images being pointed to the correct images

<div id="reviewsWriteReviewsRate" class="center">Choose a ranking for this item. 1 star is the worst and 5 stars is the best.</div>

<div class="ratingRow">
<input type="radio" name="rating" value="1" id="rating-1" /><label class="" for="rating-1"><img src="includes/templates/CMcustomized/images/stars_1_small.gif" alt="One Star" title=" One Star " width="50" height="12" /></label> 
<input type="radio" name="rating" value="2" id="rating-2" /><label class="" for="rating-2"><img src="includes/templates/CMcustomized/images/stars_2_small.gif" alt="Two Stars" title=" Two Stars " width="50" height="12" /></label>
<input type="radio" name="rating" value="3" id="rating-3" /><label class="" for="rating-3"><img src="includes/templates/CMcustomized/images/stars_3_small.gif" alt="Three Stars" title=" Three Stars " width="50" height="12" /></label>
<input type="radio" name="rating" value="4" id="rating-4" /><label class="" for="rating-4"><img src="includes/templates/CMcustomized/images/stars_4_small.gif" alt="Four Stars" title=" Four Stars " width="50" height="12" /></label>
<input type="radio" name="rating" value="5" id="rating-5" /><label class="" for="rating-5"><img src="includes/templates/CMcustomized/images/stars_5_small.gif" alt="Five Stars" title=" Five Stars " width="50" height="12" /></label></div>

I also tried substituting a different random image for /images/stars_1.gif to see what happened and the product review page STILL displayed the same 5 star image:frusty:

I searched the forum for over two hours and couldn't find anything like this... the closest was a couple people with incorrect star.gif images whose problem was resolved once they uploaded the correct images.

Running Zen version 1.3.8a

Here's a link to the site
www.CraftMagick.com

I'm totally stumped!

www.ZenCrystals.com
www.CraftMagick.com
Magickal & Metaphysical supplies/services

31 Mar 2009, 9:44 AM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Review rating radio buttons are all 5 stars

You have just under 4,000 products on that site. Any chance of a clue as to which one has reviews?

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

31 Mar 2009, 4:14 PM
#3
craft_magick avatar

craft_magick

Zen Follower

Join Date:
Nov 2007
Posts:
166
Plugin Contributions:
0

Re: Review rating radio buttons are all 5 stars

kuroi:

You have just under 4,000 products on that site. Any chance of a clue as to which one has reviews?

Here's a link to a product with 5 stars
http://www.craftmagick.com/product_reviews/tarot-decks-wicca-witchcraft-pagan-decks-c-147_149_152/deviant-moon-tarot-deck-premier-edition-by-patrick-valenza-p-4740

and here's a link to a product with 4 stars
http://www.craftmagick.com/product_reviews/jewelry-pendants-c-84_86/owl-pentagram-pendant-p-674

www.ZenCrystals.com
www.CraftMagick.com
Magickal & Metaphysical supplies/services

3 Apr 2009, 4:06 PM
#4
craft_magick avatar

craft_magick

Zen Follower

Join Date:
Nov 2007
Posts:
166
Plugin Contributions:
0

Re: Review rating radio buttons are all 5 stars

Craft Magick:

On my product review page all five of the rating radio buttons display a 5-star image.

I've checked my includes/templates/CUSTOM/images file and all five of the the stars_#.gif images (# being from 1-5) are present, accounted for, and the images are correct for the corresponding number of stars.

Here's a copy of my /images/stars_1.gif as an example:

The correct number of stars show up in admin>catalog.reviews corresponding to the correct rating (i.e., 4 stars, 5 stars, etc.)

View source shows the images being pointed to the correct images

<div id="reviewsWriteReviewsRate" class="center">Choose a ranking for this item. 1 star is the worst and 5 stars is the best.</div> <div class="ratingRow"> <input type="radio" name="rating" value="1" id="rating-1" /><label class="" for="rating-1"><img src="includes/templates/CMcustomized/images/stars_1_small.gif" alt="One Star" title=" One Star " width="50" height="12" /></label> <input type="radio" name="rating" value="2" id="rating-2" /><label class="" for="rating-2"><img src="includes/templates/CMcustomized/images/stars_2_small.gif" alt="Two Stars" title=" Two Stars " width="50" height="12" /></label> <input type="radio" name="rating" value="3" id="rating-3" /><label class="" for="rating-3"><img src="includes/templates/CMcustomized/images/stars_3_small.gif" alt="Three Stars" title=" Three Stars " width="50" height="12" /></label> <input type="radio" name="rating" value="4" id="rating-4" /><label class="" for="rating-4"><img src="includes/templates/CMcustomized/images/stars_4_small.gif" alt="Four Stars" title=" Four Stars " width="50" height="12" /></label> <input type="radio" name="rating" value="5" id="rating-5" /><label class="" for="rating-5"><img src="includes/templates/CMcustomized/images/stars_5_small.gif" alt="Five Stars" title=" Five Stars " width="50" height="12" /></label></div> ``` > > I also tried substituting a different random image for /images/stars_1.gif to see what happened and the product review page STILL displayed the same 5 star image:frusty: > > I searched the forum for over two hours and couldn't find anything like this... the closest was a couple people with incorrect star.gif images whose problem was resolved once they uploaded the correct images. > > Running Zen version 1.3.8a > > Here's a link to the site > [www.CraftMagick.com](https://www.CraftMagick.com) > > I'm totally stumped!

Bumping this up in case anyone has a clue how I can fix the stars_.gif display on the product review page... anyone??

www.ZenCrystals.com
www.CraftMagick.com
Magickal & Metaphysical supplies/services

3 Apr 2009, 4:32 PM
#5
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Review rating radio buttons are all 5 stars

what you see seems to be normal ..
in your 4 star rating .. you have 5 start but one star with different colour that represent was never selected. hope i am making sense

if you look at the star gif in your image folder. you will notice that there are five version of those images and each displayed base on user review selection . all five are same just star colours are different ..

you can create your own rating stars the way you want .. name them same as zencart stars , and override them ..

3 Apr 2009, 5:41 PM
#6
craft_magick avatar

craft_magick

Zen Follower

Join Date:
Nov 2007
Posts:
166
Plugin Contributions:
0

Re: Review rating radio buttons are all 5 stars

tony_sar:

what you see seems to be normal ..
in your 4 star rating .. you have 5 start but one star with different colour that represent was never selected. hope i am making sense

if you look at the star gif in your image folder. you will notice that there are five version of those images and each displayed base on user review selection . all five are same just star colours are different ..

you can create your own rating stars the way you want .. name them same as zencart stars , and override them ..

Thank you, tony. I created new star gif images and they work perfect! Apparently it was the transparency of the stock zencart images that was making them all appear to show 5 stars...

thanks again for your help

zencart ROCKS :clap:

www.ZenCrystals.com
www.CraftMagick.com
Magickal & Metaphysical supplies/services