jd440 Posted November 28, 2016 Share Posted November 28, 2016 (edited) Bonjour à tous, Je suis entrain de me développer un module d'export de commande dans le cadre d'un multiboutique. Mon soucis est que les commandes exporté correspondent à celle de la boutique appelé: maboutique1.com/modules/export/cron.php --> export des commandes de la boutique1 maboutique2.com/modules/export/cron.php --> export des commandes de la boutique2 Hors je voudrais que toute les commandes de toute les boutiques soit exportées. d'ou ma question comment pourrais définir le context à id_shop_group = 1 id_shop = "" Edited November 28, 2016 by jd440 (see edit history) Link to comment Share on other sites More sharing options...
prestarocket Posted November 28, 2016 Share Posted November 28, 2016 Hello, Tu peux faire une boucle sur les boutiques, non ? Link to comment Share on other sites More sharing options...
erouvier29 Posted November 29, 2016 Share Posted November 29, 2016 Shop::setContext(Shop::CONTEXT_GROUP, 1) 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