[Resolved] [Plugin: FoxyShop] Add star ratings (product reviews)
I would like to add the ability to customers rate products using one of the currently available wordpress plugins such as http://wordpress.org/extend/plugins/gd-star-rating/
My desire to have a system in place like the page below, that shows a rating for the product based on customer reviews.
Is this currently possible with Foxyshop?
You can certainly install GD star rating and should be able to integrate it with FoxyShop products. I don’t understand much about the GD plugin, but it should certainly be possible. Have you tried to use it yet?
I’m using post ratings by digital nature.
Seems to be working well.
Just a few issues:
1) Try as I might I couldn’t get ratings to appear beneath the product pictures on single product pages. This where I also wanted to move the price, options and the buy button.
2) The text-indent of the stars is just -500px. Despite me setting it up in my child theme as -9999px. It seems the plugin is over riding my style sheet.
Not really Foxyshop issues though.
Right, not FoxyShop issues, but here’s my thoughts on general WP practices:
In general, I’d say it’s better to see if a plugin will let you do a template tag that you can place where you want instead of just placing at the end of the the_content() function via hook. Most plugins do it automatically so it is nice and easy and automatic, but it’s always better to have more control. The good plugins are flexible and let you do it either way. If that fails, you might consider moving it with jQuery after the page loads. A little bit of a hack, but would work.
RE the styling, what often happens is that your style.css file gets loaded first and then the wp_header() gets loaded later with the plugins JS and CSS. If they both have the same context (.container .element) then the latest one gets used. In this case the plugin. The solutions are to move your style.css file after the wp_header(); call OR to increase your context so the style.css gets priority (body .container .element). You could also add !important to your text indent, but this is not ideal.
- The topic ‘[Resolved] [Plugin: FoxyShop] Add star ratings (product reviews)’ is closed to new replies.