📄️ Introduction
Field groups are a feature added by the Custom Field Groups module for Prestashop. This feature allows you to structure
📄️ Creating a Field Group
To create a new Field Group, navigate to "CFG" and "Field groups" on the "Improve" menu of your Prestashop back-office.
📄️ Settings
Configuring field groups allows you to customize and organize forms in the Prestashop back office.
📄️ Adding fields
After creating a field group, you can add fields to it. Each field has several configurable settings, with three required parameters Settings, Validation, and Design.
📄️ How to use
Once you have created and configured field groups in the Custom Field Groups module, they are ready to be used seamlessly within PrestaShop's native entity forms as well as in compatible modules. Here’s how you can utilize field groups effectively:
📄️ Managing Field Values via PHP
With the latest feature, you can now create and update field values directly from your PHP code. This allows for more dynamic control over the data without needing to interact with the back-office interface. Below is an explanation of how to use this feature effectively.
📄️ Retrieving Field Group data
Once field groups are configured within the Custom Field Groups module in PrestaShop, you can retrieve their data using various methods. Below are the three primary methods for retrieving field group data: