Skip to content
  1. Extras
  2. MiniShop3

Administrative interface

Overview of the MiniShop3 administrative interface in the MODX manager.

Access

Menu: Applications → MiniShop3

Interface structure

Resource pages

PageDescription
CategoryEdit product category with product table
ProductEdit product card
GalleryProduct image management

Settings section

Menu: Applications → MiniShop3 → Settings

TabDescription
DeliveriesDelivery methods
PaymentsPayment methods
VendorsVendor directory
LinksProduct link types
OptionsProduct options directory

See also: Settings

Utilities

Menu: Applications → MiniShop3 → Utilities

TabDescription
GalleryThumbnail regeneration
ImportCSV product import
Product fieldsProduct card field configuration
Extra fieldsCreating new fields
Grid columnsTable configuration
Model fieldsDatabase model fields

See also: Utilities

Technologies

The MiniShop3 admin interface is built on two technologies:

TechnologyUse
ExtJS 3.4Main panels (orders, customers, ExtJS forms)
Vue 3 + PrimeVueModern components (category tables, settings, utilities)

Vue components are integrated into ExtJS via mount points and require the VueTools package.

Extending the interface

Adding CSS/JS

Use the msOnManagerCustomCssJs event:

php
<?php
switch ($modx->event->name) {
    case 'msOnManagerCustomCssJs':
        $page = $scriptProperties['page'];
        $controller = $scriptProperties['controller'];

        if ($page === 'product_update') {
            $controller->addCss('/assets/components/mycomponent/css/product.css');
            $controller->addLastJavascript('/assets/components/mycomponent/js/product.js');
        }
        break;
}

Custom table actions

Register actions via MS3ActionRegistry:

javascript
MS3ActionRegistry.register('myAction', async (data, gridId) => {
    // Your code
    return { success: true, refresh: true };
});

See also: Category — Adding actions