Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author sparkweb

    (@sparkweb)

    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?

    Thread Starter c-m

    (@c-m)

    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.

    Plugin Author sparkweb

    (@sparkweb)

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: FoxyShop] Add star ratings (product reviews)’ is closed to new replies.