IPrice minimart
powerfull & flexible online Store, price-lists and catalogs for Joomla

Administration: order fields

VKontakte
You can add, edit, publish/unpublish or remove order contact fields using Order field manager. You can find it in Joomla admin panel->Components->IPrice calculator->Order fields.

Predefined order contact fields:
  • fio - contact person
  • firm - organization
  • phone - contact phone
  • email - contact e-mail
  • comments - order comments

Add order field

Go to Order field manager: Joomla admin panel->Components->IPrice calculator->Order fields, then click tool button "New".

Contact field properties:

  • System field name - the system offers the default random generated system name. The best way is to set your own name with prefix 'irpice_'. Use a-z symbols only for system field name. You can not change the system name. Afterwards, you can not edit system name, so set the system name of the field as possible understandable.
  • Caption - set the caption for contact field. Caption will be displayed in order contact info.
  • Field type - select field type. Available field types:
     - Text  - simple text field.
     - Multiline text - multiline text field.
    - Yes/No - Yes/No radio buttons.
    - Checkbox - single checkbox.
    - Select list - select list of values. You can set list of values using property "Field content".
    - Date (dd.mm.yyyy) - date with format 'dd.mm.yyyy'.
      - Date (mm/dd/yyyy) - date with format 'mm/dd/yyyy'.
      - Email - text field with e-mail format.
      - Phone number - text field with phone number format.
    - Divider - divider of field blocks
  • Field content
     - for field type 'Select list': you can set values of select list separated by semicolon using this property, for example: Russia;German;France. Use semicolon first if you need to add empty value first, for example: ;Russia;German;France
      - for field type 'Checkbox': you can set additional caption for checkbox using this property. This caption will be displayed to the right of checkbox. You can use HTML code for additional checkbox caption.
  • Required - Field is mandatory if 'Yes'.
  • Published - set published or not. You can disable field without deleting, just set 'published' to 'No'.
  • Ordering - order of the field.
  • Minimum length (for text field) - set minimum length (in charactrers) for text field if you need minumum length restriction.
  • Field length - field length to display in contact info.
  • Error message if field validation fails - set this property if you need custom error message for the field. Standard error message 'Enter the correct data to the field "FIELD"' will apear If you do not specify custom error message.
  • CSS class name - class name for INPUT tag of the field. 'inputbox' By default.
  • Include to order - if 'No', then field will be not included to an order.
  • Show before item list - allows you to show order field before item list on the shopping cart page or price-list page, when using "no shopping cart" mode.
  • Do not show items until set - if "yes", then the user should select the value for this order field before display items in price-list, when using "no shopping cart" mode.

Edit order field

Go to order field manager: Joomla admin panel->Components->IPrice calculator->Order fields. Click to system field name to edit the field. You can not change system field name when editing. Also you can not remove predefined field 'e-mail'.

Validation of user data

User data will be validated when user click "Send order" on checkout page.

Validations for types:

  • Text -value can not be empty, if field is required. Value length can not be shorter than minimal field length.
  • Multiline text - value can not be empty, if field is required.
  • Yes/No - button must be selected either "yes" or "No".
  • Checkbox - Checkbox must be checked, if field is required.
  • Select list - value must be selected, if field is required.
  • Date (dd.mm.yyyy) - value can not be empty, if field is required. Value should match with format 'dd.mm.yyyy'.
  • Date (mm/dd/yyyy) - value can not be empty, if field is required. Value should match with format 'mm/dd/yyyy'.
  • Email - value can not be empty, if field is required. Value should match with format e-mail This email address is being protected from spambots. You need JavaScript enabled to view it.'.
  • Phone number - value can not be empty, if field is required. Value should match with format phone number: '0-9','+','-','(',')','space' symbols only.

Example 1

For example, you need to add contact field 'Gender' with values 'male' and 'female'. Field is required. The field must contain a null value by default, to force the user to select a value.

Pic 1 shows how to configure such field:

Example of contact field 'Gender'
Pic 1. Example of contact field 'Gender'

 

Example 2

You need to add checkbox "I agree with user agreement". User should check it before sending order. The caption of checkbox must includes the link to license agreement.

Pic 2 shows how to configure such field:



Pic 2. Example of contact field 'License agreement'

Login

Subscribe



Subscribe to our newsletter and social networks to be updated with the latest updates.

Login