Download the PHP package thelia/custom-fields-module without Composer
On this page you can find all versions of the php package thelia/custom-fields-module. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download thelia/custom-fields-module
More information about thelia/custom-fields-module
Files in thelia/custom-fields-module
Download thelia/custom-fields-module
More information about thelia/custom-fields-module
Files in thelia/custom-fields-module
Vendor thelia
Package custom-fields-module
Short Description CustomFields module for Thelia
License LGPL-3.0-or-later
Package custom-fields-module
Short Description CustomFields module for Thelia
License LGPL-3.0-or-later
Please rate this library. Is it a good library?
Informations about the package custom-fields-module
Custom Fields
A Thelia module to add custom fields to products, content, categories, and folders with multi-language support.
Features
- Create custom fields with different types (text, textarea, wysiwyg, content (ID), product (ID), folder (ID), category (ID))
- Assign custom fields to multiple sources (product, content, category, folder, general)
- Multi-language support for field values
- Tab integration in back-office edit pages
- Twig function for front-office display
Installation
composer require thelia/custom-fields-module- Activate the module in the back-office
Usage
Back-Office
-
Create Custom Fields: Go to Tools > Custom Fields
- Enter a title and unique code (e.g.,
warranty_period) - Select field type
- Choose which sources can use this field (product, content, category, folder, general)
- Enter a title and unique code (e.g.,
-
Edit Field Values: When editing a product/content/category/folder:
- Navigate to the "Custom Fields" tab
- Enter values for each language using the language selector
- Save changes
- Edit Field Values General: Go to Tools > Custom Fields
- Navigate to the "General Fields" tab
- Enter values for each language using the language selector
- Save changes
Front-Office (Twig Templates)
Use the custom_field_value function to display custom field values:
Parameters:
code: The custom field codesource: Source type (product,content,category,folder) - default :generalsource_id: The entity ID (no need to specify forgeneralsource)locale(optional): Specific locale (defaults to current session locale)
Example
All versions of custom-fields-module with dependencies
PHP Build Version
Package Version
Requires
thelia/installer Version
~1.1
The package thelia/custom-fields-module contains the following files
Loading the files please wait ...