Podilatis Help

1. Fields and Types

1.1 Magento Field types

  • text: Input

  • textarea: Textarea

  • select: Dropdown

  • multiselect: Dropdown with multiple select

  • boolean: Checkbox | Toggle

  • date: Date (YYYY-MM-DD)

  • datetime: Date and time (YYYY-MM-DD HH:MM:SS)

1.1.1 Text / Textarea

Text and textarea fields are representing text or numbers

1.1.2 Select / Multiselect

Select and multiselect fields are represented as a table with the following data

  • Attribute ID: int (The ID of the attribute)

  • Attribute Code: string (The attribute code of the option)

  • Option ID: int (The ID of the option)

  • Label: string (The label of the option)

  • Sort Order: int (The sort order of the option)

  • Is Default: boolean: (Whether the option is the default option)

1.1.3 Boolean

Boolean fields can represent a field with a true or false value. This can be represented in various ways, such as:

  • Yes/No

  • True/False

  • 0/1

1.1.4 Date / Datetime

Date and datetime fields are representing a string in the format YYYY-MM-DD or YYYY-MM-DD HH:MM:SS.

1.2 Magento Data Types

1.2.1 Scalar types

  • string: String

  • int: Integer

  • float: Float

  • bool: Boolean

  • array: An indexed collection of scalar types [scalar_type]

1.2.2 Non-scalar types

These types represent complex data structures and objects with various possible fields.

  • object: Object

  • array: An indexed collection of objects [object]

17 Μαρτίου 2025