← Back to Changelog

AI Assistant for Calculated Attributes

We’ve introduced an AI-powered assistant for Calculated Attributes, making it dramatically easier to create, understand, and maintain advanced catalog logic—without writing JSONLogic by hand.

What’s new

Generate Calculated Attributes with AI You can now describe what you want in plain English, and Layers will generate a validated JSONLogic formula automatically.

Examples:

  • “Calculate discount percentage from compare_at_price to price”
  • “Count the total number of variants”
  • “Calculate days since published”

The AI:

  • Understands your store’s actual schema (attributes, metafields, variants, tags)
  • Generates syntactically correct JSONLogic

Learn More

FeatureCatalogAI AssistantCalculated Attributes