Global Attributes
go to the Catalog → Global Attributes
Global attributes in AbanteCart provide a powerful way to define common product options or download attributes once and then easily apply them to multiple products. This saves significant time and effort compared to defining the same options or attributes for each product individually.
Global attributes are categorized by type, determining how they can be used:
Product Option: These attributes define common product options (e.g., size, color, material) that can be quickly added to multiple products. This eliminates the need to create the same option variants for each product. (Catalog → Products → Options Tab)
Download: These attributes are used for product downloads and shared downloads. They can define the characteristics of the downloadable files.(Catalog → Products → Files Tab )
Other Types (Extensions): Third-party extensions can add more global attribute types for specific purposes, such as product features, order attributes, or customer attributes. Consult the documentation for any installed extensions for information on additional global attribute types.
Edit a Global Attribute
On the Global Attributes page, locate the global attribute you wish to edit. Click the "Edit" icon
Global Attribute Status: Must be "On" for the attribute to be available for use with products or downloads
Name: The Global Attribute's name as it will appear in the admin panel and potentially on the storefront
Attribute Parent: Here you can set the Attribute you are currently adding to be a parent of another Global Attribute.
This creates a hierarchical relationship. If this attribute is a parent attribute with children attributes, it can only be of type SelectBox, MultiSelect Box, Checkbox, or Checkbox group. Children's values combinations will be shown as one set.
Sort Order: Sets the order in which the Global Attribute will be displayed amongst other global attributes in the admin panel and potentially on the storefront. Lower numbers appear first.
Required: Select if you want to make this Global Attribute required by default when it is used with products
Regular Expression Pattern for Validation of Values: A sequence of characters that forms a pattern, mainly for use in pattern matching. This allows you to define complex validation rules for the attribute's value. Programming knowledge is required to use regular expressions effectively.
For example, /^.{0,10}$/
allows an empty string or a string with a maximum length of 10 characters.
Error Message of invalid Value: The message text displayed when the attribute value entered by the user does not meet the Regular Expression Pattern.
Element Type: Select the type of input element that will be used for this attribute.
Depending on the Element Type you choose, additional settings might appear.
The available types are:
Input
The single-line text input field. Can be used if you require some short text from the customer. For example cup-prints with custom names, Logos or anything else.
Textarea
The multi-line text input can hold a large number of characters. Similar to input.
Selectbox
The drop-down list of options. Example colors, sizes, paper types... etc.
Multiselectbox
A list allowing multiple selections. Use it if you sell products that come in different sizes, colors or flavors. For example 2 tone color prints or food ingredients.
Radio
A selection of one item from a list of items (e.g., format: Blu-ray/DVD). All options are visible. You can set a default value.
Checkbox
A single checkbox for toggling a state or option (e.g., gift wrapping: Yes)
Checkboxgroup
A set of multiple checkboxes allowing multiple selections. Similar to a multi-select box.
File
A file upload field with a "Browse..." button. Use for customers to upload files (e.g., custom designs)
Hidden
hidden input field for values not intended for direct customer interaction.
Label
For display purposes only; not for user input.
Date
for date selection
Parent & Child
AbanteCart allows you to create multi-options, which combine two or more individual global attributes into a single, more complex option (e.g., Size and Color together). See Parent & Child example
Related content
AbanteCart, all rights reserved. 2025 ©