Knowledge Base

Knowledge base

Explore How-To's and learn best practices from our knowledge base.

Add judge.me star rating to WooCommerce product widget

Modified on: Thu, 30 May, 2019 at 11:44 PM


Add judge.me star rating to WooCommerce product widget

Unfortunately we cannot automatically add the star rating to the product widget.

You must edit the widget product theme file (in folder [yourtheme]/woocommerce/content-widget-product.php, if there is no file please copy it over from the woocommerce plugin/templates folder, the full user guide is at https://docs.woocommerce.com/document/template-structure/ )

and add the following code under the product title to show the judgeme badge:

<?php echo do_shortcode('[jgm-preview-badge]');?>

And also remove the part of native woocmmerce rating if needed.



Did you find it helpful? Yes No Still have questions? Talk to us here

Can you please tell us how we can improve this article?

More articles in Woocommerce