Specify which NFT template to mint from during checkout (for Managed collections only)
When minting NFTs from a collection with multiple templates, you can specify which template to mint to using your Crossmint integration. This feature must be explicitly enabled in the Crossmint Console.
This gives you control over exactly which template gets minted when processing a purchase, rather than relying on random template selection.
Template minting is supported for Managed EVM collections only:
Template minting is not available for:
Follow these steps in the Crossmint Console to enable template-specific minting:
If template-specific minting is disabled for your collection and you pass a template ID in the collection locator, the request will fail with an error. Make sure to enable this feature in the Console before using template IDs.
To see all your available templates, navigate to the “NFTs” section in the Console for your managed collection.
You can also get all your available templates for a collection using the NFT Template API.
Once enabled, specify which template to mint by adding the template ID to your collection locator. The collection locator format without templateId is:
and with templateId is:
The templateId
portion is optional with mint to specific template enabled. If omitted, the system will use your collection’s default minting behavior.
Here’s how to implement template minting in your integration:
Add the template ID to your collection locator string:
Add the template ID to your collection locator string:
Add the template ID to your collection locator string when creating an order:
When implementing template minting, handle these potential error cases:
Template Minting Disabled
Invalid Template ID
No Code Storefront
Here’s how to handle these errors in your code:
Specify which NFT template to mint from during checkout (for Managed collections only)
When minting NFTs from a collection with multiple templates, you can specify which template to mint to using your Crossmint integration. This feature must be explicitly enabled in the Crossmint Console.
This gives you control over exactly which template gets minted when processing a purchase, rather than relying on random template selection.
Template minting is supported for Managed EVM collections only:
Template minting is not available for:
Follow these steps in the Crossmint Console to enable template-specific minting:
If template-specific minting is disabled for your collection and you pass a template ID in the collection locator, the request will fail with an error. Make sure to enable this feature in the Console before using template IDs.
To see all your available templates, navigate to the “NFTs” section in the Console for your managed collection.
You can also get all your available templates for a collection using the NFT Template API.
Once enabled, specify which template to mint by adding the template ID to your collection locator. The collection locator format without templateId is:
and with templateId is:
The templateId
portion is optional with mint to specific template enabled. If omitted, the system will use your collection’s default minting behavior.
Here’s how to implement template minting in your integration:
Add the template ID to your collection locator string:
Add the template ID to your collection locator string:
Add the template ID to your collection locator string when creating an order:
When implementing template minting, handle these potential error cases:
Template Minting Disabled
Invalid Template ID
No Code Storefront
Here’s how to handle these errors in your code: