Online documentation - Websydian v6.0 |
Users Guide | Patterns Reference | WebsydianExpress | Search |
The ShopProperties entity describes name/value pairs defined for a Shop. Shop properties can be used for multiple purposes where single parameters for a Shop need to be stored in a database table, e.g. E-mail addresses, mail subject lines, dynamic text parts for web documents, URL-addresses for image folders etc.
The ShopProperties entity defines the following fields:
Owned by Shop | Properties are defined for a specific Shop instance. |
Known by Fields.ShopPropertyName | Combined with Shop keys, the unique key of the ShopProperties entity. The name of a shop property. |
Fields.ShopPropertyValue | The value of a named shop property. |
Fields.ShopPropertyDescription | Description of a shop property. |
The following service functions are defined for ShopProperties:
During WebShop development, ShopProperties instances are much easier to add than to add fields to the Shop entity. Simply add the required property names to the Fields.ShopPropertyValue field:
MyShop.Fields.ShopPropertyName | value VAL | InfoEmail |
ShopApp.Fields.ShopPropertyName.InfoEmail | label LBL | Information E-mail |
Drag the new values to the panel of the function MyShop.GUI.ShopPropertiesUI.
Use the service function FetchPropertyForSession to access the Property values in web functions, generate and build the functions and maintain values in the "Data->Shop Properties" menu entry of the WebShop Administrator Program.
The ShopProperties entity inherits from Abstract.DataAccess and FOUNDATION/EditDetail.