phoneaccessoire Posted September 11, 2012 Posted September 11, 2012 Bonjour, J'ai acheté un module qui me permet d'exporter au format pdf mes produits. Le module est bien conçu, cependant, je l'ai acheté afin d'exporter mes produits pour mes clients PRO. J'aimerai pouvoir le modifier afin qu'il exporte mes produits en tenant compte des tarifs revendeur (ID3 sur ma boutique) Voici l'extrait de code qui gère le choix du groupe de client : public static function getDefaultGroupId($id_customer) { if (!isset(self::$_defaultGroupId[(int)($id_customer)])) self::$_defaultGroupId[(int)($id_customer)] = Db::getInstance()->getValue('SELECT `id_default_group` FROM `'._DB_PREFIX_.'customer` WHERE `id_customer` = '.(int)$id_customer); return self::$_defaultGroupId[(int)($id_customer)]; } Que dois-je remplacer afin que les prix exportés soient ceux de l'ID3 (groupe revendeur) ? Merci Share this post Link to post 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