Settings
Shipping country
Languages
Your wishlist is empty.
You do not have any products in your shopping cart yet.

BX Mailtext

BX Coding
BX Mailtext
BX Mailtext
BX Mailtext
BX Mailtext
BX Mailtext
BX Mailtext
BX Mailtext
BX Mailtext
BX Mailtext
BX Mailtext

BX Mailtext is an admin module for modified eCommerce for the central management of email templates.

It allows you to edit plain text and HTML templates, test them via test emails, and manage placeholders.

The module works on a file basis with the template files under the active shop template and also uses its own database tables for metadata, placeholders and whitelist entries.

Bestand:
Product no.: BX2026-002
Manufacturer: BX Coding
71,40 EUR
19 % VAT incl. excl. Shipping costs
Downloads
Add to cart
  • Products description
Products description

BX Mailtext

Status: 2026-03-05

Overview

BX Mailtext is an admin module for modified eCommerce to centrally manage email templates.

It edits plain text and HTML templates file-based inside the active shop template and uses dedicated database tables for template metadata, placeholders, and whitelist entries.

Core components:

  • Admin controller with action routing (admin/bx_mailtext.php)
  • Service/helper functions (admin/includes/extra/functions/bx_mailtext.php)
  • System module for install/update/remove (admin/includes/modules/system/bx_mailtext.php)

Current Feature Set

  • Template editor for frontend/backend mails (TXT + HTML)
  • Language switch for editing
  • Test mail sending (TXT/HTML)
  • Placeholder panel with drag and drop into textarea/CKEditor
  • Backup management (create, restore, delete)
  • Audit (database vs filesystem) including CSV export
  • Action to create missing database entries from existing template files
  • Action to sync missing placeholders from template files into the database
  • Demodata management per template
  • AJAX modal for demodata (create/edit/delete)
  • Auto generation of missing demodata on new database entries

Installation and Configuration

System module file:

  • admin/includes/modules/system/bx_mailtext.php

The install process automatically:

  1. Creates/sets admin permission admin_access.bx_mailtext
  2. Creates a configuration group
  3. Creates configuration keys
  4. Creates the module tables
  5. Seeds default mail types, placeholders, and whitelist records

Relevant configuration keys:

  • MODULE_BX_MAILTEXT_STATUS
  • MODULE_BX_MAILTEXT_VERSION
  • MODULE_BX_MAILTEXT_CONFIG_ID

Module version (from code): 2.0.0

Database Tables

Table constants in includes/extra/database_tables/bx_mailtext.php:

  • TABLE_BX_MAILTEXT_MAILS => mailtext_mails
  • TABLE_BX_MAILTEXT_PLACEHOLDERS => mailtext_placeholders
  • TABLE_BX_MAILTEXT_WHITELIST => mailtext_whitelist

Purpose:

  • mailtext_mails: mail types including mailid, systemposition, and display name
  • mailtext_placeholders: placeholders per template (FK to mailtext_mails)
  • mailtext_whitelist: script/path whitelist for mail mapping

File Structure

Routing, Bootstrap, and Integrations

  • admin/includes/extra/filenames/bx_mailtext.php
  • admin/includes/extra/menu/bx_mailtext.php
  • includes/extra/database_tables/bx_mailtext.php
  • includes/extra/wysiwyg/bx_mailtext.php

Module Logic and UI

  • admin/bx_mailtext.php
  • admin/includes/extra/functions/bx_mailtext.php
  • admin/includes/extra/javascript/bx_mailtext.php
  • admin/includes/extra/css/bx_mailtext.php
  • admin/includes/modules/bx_mailtext/list.php
  • admin/includes/modules/bx_mailtext/editor.php
  • admin/includes/modules/bx_mailtext/backups.php
  • admin/includes/modules/bx_mailtext/audit.php
  • admin/includes/modules/bx_mailtext/demodata/
  • admin/includes/modules/bx_mailtext/backups/

Language Files

  • lang/german/modules/system/bx_mailtext.php
  • lang/german/extra/admin/bx_mailtext.php
  • lang/english/modules/system/bx_mailtext.php
  • lang/english/extra/admin/bx_mailtext.php

Admin Assets

  • admin/images/icons/heading/bx_mailtext.png
  • admin/images/supermailer/mailtext.jpg

Relevant Controller Actions

Key actions in admin/bx_mailtext.php:

  • mv_mailtext_audit
  • mv_mailtext_audit_export_csv
  • mv_mailtext_create_db_entry
  • mv_mailtext_sync_placeholders
  • mv_mailtext_backup_list
  • mv_mailtext_build_backup
  • mv_mailtext_restore_backup
  • mv_mailtext_delete_backup
  • mv_change_language
  • mv_demodata_modal (HTML response)
  • mv_demodata_save (JSON response)
  • mv_demodata_delete (JSON response)
  • send_test_mail
  • mv_update

Template Paths

Storage paths by language and position:

  • Frontend: templates//mail//
  • Backend: templates//admin/mail//

File pair per mail ID:

  • .txt
  • .html

Note: Missing files are created automatically during loading (including directory creation).

Audit and Consistency Check

The audit evaluates:

  1. Database entries with missing template files
  2. Files without a database entry (orphans)
  3. Complete templates without matching placeholder entries

Additional functions:

  • Summary metrics
  • CSV export (mailtemplate_audit_YYYYMMDD_HHMMSS.csv)
  • Create database entry from file findings
  • Synchronize placeholders from files into the database

Placeholders and Demodata

Recognized placeholder formats:

  • Smarty: {$variable} and {$object.property}
  • Token: [SIGNATUR]

Demodata files:

  • Location: admin/includes/modules/bx_mailtext/demodata/
  • Naming convention: mv_demodata__.php

Behavior:

  • Missing demodata can be generated automatically for new database entries
  • Demodata can be edited/saved/deleted in an admin modal
  • Test mail rendering uses demodata files for placeholder values

Operations and Maintenance Notes

  • The module is legacy-compatible and uses xtc_db_* and direct SQL.
  • Write permissions are required.
  • Affected paths: templates//...
  • Affected paths: admin/includes/modules/bx_mailtext/backups/
  • Affected paths: admin/includes/modules/bx_mailtext/demodata/
  • The module CSS includes Font Awesome via CDN (cdnjs.cloudflare.com).
  • After adding new templates, an audit run is recommended to keep DB/files/placeholders consistent.

Summary

BX Mailtext 2.0.0 provides a complete admin workflow for email templates in modified: editing, test sending, placeholder management, backups, audit, and demodata management in one module.

This Product was added to our catalogue on 02/03/2026.
Last viewed:
 
Bestand:
71,40 EUR
19 % VAT incl. excl. Shipping costs
Subscribe to our newsletter
Free exclusive offers and new products by email
Our newsletter is free of charge and can be canceled at any time here or in your customer account.