Since the sub-kart-plugins would need kart it would make more sense to have them within the kart folder and not in the standard plugin folder, wouldn’t it?
So installation could be as follows:
You drop the kart folder in the plugin folder (or a git submodule) - then go to the panel, open the hamburger menu, select “Shop” which would copy the blueprints and templates into the site folder
PS: no matter whats the name for the plugin, I would really recommend white labeling the panel plugins (Calling it Shop or E-Commerce). It’s called “Panel” and not “Kirby” - that’s one of the many beauties of kirby CMS: No logo, no name, nowhere in the panel.
I agree, it’s really one of the smallest problems to copy a few files or folders into the right places. I don’t think we want to end up with the mess we have in Wordpress, Joomla and Co. where the files are all over the place which makes it difficult to handle. let alone getting it ready for production …
I would assume this gets dropped into Kirby’s config folder. There’s already config.php in there, there could be a kart.php too. That way a developer could manage it by hand, or through the panel.
I think the discussion has already proven that one plugin, with optional child modules, is the best structure. (Not the least of reasons: for easy de-installation) Now to decide if it’s going to be a standard Kirby plugin, or a separate panel.
I’d say you really want to set it up and change it through the panel. I’m thinking about, when it comes to coupon codes and things like this, you don’t want to manage this through editing a config file
If it can be realized through the panel hooks coming in next releases, I’d go for standard plugin and living inside the Kirby panel as @BenSeitz described.
Yeah no kidding. I think I’m going to have to make my own development forum eventually. For now, I did make a github repo, if you want to start posting Ideas / Suggestions in the Issues area.
I’ll set up a domain & forum eventually. In these early stages, I do think having a thread on the Kirby forum is valuable, I want to get as many thoughts, concerns and ideas as possible from the developers who will actually be using it.
In keeping with the Kirby spirit, I think it should. Configuration and content should all be manageable through a standard text editor, the Kirby Panel extensions would just be “bonus”.
Since you need to save a lot of information with a customer (shopping cart, adress, …) this would only work if by then user roles can have custom fields.
And: Changing the username (without creating a mess) wouldn’t be possible, which would be bad user experience.
I haven’t done much with Kirby user roles. On all the sites I’ve done, everybody is an admin. So I guess we’ll see what 2.1 brings before we write the customer module?