Venddor IO's block management system is coordinated by a set of schemas located in the app/schemas/block_manager directory. Each of these schemas serves a specific purpose in organizing and displaying blocks throughout your storefront.
Blocks are essential components of your storefront's visual structure. Understanding how schemas interact with them will give you greater control over your store's appearance and functionality.
This is the primary schema that defines the different block types available within Venddor IO. It serves as a blueprint, outlining how each block should function and appear.
This schema contains the various functions that the main block schema utilizes. It acts as a toolbox, providing specific functionalities that enhance and facilitate block management.
This schema is critical for performance, specifying global caching parameters. These parameters are applied to all blocks with caching capabilities, ensuring content is delivered efficiently without redundant processing.
Required for certain functionalities, this file lists dispatches and connects them to respective language variables. It's primarily used to populate options for the "Dispatch" field when adding or modifying a location.
This schema defines the parameters available for Smarty templates used within blocks. It ensures blocks can be styled and structured according to your requirements and design preferences.
Providing descriptions of fillings, this schema guides how data is fetched and populated within blocks, ensuring content is consistently and correctly displayed.
This schema is dedicated to explaining dynamic objects, which can adjust and display content based on specific conditions or user interactions.
Working with Blocks: When creating custom themes or modifying existing ones, you'll interact with these schemas frequently. For instance, to define a new block type, you would need to modify blocks.php and potentially blocks.functions.php to add the necessary functionality.