Shops - aareano/ifshop-wiki GitHub Wiki

The Shop event class contains the following events:

  • your shop is updated

The shop drop is the root drop that's defined for this class. Below is an example of the tree of liquid drops available to you.

Example Usage: To access the source of the first image of the first product in the first collection of the shop, you would use shop.collections[0].products[0].images[0].src.

shop
├── collection
├── collection
├── collection
└── shop

The tree is representative of what you can expect for the following events:

  • your shop is updated

Note: This tree is an illustrative, but not exhaustive - in theory, it goes on forever! - demonstration of the assemblage and structure of the data available to you.

Warning: The tree of liquid drops you encounter in practice will almost certainly have different dimensions than this. This is merely an example to show structure.