quantum Posted June 9, 2023 Share Posted June 9, 2023 (edited) Hello, We have been using Prestashop for a long time. But a non-trivial task for Prestashop mechanisms is coming to our business. And I want to use the native capabilities of PS as much as possible, but this is already beyond them. In short, the task is this, depending on certain conditions at the time of checkout (in our case, these will be two scenarios: placing an order for (1) an individual or (2) for an organization), then you will need to use all modules with different configurations. For example, there are payment modules and they have configurations in their settings. So, depending on the scenario (1) or (2) - the configurations should be different. And so on all the modules we need. We don't need to use a native multi-shop feature, as this is not what we need. But I noticed that some of the principles of the multi-shop are very reminiscent of what required! Depending on the context, modules can get themselves configurations saved for a particular store. There are ideas whether it is possible to implement such a module that would overrides the operation of the multistore so that the principles of saving/retrieving module settings would only apply to a certain list of modules, and the switch in the BackOffice would appear only on those pages where this functionality should be used. Most likely I can call it not as MultiShop, but as multiconfiguration )) And then, appropriately, our custom checkout during the order will switch, so to speak, the context of the store (like a configuration), and then all modules that use this principle will already work with settings from another context. Edited June 9, 2023 by quantum (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now