WordPress.org

Ready to get started?Download WordPress

Forums

FoxyShop
[resolved] Add star ratings (product reviews) (4 posts)

  1. c-m
    Member
    Posted 1 year ago #

    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.

    http://www.argos.co.uk/static/Product/partNumber/4067702.htm

    Is this currently possible with Foxyshop?

    http://wordpress.org/extend/plugins/foxyshop/

  2. sparkweb
    Member
    Plugin Author

    Posted 1 year ago #

    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?

  3. c-m
    Member
    Posted 1 year ago #

    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.

  4. sparkweb
    Member
    Plugin Author

    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic