Home Forums WC Vendors Pro Support Template for Single Product page?

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.

https://docs.wcvendors.com/

Thank you to all of our customers!

 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #26884
    Mark
    Participant

    Is there a template for the Single Product Page? Perhaps a WooCommerce template?

    #26887
    WC Vendors Support
    Participant
    #27032
    Mark
    Participant

    Which template would I modify if I wanted to display the star rating under the price of each product on my shop/catalog page?

    #27045
    WC Vendors Support
    Participant

    Hi Mark,

    WE don’t have any functions for that yet. Would you want the star rating to be for feedback on that particular product? Or the vendors feedback rating total for all products? You should be aware that the database would be heavily impacted from calculating this on the fly in a shop loop, it’s a lot of queries to generate each time.

    Ben

    #27050
    Mark
    Participant

    Would you want the star rating to be for feedback on that particular product? Or the vendors feedback rating total for all products?

    Im good with either option, but sounds like its not possible at this time

    #27051
    WC Vendors Support
    Participant

    It’d be possible, you’d just have to run through the entire database table and run a calculation to combine all the scores and divide by the number of ratings to give each star rating. And then if you have 50 products on one page, it’d have to do that times 50. You might add 300-400 database queries per page load, which would be a substantial performance impact.

    I’ll add this to our features list to investigate, I think it’s a great idea to do, so we’ll see if there’s a better way to do it to accommodate this in a future release. 🙂

    Cheers

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.