etechflow / module-meta-templates

etechflow/module-meta-templates

Rule-based meta title/description/keywords templates with variables for Magento 2.

magento2-module Compatibility: Not yet tested Code Quality: Pending Tests: N/A Security: Pending proprietary
Viewing version 1.0.0. Latest version is 1.0.6. Switch to latest

Etechflow_MetaTemplates

Rule-based meta title / meta description / meta keywords templates for Magento 2, with {{variable}} placeholders resolved per page at render time. Part of the Etechflow SEO Suite.

Define a rule once (e.g. {{product.name}} | Buy at {{store.name}}) and it applies across every matching product, category, or CMS page — no per-product editing.

Features

  • Template rules for product, category, and cms_page pages.
  • {{object.attribute}} variables with optional fallback: {{product.brand|Genuine Part}}.
  • Any attribute is available — {{product.color}}, {{product.<any_code>}}, dropdown labels resolved automatically.
  • Scoping: per store view + optional "limit to category ID" for product rules.
  • Priority: highest-priority matching rule wins.
  • Two modes: Fill empty (never overwrites meta a product/category already has) or Override (always applies).
  • Title-safe: applies the title via an afterGet plugin so it wins even when another extension also sets it.
  • Admin grid + add/edit form under Marketing → Meta Templates. Master switch + mode under Stores → Configuration → Etechflow → Meta Templates.

Variables

Object Variables
Product {{product.name}}, {{product.sku}}, {{product.price}}, {{product.category}} (deepest), {{product.<attribute_code>}}
Category {{category.name}}, {{category.description}}, {{category.<attribute_code>}}
CMS {{cms.title}}
Store {{store.name}}, {{store.url}}

Fallback syntax: {{variable|fallback text}} — used when the variable resolves to empty.

Install

composer require etechflow/module-meta-templates
bin/magento module:enable Etechflow_MetaTemplates
bin/magento setup:upgrade
bin/magento setup:di:compile      # production mode

Configure

  1. Stores → Configuration → Etechflow → Meta Templates — set Enable = Yes and choose Apply mode.
  2. Marketing → Meta TemplatesAdd New Template: name, applies-to, store view, optional category limit, priority, and the meta title / description / keywords templates.

How it works

  • A frontend plugin on Magento\Framework\View\Result\Page::renderResult resolves the matching rule for the current page and sets the description + keywords via PageConfig.
  • A second plugin on Magento\Framework\View\Page\Title::get returns the templated title at read time, so it is authoritative.
  • Service/VariableProcessor performs the {{...}} substitution; Service/MetaResolver picks the matching rule (type + store + category + priority) and honours the fill-empty / override mode.

License

Proprietary — © eTechFlow.

Changelog

All notable changes to this module are documented here.

v1.0.0 — 2026-06-05

Initial public release.

Rule-based meta title/description/keywords templates with {{variable}} placeholders. Admin rule grid with conditions, per-store-view, dry-run preview.

Versions
Version Stability QA Status Compatibility Released
1.0.6 stable Fail Magento 2.4.7-2.4.8 Details 2026-06-15 10:46:52
1.0.5 stable Not tested Not yet tested Details 2026-06-15 09:28:32
1.0.4 stable Not tested Not yet tested Details 2026-06-12 11:39:48
1.0.3 stable Not tested Not yet tested Details 2026-06-12 10:15:22
1.0.2 stable Not tested Not yet tested Details 2026-06-12 09:10:16
1.0.1 stable Not tested Not yet tested Details 2026-06-11 13:45:40
1.0.0 stable Not tested Not yet tested Details 2026-06-05 10:28:20

Requires 6

Package Constraint
magento/framework >=103.0
magento/module-backend >=102.0
magento/module-catalog >=104.0
magento/module-cms >=104.0
magento/module-store >=101.0
php ~8.1.0||~8.2.0||~8.3.0||~8.4.0

No QA results yet

QA pipelines haven't run for this version. Compatibility and quality results appear here once the vendor publishes a tagged release that gets ingested.

License
proprietary

More from etechflow

View vendor
Make it pay

Turn an existing module into recurring revenue.

If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.