Judgeme implementation
Steps to implement Judgeme in your app
Enable Judgeme extension in appmaker dashboard
On the extension settings page enter Judgeme public token and your shop name eg:
storename.myshopify.com
On the shopify side, make sure to make these two meta fields public.
Namespace Key reviews rating_count reviews rating If you are using a custom theme, you can retrieve the product rating details from the hooks like
useProductListItem
anduseProductDetail
.To show reviews, you can use the webview with url
https://app-static-pages.appmaker.xyz/shopify/judge-me/review-detail?shop=mystore.myshopify.com&public_token=token&product_id=product_id&product_title=product_title
To show review in a page of blocks you can add below block to show a button to open review webview.
{
name: 'appmaker/actionbar',
attributes: {
title: 'Review',
rightIcon: 'plus',
containerStyle: {
borderRadius: 0,
paddingHorizontal: 10,
},
appmakerAction: {
action: 'OPEN_WEBVIEW',
params: {
url: 'https://app-static-pages.appmaker.xyz/shopify/judge-me/review-detail?shop=mystore.myshopify.com&public_token=token&product_id=product_id&product_title=product_title',
},
},
},
},NoteTo show reviews natively, refer to the judgeme native implementation