minishop2 - Minimum order amount: possible?

Is there a way to set a minimum order amount in minishop2?
I want that customers must reach a minimum amount before they can send a order.

Thank you for your help.
Fabian Christen
21 january 2019, 16:19

pdoResources - using "where" to select a child

Please help me, if possible, to select with pdoResources the resources existent in a specified child of a container.
For example, I have the top level container, named Books and two children Technical and Belletristic. Each of them contain specific books.

I want to display them in two different sections of a page. I think I need something like `where parrent is "%Technical"` but I did not find examples and I need to solve this fast.

Thank you for support!
Claudiu Ro
16 january 2019, 11:35

MODX Meetup Moscow '18

Moscow! It has been on our Meetup-location wish-list for years now. The Russian MODX community is huge and now is finally the time for a meetup in the Russian capital: Moscow!

The people behind the well-known and websites organised the meetup: a wonderful location, speakers and live-translation. This was the second time we got live-translation during a meetup (Minsk 2017) was the first time and it works perfect! Russian and English speaking people in one audience.

Gauke Pieter Sietzema
10 october 2018, 14:56

Minishop2: german umlauts (ä, ö, ü)

When saving a new contact/customer german umlauts (ä, ü, ö) are filtered out.
Can I change this?
Is it in the class
, function
validate($key, $value)

case 'receiver':
                // Transforms string from "nikolaj -  coster--Waldau jr." to "Nikolaj Coster-Waldau Jr."
                $tmp = preg_replace(
                    array('/[^-a-zа-яёЁ\s\.]/iu', '/\s+/', '/\-+/', '/\.+/'),
                    array('', ' ', '-', '.'),
                $tmp = preg_split('/\s/', $tmp, -1, PREG_SPLIT_NO_EMPTY);
                $tmp = array_map(array($this, 'ucfirst'), $tmp);
                $value = preg_replace('/\s+/', ' ', implode(' ', $tmp));
                if (empty($value)) {
                    $value = false;
Thank you for your help.
Fabian Christen
29 june 2018, 13:18

Extra Office: how to save a extended field?

Hi all,

The documentation here explains how to show a extended field of a user.

But how can I save it the first time a user is filling a form?

and in the form:

<input type="text" name="extended[company]" placeholder="" class="form-control" id="" value=""/>

does not work.

Do I have to write a plugin that save this extended field?
Fabian Christen
14 march 2018, 17:19

[pdoTools] 2.11.0 - disabling the total selection by default

Hello friends!

Let's start with some theory. All pdoTools snippets use the pdoFetch class to work with the database. During this, the total number of records will be calculated and set into the placeholder called [[+total]]. For maximum accuracy, this is done using the built-in MySQL functions:
SQL_CALC_FOUND_ROWS `id`,`pagetitle`
And MySQL will know the total amount of records.

After this query, a separate request is made for obtaining the result and setting the placeholder using:
Gauke Pieter Sietzema
15 february 2018, 09:33

ExtJS for dummies. Part 2 — ExtJS Panel

LoadCustomCssJs method in class modExtraManagerController adds to the page your styles and scripts. Let's start our first extjs script using this method.

class ThingsIndexManagerController extends modExtraManagerController {
    public function getPageTitle() {
        return 'Things';
    public function getTemplateFile() {
        return dirname(__FILE__) . '/home.tpl';
    public function loadCustomCssJs() {
            Ext.onReady(function() {
                var title = 'Мой заголовок';
                var msg = 'Модель DOM готова...';
Илья Уткин
26 december 2017, 12:35

MODX Meetup @ Grünenwald, Switzerland

Date: February, 8th — 11th 2018
Location: Gasthaus Grünenwald, Grünenwald 1, 6390 Engelberg, Switzerland

The Gasthaus Grünenwald is situated outside the mountain village of Engelberg. A quite famous ski ressort in Switzerland. Located centrally, about 30 kilometres from Lucerne.

It was built a 100 years ago an run, since 20 years, by some music addicted guys and gals. A lot of bands come here to rehearse, but now we want to invite MODX addicts for a few days of tech and snow.
Fabian Christen
06 december 2017, 02:02

ExtJS for dummies. Part 1 — Namespace and Controller

We will see the creation of MODX extra step by step in the next few lessons. In the lessons we do not use ready solutions, such as modExtra or Doodles. We will take all of the steps manually.

Илья Уткин
04 december 2017, 14:29

Work with MODX from IDE without manager

Hello friends!

MODXpo 2017 is going right now and I want to share with you my presentation that was just shown. The idea is to develop sites without login to the manager, directly from PhpStorm.

I propose to do this through my package, which will install the necessary resources, settings, templates and anything at all. This is not for developing extras, it's for website development.
Василий Наумкин
11 november 2017, 12:20