Start a new topic

How do you add the preview badge to cart page on each line item?

{% render 'judgeme_widgets', widget_type: 'judgeme_preview_badge', jm_style: '', concierge_install: false, product: product %}


Doesn't seem to work


Hello.


Changing the product identification as Rey suggest may work depending on the theme or the template.


But if you have any issue just let us know at support@judge.me where's that you want to install the code and we'll have a look.


Best

Hello Lee,


Try to change product: product to product: item.product 


{% render 'judgeme_widgets', widget_type: 'judgeme_preview_badge', jm_style: '', concierge_install: false, product: item.product %} 


Thanks

Hello Lee,


The code you're using above is to add Preview badge (star-rating). 


By default, we hide this badge if product has no review. If you want to show the badge even if product has no reviews, then you can change it in setting here:  https://judge.me/settings?jump_to=preview+badge+settings 


In case your products already has reviews but the badge don't show, please send me your shop domain and the page that you added the code. I then can check and fix it for you or advise you further.


Best,

Kien Tran

Login or Signup to post a comment