...
Info | ||
---|---|---|
| ||
'field' is a database term. All the bits of information that your website uses are contained and managed in a database dedicated to your business. In this database, information is organised in a collection of tables. A table contains data grouped for a function or feature your website uses. Some examples are Users, Products, and Orders. A table has columns or fields that each contain a data type. Each row contains a record of values a single entity has for each data type. When you add, edit or view a page in the CMS or on your website, you are accessing database fields and values entered for them. Some like Email Address and Default Customer Account for the User table are standard on your website. Custom fields are fields that are not on pages in the out-of-the-box version of the Customer Self Service eCommerce PlatformCV ECommerce platform. |
Your business may want to maintain or display data in non-standard fields for certain functions in the CMS or even on a website page (product or category-related only). You can create custom fields to these tables:
...
- Identify the table you want to create a custom field for.
- Create the new custom field for the table.
- Edit a table's record to include the new data.
- (For product or category custom fields only) Display the field on your website. Add the product field widget to theProduct Detail and/or Product List templates. For a category field, add the category field widget to the Category template. See: Add Custom Field to Product or Category
Step-by-step
...
Guide
Multiexcerpt | ||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||
|
1. Create a New Custom Field
- In the CMS, navigate go toE-Commerce → Advanced Content → Custom Fields.
- Select the table you wish to add your custom field to (e.g. Categories, Products, Users).
- The page will load, displaying any existing custom fields for the table you selected.
- Click the Add New Custom Field button.
- In Add Custom Field Details, enter the field requirements (for display and entry of values by administrators):
- Field Name - a code to identify this field in the database. Alphanumeric only, with no spaces or special characters. Underscore ( '_ ') permitted.
- Prompt - the field label displayed next to the field.
- Help - additional information about the field displayed.
- Data Type:
- Text - alphanumeric characters, including spaces, special characters, and html.
- Integer - whole numbers
- Decimal - numeric data including fractional components
- DateTime - calendar dates and times
- Boolean - checkbox toggle for a 2 value option, e.g. True/False, Yes/No
Display Type - the interface displayed to Administrators on the page the field appears in. NOTE - Display Type options depend on the Data Type selected.
Expand
title Click here for an explanation of display types...
Tip
title What is...
- integer - a whole number
- boolean - functionality that only has two possibilities: ON or OFF, YES or NO etc
Display Type Available for Data Type Example Text Box Text, Integer, Decimal One line text box
Multi-line Text Box Text HTML Text Box Text WYSIWYG content editor that allows the text to be formatted
XML Text Box Text Dropdown List Text, Integer, Decimal Image Selector Text Numeric Text Box Integer, Decimal Date Picker DateTime Time Picker DateTime Date/Time Picker DateTime BooleanCheck box (toggle) Boolean NOTE - displays as a toggle
- Allow Unlimited Text - (for Text Display Type only) tick to allow unlimited amount of text
- Mandatory - tick to make the custom field required on the page it displays in.
- Active - leave ticked for the field to be in use. Untick to make inactive.
- To save the custom field, click Save.
...
Table | Page |
---|---|
| Article Maintenance → Edit Article |
| Banner Maintenance → Edit Banner |
| Category Maintenance → Maintain Category |
| Product Maintenance → Maintain Product |
| Promotion Codes → Edit Promotion Code |
| Website Users → Edit User |
...