Using FECL

FECLFECL - Stands for Frontastic Entity Criterion Language. It's a way to create specific pages that will be shown to customers if that page meets the criteria given. stands for Frontastic Entity Criterion Language. It's a way to create specific pages that will be shown to customers if that page meets the criteria given.

For example, you can create a Product Details Page (PDP) that will only show if a product is from a certain category.

❗️

Using FECLFECL - Stands for Frontastic Entity Criterion Language. It's a way to create specific pages that will be shown to customers if that page meets the criteria given. is still experimental so use at your own risk. There's no error handling so you'll need to check your live sites to know that it's working as expected

As FECLFECL - Stands for Frontastic Entity Criterion Language. It's a way to create specific pages that will be shown to customers if that page meets the criteria given. is an experimental feature, it's not automatically enabled for all projects. If you'd like to have it enabled for your project, contact our Support team using the Submit a ticket button at the top of the page.

FECL on dynamic pages

Within Dynamic pages in the Frontastic studioFrontastic studio - The interface you use to manage, build, and edit all areas of your project and commerce sites. Previously known as `backstage`., you can set up rules for certain dynamic page types (Product Details Pages, Category pages, and Content pages).

If you see the below in the Dynamic page rules header, then you add a version with FECLFECL - Stands for Frontastic Entity Criterion Language. It's a way to create specific pages that will be shown to customers if that page meets the criteria given..

You can add a rule-based page for a single product/content/category:

Or select Entity Criterion to input rules based on products/categories/content that fit that ruleset:

Some examples could be:

  • price > 500 and label = "sale"
  • type = "makeup"
  • in_array("<category-id>", attributes)
  • categoriescontain(categories, "<category-id>")
  • contentTypeId = "Partner"

FECL on locales

You can also use the FECLFECL - Stands for Frontastic Entity Criterion Language. It's a way to create specific pages that will be shown to customers if that page meets the criteria given. criteria to schedule different page versions to be live at the same time.

Say you have 1 project and within that project, you have multiple locales. You don't always want the same page version live for each locale. So you can set up a different page version and input a criterion so it displays 2 different live versions.

See the scheduling page versions for different locales article for more information.


Did this page help you?