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

Step-by-step field and grid scenarios: Manager cookbooks.

See also: Utilities

Technologies

TechnologyUse
Vue 3 + PrimeVueOrders, customers, notifications, settings (settings.min.js), utilities, product tabs
ExtJS 3.4Category/product resource shell in the MODX tree (Document / Settings / Access); product grids and “Product” tabs are Vue

Settings deep links: #tab-deliveries, #tab-payments, #tab-statuses, #tab-vendors, #tab-links, #tab-options.

Requires 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