GraFx Publisher Connector - Advanced Renderer
Introduction
The "advanced renderer"-extension for the CHILIconnector is an optional, free enhancement of the GraFxPublisher Connector. It supports the additional, more flexible renderer functionalities. It adds support for image- and html-output. By default the GraFxPublisher Connector supports "only" one highres- and one lowres/preview renderer settings.
Module
Extension-Name: enobis/module-chili-advanced-renderer
Latest Version: 1.3.8
Features
Multiple Renderer Settings
Create as many different renderer settings as you need. Display renderer links at different display areas in the storefront and backend. Supported areas are:
- storefront - editor page
- storefront - my orders
- storefront - order emails
- storefront - digital output
- backend - orders
These settings can be configured in the system configuration and at product level too. E.g. You can now create a Lowres- and Preview-setting for the storefront and build one highres- and proof-settings for the order backend.
Support for Image and HTML output
The "advanced renderer"-extension supports the image- and html-rendering features of the CHILIpublisher. To configure advanced renderer settings you need to define:
PDF-renderer settings
- Label: User friendly label (label for display area)
- Chili Renderer: PDF renderer settings from CHILIpublisher
- Display Area: Area where the renderer link should be available (storefront-my orders, storefront-emails, storefront-my digital output ("my documents"-extentsion needed), backend-orders)
HTML-renderer settings
- User friendly label (label for display area)
- Chili Renderer: HTML renderer settings from CHILIpublisher
- Block Id: Block Id from Magento - This is optional. If not filled, a standard HTML export archive is generated. Alternatively, if a Magento BlockId is specified as base template, the Magento Block Template can be populated with the variables from the Chili Document and with rendered Html Layer fragments from the Chili Html export. The syntax for these block placeholders is
#chili_variable_VARNAME#, #chili_layer_LAYERNAME# and #base_url#.
If the BlockID is specified, the images, fonts, and css files of the HTML export are published in a dedicated public folder below the Magento Pub/Media directory. The url of this directory is available in the #base_url# variable.
- Display Area: Area where the renderer link should be available (storefront-my orders, storefront-my digital output ("my documents"-extentsion needed))
Image-renderer settings
- Label: User friendly label (label for display area)
- Image Renderer: Image conversion profile from CHILIpublisher
- Chili Renderer: PDF renderer settings from CHILIpublisher
- Display Area: Area where the renderer link should be available (storefront-my orders, storefront-emails, storefront-my digital output ("my documents"-extentsion needed), backend-orders)
The image output will downloaded in the defined image-format. If multiple images are rendered, a zip-file with all images will be provided for download.
Configuration
Chili Advanced Renderer
(Stores->Configuration->Chili->Chili Advanced Renderer)
| Option | Type | Description | Scope |
|---|---|---|---|
| Advanced Settings | Yes, No(Default) | Default Behaviour of Advanced Renderer (Will be overwritten by product configuration) | System->StoreviewProduct->Storeview |
| Pdf Renderer Settings | MultiControl | Label: Label for Renderer in Display area, CHILI renderer: PDF-Renderer Setting from Chili Server, display area: order frontend (incl. order confirmation email), order backend, digital output (optional mydocuments-extension necessary) | System->StoreviewProduct->Storeview |
| Image Renderer Settings | MultiControl | Configuration includes Label: Label for Renderer in Display area, Image Renderer: Image Conversion Profile Setting from Chili Server, CHILI renderer: PDF-Renderer Setting from Chili server, Display area: order frontend (incl. order confirmation email), order backend, digital output (optional mydocuments-extension necessary) Important: For image rendering a separate image conversion profile is necessary! | System->StoreviewProduct->Storeview |
| HTML Renderer Settings | MultiControl | Configuration includes Label: Label for Renderer in Display area, Image Renderer: Image Conversion Profile Setting from Chili Server, CHILI renderer: PDF-Renderer Setting from Chili server, Display area: order frontend (incl. order confirmation email), order backend, digital output (optional mydocuments-extension necessary) Important: For html rendering it's possible to use internal magento blocks for an advanced html-rendering! The Block Id column is optional. If not filled, a standard HTML export archive is generated. Alternatively, if a Magento BlockId is specified as base template, the Magento Block Template can be populated with the variables from the Chili Document and with rendered Html Layer fragments from the Chili Html export. The syntax for these block placeholders is bash #chili_variable_VARNAME#, #chili_layer_LAYERNAME# and #base_url#. If the BlockID is specified, the images, fonts, and css files of the HTML export are published in a dedicated public folder below the Magento Pub/Media directory. The url of this directory is available in the #base_url# variable. |
System->StoreviewProduct->Storeview |
Prerequisites
Our extensions are not available via the magento-marketplace or packagist.org! The extensions are only available via a (private) repository!
In order to get access, a valid license-agreement is required!
If you have no access to our repositories, please contact us!
Installation
Magento2.x and composer
To install the extension use composer via ssh:
composer require enobis/module-xxx
Afterwards you have to update your Magento2.x installation by
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento cache:clean
php bin/magento indexer:reindex
Support
If you need help using the extension, please get in touch with us by sending an email to support@enobis.de.
Changelog
1.5.2 (2026-09-30)
-
2026-09-30feat(variant-label): add lazy variant label resolver (f687843)- add VariantLabelResolver: resolves the variant label via Enobis_ChiliDocumentVariant Helper\Data::getLabelByVariantCode()
- the helper is resolved lazily because Enobis_ChiliDocumentVariant is optional
- any failure resolves to an empty string, so a download never breaks
- add unit tests
-
2026-09-30feat(statistics): record renderer and variant label on variant downloads (2e31f96)- Pdf/Index (wishlist item) and Pdf/VariantDownload (order and wishlist item) now pass the pdf export settings id as renderer, the variant code and the variant label
- renderer_name is resolved by Enobis_ChiliEditor (
variant=> PDFExportSettings); the label falls back to the name - the pdf export settings lookup runs before the statistics entry
- VariantLabelResolver is optional DI (ObjectManager fallback) to stay backward compatible
- add VariantDownloadTest and a variant case in IndexTest; user tested with order item 362 and wishlist item 50040
Requires: Enobis_ChiliEditor
variantrenderer name lookup and Enobis_ChiliDocumentVariant getLabelByVariantCode() -
2026-09-30Merge branch 'chili-renderer-output-format-frontend-mydigitaloutput-area' (da40e26) -
2026-09-30Version 1.5.2 (4af02bd)Extend additional output information to
frontend_mydigitaloutputarea
1.5.1 (2026-09-25)
-
2026-09-25fix(renderer-area): use explicit store id instead of has-flag (377187d)- getAreaRenderer() cast hasChiliAdvancedRendererStoreId() (bool) to the store id, so an explicit store id always resolved to store 1
- use getChiliAdvancedRendererStoreId() instead
- add test for an explicit renderer store id
Refs: REL-922
-
2026-09-25feat(statistics): record advanced renderer label on downloads (13aea05)- add RendererLabelResolver: finds the configured label by renderer id (image: + image renderer id), requested area first, then frontend_order, backend_order, order_email, frontend_mydigitaloutput
- honour the item store via an optional store id
- frontend/admin download controllers (pdf, image) and Pdf Index/OrderItem (pdf, html, advanced html, image) pass renderer id and label to the statistics helper
- resolver is optional DI (ObjectManager fallback) to stay backward compatible
- adjust controller tests; user tested with order item downloads (PRINT PDF / SCREEN PDF)
Requires: Enobis_ChiliEditor renderer statistics (renderer label parameter on the statistics helper) Refs: REL-922
-
2026-09-25fix(html-download): log order item downloads as order_item statistics (8afa37b)- AdvancedHtmlDownload always used insertDigitalOutputStatisticsEntry(), so order item downloads were stored as digital_output / wishlist data
- route Sales order items to insertOrderItemStatisticsEntry(), everything else stays digital output
- also pass renderer id and advanced renderer label to the statistics entry
- note: reports now see entity_type order_item (instead of digital_output) for advanced html order item downloads
- add AdvancedHtmlDownloadTest
Refs: REL-922
-
2026-09-25Merge branch 'chili-renderer-output-format-chili-statistics-download' (50c8b6b) -
2026-09-25Version 1.5.1 (1af7fc2)Add additional output information to
chili_statistics_downloadfor document preview generation#REL-922
1.5.0 (2026-09-15)
-
2026-09-15chore(compat): allow PHP 8.4 and bump module to 1.4.3 (4660abe)Widen the php constraint to include ~8.4.0 and allow phpunit/phpunit ^10.0 alongside ^9.5 to match the Magento project root's actual PHPUnit version. Bump composer version and module.xml setup_version from 1.4.2 to 1.4.3 and refresh the README PHP badge accordingly.
-
2026-09-15refactor(phpunit): migrate setMethods to onlyMethods (c5ad9e9)MockBuilder::setMethods() was removed in PHPUnit 10. Replace the remaining call sites with the onlyMethods() equivalent; no behavior change.
-
2026-09-15refactor(phpunit): replace removed withConsecutive with matcher-based callback (da3d912)PHPUnit 10 dropped MockBuilder::withConsecutive(). Add ConsecutiveCallsAssertionTrait::withConsecutiveCallback(), built on willReturnCallback() plus the InvokedCount matcher, to assert the expected argument set per call and optionally return a per-call value.
Migrate all 20 call sites across the four affected test classes to the new trait.
While migrating, correct 28 expectation argument sets for insertOrderItemStatisticsEntry() that were missing its two trailing default parameters - an inconsistency previously masked by withConsecutive()'s laxer argument matching.
-
2026-09-15style(config): normalize XML declarations and trailing newlines (e09d89f)Drop the redundant encoding="UTF-8" attribute (UTF-8 is the XML default) and the trailing space before the closing ?> across the module's etc/*.xml files, and add a missing trailing newline at end of file. No config semantics change.
-
2026-09-15style(catalog): use null coalescing operator instead of isset ternary (c9a4e84)Replace the isset(...) ? ... : [] ternary with the equivalent ?? [] null coalescing operator in HelperPlugin::afterInitializeFromData(). No behavior change.
-
2026-09-15style(tests): reorder trait use statements and tidy docblock punctuation (4be81e3)Alphabetize the use SetupTraits... statements in IndexTest and OrderItemTest, and drop trailing periods from @param descriptions in ConsecutiveCallsAssertionTrait. No behavior change.
-
2026-09-15Merge branch 'php84-compat' (0cf3cf1) -
2026-09-15Version 1.5.0 (1cbd3ef)Allow PHP
8.4Improve codebase for PHP8.4compatibility
1.4.2 (2026-07-09)
-
2026-07-09Intercept when the product is deleted (ab701b6) -
2026-07-09Tweak code (268bff6) -
2026-07-09Version: 1.4.2 (40b9e48)- Intercept when the product is deleted
1.4.1 (2026-04-09)
-
2026-04-09Logging removed from the module (8904907) -
2026-04-09Version: 1.4.1 (3e4c3d9)- Logging removed from the module
1.4.0 (2026-03-12)
-
2026-03-12Drop PHP7.4support (a0fad8c) -
2026-03-12Allow PHP8.3(fea17a7) -
2026-03-12Tweak code (d811a61) -
2026-03-12Fix files (facbfad) -
2026-03-12Merge branch 'php83-compat' into dev (16df69e) -
2026-03-12Fix files (c1a4718) -
2026-03-12Merge branch 'dev' (b3e8c8a) -
2026-03-12Version 1.4.0 (aec868e)Allow PHP 8.3
#14375
1.3.10 (2026-08-03)
-
2026-08-03Fix for line-breaking issues (5ec4241) -
2026-07-09Intercept when the product is deleted (8833c46) -
2026-08-03Verion: 1.3.10 (c03fec8)- Intercept when the product is deleted
1.3.9 (2025-08-14)
-
2025-08-14Add configurable child product advanced renderer support (a0f1cff)Optimize product attribute label from 'Expert Renderer Setting' to 'Advanced Renderer Settings'
-
2025-08-14Version 1.3.9 (0b36b83)Add configurable child product advanced renderer support Optimize product attribute label from 'Expert Renderer Setting' to 'Advanced Renderer Settings'
1.3.8 (2025-06-25)
-
2025-06-25Fix 403 download error for base variants (request regenerate of document when base variant has 403/outdated status) (2cb9670) -
2025-06-25Version 1.3.8 (7c18999)Fix 403 download error for base variants (request regenerate of document when base variant has 403/outdated status)
1.3.7 (2025-01-28)
-
2025-01-28PHP 8.2 support added (d77d267) -
2025-01-28Introduce.gitattributesto exclude development files (c081d2a) -
2025-01-28Update README.md (f4fbfc8) -
2025-01-28Tweak code (d984a03) -
2025-01-28Update unit tests (c078e6c) -
2025-01-28Merge branch 'fixes' into dev (e80c93c) -
2025-01-28Version 1.3.7 (30ba480)PHP 8.2 support added
1.3.6 (2024-12-17)
-
2024-12-17Fix variant download error (a62973c)Add handling for for empty download urls (show message that download is not ready)
-
2024-12-17Version 1.3.6 (5cc777c)Fix variant download error Add handling for for empty download urls (show message that download is not ready)
1.3.5 (2024-11-04)
-
2024-11-04Add fallback to base variant downloads (fc79efd)when code is empty '' or code is 'base' and type is empty '' or type is 'download'Change "The document variant is not available yet." from errorMessage to noticeMessage
-
2024-11-04Version 1.3.5 (6136f52)Add fallback to base variant downloads when code is empty '' or code is 'base' and type is empty '' or type is 'download' Change "The document variant is not available yet." from errorMessage to noticeMessage
1.3.4 (2024-04-15)
-
2024-04-15fix 404 download bug (bcc3506) -
2024-04-15version 1.3.4 (30b807f)fix 404 download bug
1.3.3 (2024-04-03)
-
2024-04-03Improvements for chili advanced output naming support in frontend my digital output (0fba07d) -
2024-04-03Update unit tests (cf2b8bc) -
2024-04-03Merge branch 'advanced-output-naming-support' into dev (b2bb3a2) -
2024-04-03Version 1.3.3 (876b9dc)Improvements for chili advanced output naming support in frontend my digital output
1.3.2 (2024-03-14)
-
2024-03-13Tweak code (5f9842b) -
2024-03-13Update unit test setup traits (4dddf7a) -
2024-03-13Add output naming support for download controller in backend (6c83db1) -
2024-03-13Add adminhtml download index controller unit test (21a0f7d) -
2024-03-14Tweak code (10fd658) -
2024-03-14Add output naming support for download image controller in backend (32b7cf5) -
2024-03-14Add adminhtml download image index controller unit test (ce3169b) -
2024-03-14Update chili renderer output block unit test (f4803c7) -
2024-03-14Merge branch 'advanced-output-naming-support' into dev (002ec5b) -
2024-03-14Version 1.3.2 (cb7554a)Improvements for chili advanced output naming support in backend
1.3.1 (2024-03-12)
-
2024-03-07Tweak code (e7b8d18) -
2024-03-07Add product save before observer unit test (fc65424) -
2024-03-08Update unit test setup traits (edf5f53) -
2024-03-08Add chili renderer output block unit test (7a1b9e0) -
2024-03-08Tweak code (dd69722) -
2024-03-11Update unit test setup traits (b183275) -
2024-03-11Add output naming support for download controller (1afb957) -
2024-03-11Add download index controller unit test (c27b1e8) -
2024-03-12Add output naming support for download image controller (57dbec0) -
2024-03-12Add download image index controller unit test (745ef1a) -
2024-03-12Merge branch 'advanced-output-naming-support' into dev (d340e76) -
2024-03-12Version 1.3.1 (c9c85c9)Improvements for chili advanced output naming support in frontend (and emails)
1.3.0 (2024-03-06)
-
2024-03-06Version 1.3.0 (676b7df)Add advanced output naming support
1.2.13 (2024-01-11)
-
2024-01-11magento2 2.4.6 compatibility (d948e94) -
2024-01-11version 1.2.13 (caa1ec0)magento2 2.4.6 compatibility
1.2.12 (2023-11-13)
-
2023-11-13Removal of possible excessive distance (84a1990) -
2023-11-13Version: 1.2.12 (b38b035)Optimization:
- Removal of possible excessive distance
1.2.11 (2023-11-03)
-
2023-11-03small fix advanced image renderer did not appear on standard order view in frontend (1985712) -
2023-11-03version 1.2.11 (f206e1e)small fix advanced image renderer did not appear on standard order view in frontend
1.2.10 (2023-10-23)
-
2023-10-23add en_IE translation (based on en_US) (ea9aba6) -
2023-10-23version 1.2.10 (f0e19a8)add en_IE translation (based on en_US)
1.2.9 (2023-09-06)
-
2023-09-01Update code (340610c) -
2023-09-06Add download ordered documents support (0d34c21) -
2023-09-06Merge branch 'add-download-ordered-documents-support' into dev (9695640) -
2023-09-06Version 1.2.9 (6f3d9f7)Add download ordered documents support
1.2.8 (2023-04-04)
-
2023-04-04Version 1.2.8 (19b75ec)Fix html template structure for closing tags in Magento2 >= 2.4.4
1.2.7 (2023-01-10)
-
2023-01-10PHP 8.x compatibility, avoid passing null values to string functions, (checked with rector) (cf09c9a) -
2023-01-10version 1.2.7 (7ca1735)PHP 8.x compatibility, avoid passing null values to string functions, (checked with rector)
1.2.6 (2022-11-15)
-
2022-11-15compatibility with product publication module (0e48640)products where loosing renderer information when it was loaded and saved programmatically e.g. via cron
-
2022-11-15version 1.2.6 (0abb91f)compatibility with product publication module products where loosing renderer information when it was loaded and saved programmatically e.g. via cron
1.2.5 (2022-08-31)
-
2022-08-311.2.5 (7b214aa)better statistics support for configurable products
1.2.4 (2022-05-31)
-
2022-05-311.2.4 (ac1f9ad)add orderemail area to pdf settings
1.2.3 (2022-03-09)
-
2022-03-09Version: 1.2.3 - Translation added (fa48f93)Signed-off-by: Karl Büdding karl.buedding@enobis.de
1.2.2 (2022-02-10)
2022-02-101.2.2 fix for autogeneration of base variant (922e98c)
1.2.1 (2022-02-09)
-
2022-02-09Version: 1.2.1 - Translation abgeglichen (a93f3b4)Signed-off-by: Karl Büdding karl.buedding@enobis.de
1.2.0 (2022-02-05)
2022-02-051.2.0 small fix statistics for variants (8f327ac)
1.1.9 (2021-09-15)
2021-09-151.1.9 Own About and Settings Section in (9972b05)
1.1.8 (2021-08-23)
-
2021-08-23Version 1.1.8 (1ad2e42)fix: unable to generate chili document download message in order view in backend
1.1.7 (2021-08-19)
-
2021-08-19Version 1.1.7 (f9f818b)fix: download links in order view in backend not working
1.1.6 (2021-08-11)
2021-08-111.1.6 small optimization for external variant download links with external_status (345adf3)
1.1.5 (2021-07-09)
2021-07-091.1.5 small fix variant downloads (c2ef7c3)
1.1.4 (2021-07-05)
2021-07-051.1.4 fix advanced renderer when in system configuration when product renderers are not explicitly definied (fe2e330)
1.1.3 (2021-04-30)
-
2021-04-22my document soll nur noch mit enobis/module-chili-my-document verkauft werden und (b5fad9b)daher technisch ohne das enobis/module-chili-my-document nicht installiert werden können sollen
-
2021-04-29fix: Chili PDF download URL case-sensitivity (00a16a9) -
2021-04-29fix: Download Backend in Order details section (backend) (ff6283e) -
2021-04-30Version 1.1.3 (f2e22f1)fix: Download Backend in Order details section (backend) fix: Chili PDF download URL case-sensitivity
1.1.2 (2021-03-22)
2021-03-221.1.2 release version image renderer in email (1496e7a)
1.1.2-rc1 (2021-03-22)
-
2021-03-22Version 1.1.2-rc1 (acda8e1)Chili Advanced Renderer Image Link in Order Email
1.1.1 (2021-02-17)
-
2021-02-171.1.1 release version (3ba16d3)Support Image Renderer on Order Frontend and Order Backend
1.1.1-rc1 (2021-02-17)
-
2021-02-17Version 1.1.1-rc1 (a847ab0)Support Image Renderer on Order Frontend and Order Backend
1.1.0 (2021-02-08)
2021-02-081.1.0 Backend Scope Advanced Renderer correction for multiwebsite (546f779)
1.0.29 (2021-02-08)
2021-02-081.0.29 Backend Order Item Link -> PDF Renderer get correct ConfigurationScope from store_view while in admin scope (3168043)
1.0.28 (2020-12-17)
2020-12-171.0.28 Advanced Renderer Attributes are displayed as required even they are not required (ca333e1)
1.0.27 (2020-09-22)
-
2020-09-22Version 1.0.27 (78893ce)fix: renderer settings are possible miss-saved for store view scope
1.0.26 (2020-09-14)
2020-09-141.0.26 Fix Download Advanced renderer Order Item (8a92dc3)
1.0.25 (2020-07-28)
-
2020-07-281.0.25 (e38305b)Bei Varianten Magento Error Meldungen ausgeben Bei Order Status cancel kein Download Link
1.0.24 (2020-07-15)
2020-07-151.0.24 Unterstützung Variant Links (bb2d17a)
1.0.23 (2020-07-14)
-
2020-04-03Initial commit (3a4948a) -
2020-04-03Remove adding of database tables (2ba1626) -
2020-04-14Version 1.0.1 (4f91e7b)removed chili pdf export settings from advanced renderer section fix: possible double output of advanced renderer in order view in backend fix: advanced renderer links not working
-
2020-05-181.0.2 Unterstützung my Document Digital Output und Bugfixes (ce5c522) -
2020-06-081.0.3 (f037ec7) -
2020-06-091.0.4 Unerstütung Image Export dynamisch (655da57) -
2020-06-091.0.5 Unterstützung der Produktspezifischen Export Settings PDF/HTML/Image (c1331b6) -
2020-06-09Fix wenn allgemeine Config leer ist (ab70fdf) -
2020-06-091.0.6 (d6823ba) -
2020-06-16Verbesserungen Produkt Image und HTML Render Setting auf leer setzen können (ee0529c)Fehler bei leeren Settings auf Produkteben behoben
-
2020-06-161.0.7 Fix Produktsettings empty and set back to empty (6e2de9c) -
2020-06-171.0.8 Unterstützung Advanced HTML Rendering (012c15e) -
2020-06-171.0.9 Html auch als index.html speichern und umleiten (af3b028) -
2020-06-191.0.10 Möglichketi Images aus Template folder kopieren (9d85cb3) -
2020-06-221.0.11 Unterstützung Frontend Order Template (78c0ee2) -
2020-06-241.0.12 Advanced Renderer Ausgabe im Frontend nur wenn Download in Frontend enabled und Chili Dokument für Bestellitem (084f408) -
2020-06-25Unterstützung Preview und Download für Advanced Renderer (74908f9) -
2020-06-261.0.14 Unnötige Chili Dateien wieder wegräumen (8a5fa00) -
2020-06-301.0.15 HTML Links statisch machen (cac2f76) -
2020-06-301.0.16 (996eb7c)Optimierung keine doppelten Zeilen Version mit Online Links und Version mit rel. Links BOM hinzufügen Outlook
-
2020-06-301.0.17 2 Indexdateien (b4967fe) -
2020-06-301.0.18 möglichkeit externe css nach inline (d45075d) -
2020-06-301.0.19 css ordner aus template folder kopieren (2c7e4d5) -
2020-07-011.0.20 inline_css parser (8b6ff09) -
2020-07-021.0.21 Unterstützung für css Inliner (2b749f7)#chili_layer_.....# um layer 1:1 zu nehmen. #chili_layerinline_ um layer mit chili css zu style tags konvertiert zu übernehmen
-
2020-07-121.0.22 UNterstützung Statistiken (d350a3b) -
2020-07-141.0.23 Vorbereitung Variantendownload (abd4254)