Product Variant Level Metafields
1. Preorder Count Metafield
Configuration
Key:
preorder_count
Type:
number_integer
Namespace:
restockrocket_production
Owner: Product Variant
Purpose
Tracks the current number of preorders for a specific variant
Used for inventory management and display
Automatically updated when orders are processed
Accessing in Liquid
2. Preorder Max Count Metafield
Configuration
Key:
preorder_max_count
Type:
number_integer
Namespace:
restockrocket_production
Owner: Product Variant
Purpose
Sets the maximum number of preorders allowed for a variant
Controls inventory policy switching
Triggers blocking orders when count reaches max
Accessing in Liquid
Example Usage: Preorder Count and Max count
Accessing via GraphQL
Last updated