- Review the group conditions—does the product actually match them?
- Check if there’s a more specific group the product should belong to
- Consider revising group structure or conditions
- If needed, manually override the primary group for this product
Why Primary Taxonomy Matters
Context for AI Generation
The primary collection/group provides essential context for the AI: Example: A “Dress”- Primary Collection: “Formal Evening Wear” → AI generates elegant, sophisticated content about special occasions
- Primary Collection: “Casual Summer Dresses” → AI generates relaxed, everyday content about comfort and versatility
Prompt Customization
Prompts can be customized per collection/group:- Set a base prompt for all products
- Override with collection-specific prompts (e.g., luxury vs. budget tone)
- Cernel automatically uses the most specific prompt available
Primary Collection
How Primary Collections Are Set
Primary collections are typically set by your e-commerce platform:1
Platform Assignment
When you categorize a product in Shopify (or your platform), you assign it to one or more collections
2
Primary Collection Import
Cernel imports the main collection as the primary collection during sync
3
Manual Override (if needed)
If the imported primary collection is incorrect, you can manually change it in Cernel
Multiple Collections vs. Primary
A product can belong to multiple collections, but only one is primary: Example:- Most specific to the product’s purpose
- Provides clear context for tone and styling
- Not temporary (unlike “Sale Items”)
Changing Primary Collection
1
Open Product
Navigate to the product detail view
2
Go to Collections Tab
View all collections the product belongs to
3
Set Primary
Click “Set as Primary” next to the most appropriate collection
4
Save
Changes take effect immediately for future enrichments
Changing primary collection doesn’t retroactively change already-enriched content. It only affects future enrichments for this product.
Primary Group
How Primary Groups Are Selected
Unlike primary collections (manually set), primary groups are automatically selected by Cernel using intelligent heuristics.Selection Algorithm
Cernel evaluates all groups a product belongs to and selects the primary based on:1
1. Specificity
More specific groups are preferred over general onesExample:
- “Men’s Formal Dress Shirts” (specific) ✅
- “Shirts” (general) ❌
2
2. Hierarchy Depth
Deeper nodes in the group tree are more specificExample Tree:
3
3. Condition Complexity
Groups with more conditions are more specificGroup A (simple):
category = "Shirts"
Group B (complex): category = "Shirts" AND material = "Cotton" AND fit = "Slim" ✅Group B is more specific.4
4. Alphabetical (tie-breaker)
If multiple groups are equally specific, alphabetical order breaks the tie
Example Primary Group Selection
Product: Navy Cotton Dress Shirt Group Memberships:- “All Products” (root)
- “Men’s Clothing” (category = “Men’s”)
- “Shirts” (type = “Shirt”)
- “Dress Shirts” (category = “Men’s” AND type = “Shirt” AND style = “Dress”)
- “Blue Apparel” (color contains “Blue” or “Navy”)
- Winner: “Dress Shirts” (depth 3, multiple conditions)
- Runner-up: “Blue Apparel” (depth 2, but less relevant to product purpose)
Viewing Primary Group
1
Open Product
Navigate to product detail view
2
Check Header or Sidebar
The primary group is displayed prominently (often with a badge or special indicator)
3
View All Groups
See all groups the product belongs to and which one is marked as primary
Manual Override (if needed)
While primary groups are auto-selected, you can override if needed:1
Open Product
Go to product detail view
2
View Groups
See all groups the product belongs to
3
Set Primary
Click “Set as Primary” next to a different group
4
Save
Manual override is saved and used for future enrichments
Manual overrides are rare. The automatic selection algorithm works well for most cases. Only override if the auto-selected primary clearly doesn’t make sense.
Primary Taxonomy Best Practices
Ensure All Products Have Primary Collection
Ensure All Products Have Primary Collection
Before enriching, verify all products have a primary collection assigned. Products without one will fail enrichment.Check: Run a filter for products without primary collections and fix before bulk operations.
Choose Specific Over General
Choose Specific Over General
“Evening Gowns” is better than “Dresses” for a formal dress.
“Running Shoes” is better than “Footwear” for athletic shoes.The more specific, the better the AI context.
Avoid Temporary Classifications
Avoid Temporary Classifications
Don’t use “Sale Items” or “New Arrivals” as primary collections—these change over time.Use permanent classifications like product type, style, or use case.
Review Auto-Selected Primary Groups
Review Auto-Selected Primary Groups
Spot-check auto-selected primary groups for a sample of products. If the algorithm consistently gets it wrong for a category, you may need to adjust your group structure or conditions.
Use Consistent Taxonomy Depth
Use Consistent Taxonomy Depth
If one product category has 5 levels of hierarchy and another has only 2, the deeper one will always be considered more specific—even if it’s not.Aim for consistent depth across your taxonomy.
Align Collection and Group Structures
Align Collection and Group Structures
While collections and groups serve different purposes, aligning their structure reduces confusion.Example:
- Collection hierarchy: Clothing > Men’s > Shirts
- Group hierarchy: All Products > Men’s > Shirts
Troubleshooting Primary Taxonomy
Product Can't Be Enriched - No Primary Collection
Product Can't Be Enriched - No Primary Collection
Error: “Product must have primary collection before enrichment”Solution:
- Open the product in Cernel
- Go to Collections tab
- Assign the product to at least one collection
- Set one as primary
- Retry enrichment
Wrong Primary Collection Selected
Wrong Primary Collection Selected
Issue: Product has correct collections but wrong one is marked primary.Solution:
- Open product > Collections tab
- Click “Set as Primary” on the correct collection
- Future enrichments will use the corrected primary collection
- Optionally re-enrich the product to regenerate content with proper context
Primary Group Doesn't Make Sense
Primary Group Doesn't Make Sense
Issue: Auto-selected primary group seems illogical.Solution:
Primary Keeps Changing
Primary Keeps Changing
Issue: Primary group changes unexpectedly when product attributes update.Solution:
This is expected behavior—primary groups are dynamic and recalculate when:
- Product attributes change
- Group conditions are modified
- New groups are created
Impact on Content Quality
Good Primary Taxonomy → High-Quality Content
Example: Yoga MatPoor Primary Taxonomy → Low-Quality Content
Example: Same Yoga MatAdvanced: Multi-Level Primary Taxonomy
For complex catalogs, consider primary taxonomy at multiple levels: Level 1: Primary Collection (What it is)- Example: “Dress Shirts”
- Example: “Formal Wear”
- Example: “Summer Collection”
What’s Next?
Collections & Groups
Learn about taxonomy structures
Attribute Prompts
Customize prompts per collection
Managing Taxonomies
Best practices guide
Product Enrichment
Enrich products with proper taxonomy
Next: Explore Integrations to connect your e-commerce platforms to Cernel.
