Sale price
€0,00
Regular price
€1.000,00
As a store administrator, I want fields in existing product variants to be automatically updated to default values if empty or overridden to expected values, so that I don’t have to manually check and adjust fields.
- All fields in the product entry form have predefined default values configured in the system.
- When a field is left blank during product entry, the system automatically applies the default value for that field upon submission.
- Default values are relevant and appropriate to the field type (e.g., "N/A" for text fields, 0 for numeric fields, or a standard category for dropdowns).
- Users can override default values by manually entering data before submission.
- The system saves the product entry with default values for unfilled fields without requiring user confirmation.
- Default values are consistently applied across all product entries for the same field types.
- The form submission time is not significantly delayed by the auto-fill process (less than 1 second).
--------
Implemented n8n workflow that automatically adjust variants:
- Fields like taxable, inventoryItem.tracked, requiresShipping default to false; compareAtPrice to "1000.00" if empty or "0.00"; work_item_state metafield to "Start" if empty; productType to "Work item" if empty.
- Workflow fetches paginated variants, checks conditions via Switch with all matching outputs for parallel routing, applies updates via GraphQL mutations only if needed.
- Defaults are appropriate (boolean false for flags, specific values for prices/metafields/types).