
While there are discussions about what is better than MODX Revo or MODX Evo, I once again want to point out that it is still early to bury the Evo. For those who think that the younger generation of this CMS also still loves, I would like to present my development, which will make it possible to turn MODX Evo into a full-fledged online store.
This solution has its advantages and disadvantages, but I sincerely hope that there will be those to whom the work done will be interesting and useful.
So this is our first release, so maybe you haven't heard anything about SBShop yet. I suggest to get acquainted a little closer.
')
What is SBShop for?
At that time, when I started working on SBShop, and it was 2.5 years ago, there really wasn’t enough really serious decision to develop an online store based on MODX Evolution. But I didn’t really want to switch to other full-fledged solutions, since MODX is our everything (and flexibility, and simplicity, and power), and I was also burdened by my experience with online stores in the studio.
And we needed a solution to develop an online store.
In the end, after looking at different solutions, I decided that it would be better to take up my bike in order to implement my ideas, than to struggle with other solutions and leave Evo.
What came out of it is to judge you.
Technical features
It is worth noting that far from all the concepts have been implemented and we still need to work on many things, but the main features can be assessed right now. Especially this point concerns those who are actively engaged in development on MODX.
Kernel extension and data storage
First of all, you will find here a new kind of expansion, which you probably have not yet met. SBShop - MODX kernel extension first. Thanks to this, you can access any online store data through
$ modx-> sbshop . There is also a management module and an auxiliary plugin with a snippet. This is an important feature that creates some nuances.
In addition, it is worth noting that all sections, products, orders, etc. stored in separate tables. This is the second important feature.
As a result, you can create a huge amount of goods
over 9000 , as they are not tied to MODX resources, but many standard MODX extensions do not know anything about the store. They cannot make a menu for it or provide a search. All of this requires separate solutions.
CNC
It is. Despite the fact that all the data in separate tables you will receive a catalog with the usual CNC, like on ordinary pages.
Caching
Unfortunately we have to admit that in the first version it simply does not exist. That is, all pages are generated continuously and this is a minus. There are not many requests and they are all fairly light, so the online store can work temporarily and so. In addition, while an emergency request to add caching has been received. In the next versions, it will definitely appear.
API
The kernel extension allows you to use your own SBShop API. This makes it possible to make some additional decisions. Let's say you can easily make a snippet that will do a sidebar about the product directly into the content of the text page.
Templates
Here you will see familiar placeholders, as elsewhere in MODX. At the same time, the templates themselves are stored in files, which makes it easier to edit them. Also partially used and patterns of the MODX. What is interesting in SBShop templates is that you can easily make calls to any snippet and chunks, as usual.
Documentation
That is frankly bad with her. All the available time was spent on development and they simply did not reach the documentation. I myself, of course, easily get along without it, but just so right off to master this solution is not as easy as some ordinary snippet like Ditto. The only thing that I always willingly go to the discussion and try to help with advice and advice to those who need them.
Online Store Features
Let's move on from the technical issues and try to understand what SBShop can offer if you try to compare it with other solutions for the development of online stores.
- management of sections and goods
- simple performance management (really simple)
- convenient image and file management for the product
- optional components for the goods
- ready-made equipment with a specific set of components
- mass price regulation using surcharges
- order management
- export to YML
What is not yet:- caching
- payment system support
- shipping accounting
- user and personal account registration
- integration with 1C
Demo version
Made very conditional to save time. But in management you can easily practice and understand what happened as a result.
Total
I will be glad to any useful advice, ideas, suggestions, and if someone adopts this development. Everything is free and open - GPL.
UPD1: Periodically admin panel is not available (locked). Some visitors train in its blocking, since everything is open. Trying to minimize the impact of the locking mechanism.
UPD2: Login is simplified. It should all work.
UPD3: Demos no longer exist, as it does not give someone peace, which leads to its instantaneous breakdown. Apparently this publication upset someone or crossed the road.