msFieldsManager

The component expands the product properties in miniShop2
The author
Prihod
Packages
13
Downloads
4 392
Usually answers within 24 hours
Автор дополнения
Packages
13
Downloads
4 392
Usually answers within 24 hours
Version 1.2.6-beta
Release date 04.03.2019
Downloads 656
Views 1 070
Warning! This component requires PHP version 5.5 or higher! If your site uses PHP less than required, the installation of this package could break it.
Warning! This package requires MODX not less than 2.3 !
The msFieldsManager component extends the product properties in miniShop2 by adding your fields.

The following form elements are available:

  • numeric field
  • test field
  • text area
  • text editor 7:10 (should be installed TypoMCE or similar)
  • the code editor 7:54 (must be installed Ace)
  • Yes / No list 1:54
  • listbox (multi-select) 2:30
  • custom drop-down list 3:32 4:43
  • check box 0:15
  • radio options 0:46
  • date
  • time
  • date and time
  • date timestamp


For the whole elements list the customization possibility is available.
As an example of a text field customizing, we make it read-only by adding read Only: true

{
    xtype: 'textfield'
    ,fieldLabel: _('ms2_product_mytextfield')
    ,description: _('ms2_product_mytextfield_help')
    ,name: 'mytextfield'
    ,allowBlank:true
    ,anchor: '100%'
    ,readOnly: true
    }


Among other things, you can create your own processors and use them in custom elements.


Note: for all Boolean fields in the database, use the TINYINT type


Important: If you added your fields, and they did not appear for the product, you need to clear the browser cache



Thread in MODX.PRO community.

msFieldsManager 1.2.6

  • Fixed: "Text Editor" field

msFieldsManager 1.2.5

  • Added: Measure units
  • Added: MsfmUnit snippet
  • Fixed: Set default value NULL

msFieldsManager 1.2.4

  • Fixed: DateTime field

msFieldsManager 1.2.3

  • Fixed: CheckBox list

msFieldsManager 1.2.2

  • Added: Display fields in the product category
  • Added: Sort by product category

msFieldsManager 1.2.1

  • Fixed: Default value "none"

msFieldsManager 1.2.0

  • Added: Data storage for fields
  • Added: Integration with msProductsComposerSelection
  • Changed: Sorting items (drag and drop)
  • Fixed: Minor bugs