Hello, could be possible to do a Shop attached to one app, and in that shop add products which it will be read by the app and showed?
So you in combu administrator would add items with price, discounts, etc, and in the app each time the user enters, the app read items from combu (XML or JSON) and update them.
How could do something like that?
Thanks!
PabloAM said
Hello, could be possible to do a Shop attached to one app, and in that shop add products which it will be read by the app and showed?So you in combu administrator would add items with price, discounts, etc, and in the app each time the user enters, the app read items from combu (XML or JSON) and update them.
Well, this is very custom so you would need to create your own PHP classes, webservices and MySql tables. For example you could write your own custom add-on module, take a look at here to see how to create an add-on and then look into one of the core classes in /vendor/skaredcreations/combu/combu (e.g. "News" that is probably the most simple one) to see how to create a class that is "connected" to a MySql table (basically you'll need to have in your class: a const that stores your table name and some public members with name equals to the fields in the table, then create a constructor and methods to Load, Save and Delete records just like it does in News and all other core classes).
FRANCESCO CROCETTI @ SKARED CREATIONS