No image available

suppliersfields

Extends the PrestaShop Supplier entity with two custom fields using hooks and a class override, with seamless back office form integration.

Developed by PrestaShop

Get This Module Free on GitHub
License: Unknown Status: Active Health: Very Outdated

Info updated 3 months ago

Sources
Last commit: Jul 13, 2024
Type
Module

Info checked: Mar 2, 2026

Supplier Custom Fields is a developer-oriented PrestaShop module that extends the built-in Supplier entity with two additional custom data fields. It uses a combination of hooks and a class override to add the new properties cleanly to the existing supplier management workflow in the back office.

  • Two custom supplier fields: Adds one_field and other_field as new properties to the Supplier entity, available for data entry in the supplier form.
  • Hook-based integration: The custom fields are wired in via the actionSupplierFormBuilderModifier, actionAfterUpdateSupplierFormHandler, and actionAfterCreateSupplierFormHandle hooks, ensuring proper handling on both create and update operations.
  • Supplier class override: Includes a PrestaShop class override for the native Supplier class to persist and retrieve the new properties, with the fields displayed above the is_enabled toggle for natural back office integration.

This module is intended primarily as a reference implementation or starting point for developers who need to extend the Supplier entity with custom data fields. It demonstrates the standard PrestaShop hook and override approach for form customization without modifying core files.

  • Reference
    suppliersfields

  • License
    Unknown
  • Status
    Active

Comments (0)

No customer reviews for the moment.
Loading...