Helpcenter +918010117117 https://cdn.storehippo.com/s/573db3149f0d58741f0cc63b/ms.settings/5256837ccc4abf1d39000001/57614ef64256dc6851749879-480x480.png" [email protected] https://www.facebook.com/StoreHippohttps://twitter.com/StoreHippohttps://www.linkedin.com/company/hippoinnovations/https://plus.google.com/+Storehippo/posts
B4,309-10 Spaze iTech Park, Sector 49, Sohna Road, 122001 Gurgaon India
call to replace anchor tags contains '/admin' in href

Entities

Available in Enterprise Plan and above.

Entities are basic building blocks of the store. There is one entity for the same type of resource e.g. product, order, user etc. 
There are two types of entities:

  1. Global Entities
  2. Store Entities

Global Entities

StoreHippo provides the global pre-defined entities for common functionalities. Global entities are namespaced with (ms.) to separate them from store entities. Examples of global entities are:

  • Products (ms.products)
  • Orders (ms.orders)
  • Users (ms.users)
  • Categories (ms.categories)
  • Brands (ms.brands)
  • Collections (ms.collections)

Store Entities

Store entities are available in the Enterprise Plan. 

Stores can extend their functionalities by defining custom entities. Go to Advance Settings > Entities section in StoreHippo Admin Panel to manage store entities.

Adding a new Entity

To add a new entity, click the Add New button in the top right corner. The following page will open:

Entity Name

Enter the name of the entity that you want to create.

Fields

Below the entity name field, there is a table which lists down the fields that are part of this entity.  

Name

Enter the name of the field in the Name column.

Type

Select the data type of the field in the Type column. Following are the possible data types for the field:

  • string
  • integer
  • number
  • Array (list of records)
  • object
  • datetime
  • reference
  • relation
  • function
  • file
  • geo
  • custom

Field Settings

Click on the gear icon against the field to edit the field settings.

Entity Settings 

Go to the Settings tab to access the entity settings like general entity and admin theme settings.

Hooks

You can also define hooks in your entity by adding it in the hooks tab.

Entity Commands

There are built-in entity commands (get, list, add, edit, delete etc.) available for all entities. Apart from built-in commands, there are custom commands for different entities. For example, the Order entity has commands receivePayment, ship etc. 

FAQ

Q. How many store entities can i add?

You can add 10 store entities on Enterprise plan.

2024-03-01T13:48:45.054Z