Multistore Build modules and plugins for Cotonti v.0.9.26
Features of the Multistore module for CMF Cotonti v.0.9.26
Supports multiple online stores from one or many sellers.
The "Multistore" build implements a virtual concept of a physical marketplace where sellers of different goods can have their own storefront.
- MStore Excel Import - import products from Excel.
- Mstore Filter - product filter
- Mstore Price - differentiated prices and currencies for products
- Mstore User Products - products by sellers
This plugin greatly simplifies filling the storefront with products.
Take any Excel file where the first row contains field names with their relevant content, upload it in the plugin’s admin panel, and you’ll see your Excel headers, for example: ProductCode, Title, Description, Price, CategoryName, UniqueID, ProductOnline, HTMLTitle, ID_user.
On the left is the list of fields, and on the right a dropdown with your Excel column names. You map them (e.g., Category → CategoryName, Owner ID → ID_user), and then import. The whole procedure (upload, mapping, import) takes less than 2 minutes.
Required fields: Category, Title, Text, Owner ID.
Be careful with the Owner ID field — it’s the user ID of the seller whose products you are importing. If not specified, the seller will be admin.
Settings include an option to automatically remove all links from product descriptions.
The Mstore Filter plugin provides dynamic filtering capabilities for the Mstore module in Cotonti.
It allows admins to define custom filter parameters for products and lets users filter products by these attributes (e.g., battery capacity, frame type, color).
The plugin supports multiple filter types (range, select, checkboxes, radio buttons) and integrates easily with the Mstore module.
Filtering is performed using SQL queries linking products with filter parameters. Supports conditions for ranges (max value), checkboxes (multi-select), and single values (select/radio). Displays the number of products found or a “no results” message.
Differentiated prices and currencies for wholesale and retail sellers mean that different buyer categories (wholesale, dropshipping, retail) get different prices for the same product. Additionally, different currencies may be used depending on factors and market conditions.
For example, the product "E-Scooter X" may have:
- Retail price: 125.00 USD
- Wholesale price: 100.00 EUR
- MSRP: 12000.00 RUB
- Pre-order price: 1.20 BTC
- Dropshipping: 110.00 USDT
The names of each price and currency are configured in the Mstore Price admin panel.
When editing a product, all created price types are available, and you can set different prices in different currencies.
The "Sellers and their products" plugin is a simple and convenient tool to display a list of users with their product counts and a detailed list of each seller’s products.
When viewing the product list, items can be filtered by categories from a dropdown. Only categories where the seller has listed products are shown.
- Install the website engine CMF Cotonti.
- Download the source code of the "Multistore" build from the GitHub repository and extract the archive to your computer.
- Upload the contents of the
cot-multistore-mainfolder to the root of your website where your CMF Cotonti is already installed. - Open
/datas/config.phpand set the frontend and admin themes:
$cfg['defaulttheme'] = '2waydeal'; // Default theme code. frontend
$cfg['admintheme'] = 'cotcp'; // Put custom administration theme name here- Create a folder named
attacherin the root of your website for storing images and files. - Install the
mstoremodule first, then install the remaining plugins:
attacher— attaches images and files to productsmstoreautoalias— generates aliases from product titlesmstoreexcelimport— imports products from Excelmstorefilter— product filtermstoreprice— prices and currenciesmstoreuserproducts— lists of sellers and their products on the site
At the moment, the source code is being refactored and adapted for compatibility with PHP 8.4+, and therefore there may be various kinds of bugs and errors during the use of the Multistore build. All of them are quite easy to fix and solve, do not be afraid of them and give up if you do not understand something. Write about all the errors and bugs in the Multistore website assembly on the support forum and you will be the first to learn about their debugging. For any errors or questions, please post on the "Multistore" support forum here.
Возможности модуля Multistore для Cotonti v.0.9.26
Поддержка нескольких интернет-магазинов как от одного так и многих продавцов.
Сборка сайта "Multistore" - реализует виртуальную концепцию физического рынка, где могут быть продавцы совершенно разных товаров и у каждого продавца может быть свой прилавок.
- MStore Excel Import - импорт товаров из Excel документа.
- Mstore Filter - фильтр товаров
- Mstore Price - дифференцированные цены и валюты на товар
- Mstore User Products - Товары по продавцам
Плагин получился действительно упрощающий наполнение витрины товаров. Берем любой Excel документ, в котором в первой строке должны быть названия полей с их ревалентным содержим, загружаем в админке плагина, и в результате видим ваши заголовки из Excel, например, - Код_товара, Название_позиции, Описание, Цена, Название_группы, Уникальный_идентификатор, Продукт_на_сайте, HTML_заголовок, ID_user.
Слева список полей, а справа выпадающий список названий колонок в вашем Excel. Проставляем "пары", например Category это Название_группы, или Owner ID это будет ID_user, и так по каждому полю, которые будут задействованы для импорта, а затем импортируем. Процедура загрузки файла, сопоставления полей, и завершения импорта занимает меньше двух минут.
Обязательными полями являются: Category, Title, Text и Owner ID.
Будьте внимательны с полем Owner ID - это ID пользователя на сайте, на имя которого как продавца вы импортируете товары. Если вы его не укажите то продавцом будет админ.
В настройках плагина есть опция, которая позволяет удалять все ссылки в описаниях товаров.
Плагин Mstore Filter предоставляет возможности динамической фильтрации для модуля Mstore на CMF Cotonti.
Он позволяет администраторам задавать пользовательские параметры фильтрации для товаров и дает пользователям возможность фильтровать товары по этим параметрам, таким как пользовательские атрибуты (например, ёмкость батареи, тип рамы или цвет). Плагин поддерживает несколько типов фильтров (диапазон, выбор, чекбоксы, радиокнопки) и легко интегрируется с модулем Mstore.
Фильтрация списка товаров выполняется через SQL-запросы для связи товаров с параметрами фильтра. Поддерживает условия для диапазонов (максимальное значение), чекбоксов (множественный выбор) и одиночных значений (select/radio). Показывает количество найденных товаров или сообщение об отсутствии результатов.
Дифференцированные цены и валюты для оптовых и розничных продавцов означают, что для разных категорий покупателей (оптовых, дропшипперов и розничных) устанавливаются разные цены на один и тот же товар. Кроме этого, также могут использоваться разные валюты на товар, в зависимости от различных факторов и рыночных условий.
Например, есть некий товар, с названием "Электросамокат X" и он может иметь такие цены и валюты:
- Розничная цена 125.00 USD (Доллар США)
- Оптовая цена 100.00 EUR (Евро)
- РРЦ (Рекоменд.Розница) 12000.00 RUB (Российский рубль)
- Стоимость "Под заказ" 1.20 BTC (Bitcoin)
- Дропшиппинг 110.00 USDT (Tether)
На самом деле, название каждой цены и каждой валюты заполняется в админке плагина "Mstore Price".
При редактировании карточки товара "подтягивается" всё, что вы создали в админке плагина, и вы можете устанавливать разные цены в разной валюте.
Плагин "Список продавцов и их товаров" — это простой и удобный инструмент показать список пользователей с количеством товаров у каждого продавца и подробный список самих товаров у конкретного пользователя.
При просмотре списка товаров можно фильтровать товары по категориям из выпадающего списка. Стоит отметить, что в списке только те категории, в которых данный пользователь размещал товары.
- Устанавливаем движок сайта CMF Cotonti.
- Скачиваем исходный код сборки "Multistore" с репозитория на GitHub и распаковываем архив на компьютер.
- Содержимое папки
cot-multistore-mainзагрузить в корень сайта, где уже установлен ваш CMF Cotonti. - Открываем
/datas/config.phpи прописываем темы фронт-энда и админки:
$cfg['defaulttheme'] = '2waydeal'; // Default theme code. frontend
$cfg['admintheme'] = 'cotcp'; // Put custom administration theme name here- В корне сайта создаем папку
attacher— для хранения картинок и файлов. - Сразу устанавливается модуль
mstore, а затем уже остальные плагины:
attacher— прикрепление к товарам картинок и файловmstoreautoalias— генерация алиасов из заголовковmstoreexcelimport— импорт товаров из Excelmstorefilter— фильтр товаровmstoreprice— цены и валютыmstoreuserproducts— списки продавцов и их товары на сайте
В данный момент исходный код рефакторится и адаптируется для совместимости с PHP 8.4 + и поэтому в процессе использования сборки Multistore могут быть различного рода баги и ошибки. Все они достаточно легко фиксятся и решаются, не стоит их бояться и опускать руки, если что-то не понимаете или не получается. Обо всех ошибках и багах в работе сборки сайта Multistore пишите на форуме поддержки и вы первыми узнаете об их отладке. Обо всех найденных ошибках или возникших вопросах, просьба писать на форуме поддержки сборки "Multistore".
19 Aug 2025