Certificate metafields
Certificate Metafields
When a valuation generates a certificate, we write the certificate URL back onto the matching Shopify product as a metafield. You can then surface it on the storefront.
What we write
Namespace jewel_value, key certificate, type url, value the public certificate URL. We also write jewel_value.certificate_generated_at (datetime).
Showing on the product page
In your theme:
{% if product.metafields.jewel_value.certificate %}
<a href="{{ product.metafields.jewel_value.certificate }}" target="_blank">
Download Valuation Certificate
</a>
{% endif %}
Variant-level certificates
For products with size variants where each variant has its own valuation, we write metafields per variant rather than per product. The Liquid above becomes variant.metafields.jewel_value.certificate.
Customer notifications
If you've enabled the Email certificate to customer option, the certificate is also sent in the order confirmation email and the standard Shopify customer-account view.
Disabling
If you don't want metafields written, switch off Sync to product metafields in Settings > Integrations > Shopify. Existing metafields are not removed; new valuations stop writing them.