Bak Posted January 8, 2012 Share Posted January 8, 2012 Bonjour à tous, Un petit soucis avec mon site produits-languedoc.com, j'ai crée une boutique du principe d'un compte multi vendeur. Mais lorsque je passe une commande par paypal ou par chèque celle ci se réalise correctement, je reçois les fonds sur le compte paypal. par contre la commande n’apparaît dans l'onglet commande et pour la voir il faut aller dans client et on aperçoit la commande en "annulé" ( voir fichier joint) Quelqu'un à déjà eu ce problème et si quelqu’un a la solutions. Merci et bon week end Link to comment Share on other sites More sharing options...
Samy_R Posted January 8, 2012 Share Posted January 8, 2012 Bonjour à tous, Un petit soucis avec mon site produits-languedoc.com, j'ai crée une boutique du principe d'un compte multi vendeur. Mais lorsque je passe une commande par paypal ou par chèque celle ci se réalise correctement, je reçois les fonds sur le compte paypal. par contre la commande n’apparaît dans l'onglet commande et pour la voir il faut aller dans client et on aperçoit la commande en "annulé" ( voir fichier joint) Quelqu'un à déjà eu ce problème et si quelqu’un a la solutions. Merci et bon week end Quelle version de Prestashop ? Link to comment Share on other sites More sharing options...
Bak Posted January 8, 2012 Author Share Posted January 8, 2012 Bonjour la version PrestaShop™ 1.4.6.2 Link to comment Share on other sites More sharing options...
Bak Posted January 8, 2012 Author Share Posted January 8, 2012 re j'ai installé un module pour un site multi-vendeur voici la procédure d'installation, il y a peut être un conflit? New Install ====================== 1. Login to PrestaShop back office and click Modules tab 2. Click "Add a module from my computer" and choose the module package you have downlaoded and click "Upload this module" 3. Input "agile" in the search bix of Module page and select "Agile Multiple Seller" 4. Click "install" link under the module, the module will be installed automatically. 5. Copy following files manually From YoueStoreRoot/modules/agilemultipleseller/override/classes/Category.php To: YoueStoreRoot/override/classes/Category.php From YoueStoreRoot/modules/agilemultipleseller/admin/login_seller.php To: YoueStoreRoot/YourAdminFolder/login_seller.php 6. Modify YourStoreRoot/class/PDF.php Look for following lines public function ProdTabHeader($delivery = false) { After above two lines, insert following lines global $cookie; if(Module::isInstalled('agilemultipleseller') AND intval($cookie->id_employee)>0 AND intval($cookie->profile) == intval(Configuration::get('AGILE_MS_PROFILE_ID'))) { include_once(_PS_MODULE_DIR_ . 'agilemultipleseller/agilemultipleseller.php'); $sellermodule = new AgileMultipleSeller(); $this->SetFont(self::fontname(), 'B', 8); $this->SetTextColor(255, 0, 0); $this->SetFillColor(255, 240, 240); $this->Cell(5, 5, $sellermodule->getL('OtherSellerProductNotice'), 'B'); $this->SetTextColor(0, 0, 0); $this->Ln(); } 7. Click "Configure" link under the module, it will bring you to the module configuration screen Upgrade from old version ======================== 0. As best practice, please back up your database for just in case. 1. Record/Memo the module configuration parameters 2. Backup the mail templates under the module folder only if you have made any customizaiton changes. /modules/agilemultipleseller/mails/ 3. Uninstall old version of Agile Multiple Seller, back office - Modules tab 4. Delete the module (uninstalled already) , Back office - Modules tab (make sure all files are gone via FTP or File manager) 5. Execute above "New Insall" from 1. - 7. 6. Apply the changes you have made on your email template manually again. Please do not use old version to overwrite new version. Your existing data will remain unchanged. But you will need to re-configure the module. PEASE NOTE: After install, the following 5 files will be automatically modoified by the module installer. Please go to check if those files are modified correctly, in case it is not modified correctly, You will need to make the chnages manually. 1 File: /adminFolder/index.php Before following line if ($id_tab = checkingTab($tab)) Add following line if(Module::isInstalled('agilemultipleseller'))include(PS_ADMIN_DIR.'/../modules/agilemultipleseller/tabtranslator.php'); 2 File: /adminFolder/ajax_category_list.php Replace following line if (Tools::getValue('token') != Tools::getAdminTokenLite('AdminCatalog')) With this line if (Tools::getValue('token') != Tools::getAdminTokenLite('AdminCatalog') AND Tools::getValue('token') != Tools::getAdminToken('AdminCatalog'.(int)(Tab::getIdFromClassName('AgileCatalog')).(int)($cookie->id_employee))) 3 File: /adminFolder/ajax_product_list.php Find following line FROM`'._DB_PREFIX_.'product`p Replace above line with this line FROM `'._DB_PREFIX_.'product` p ' . ((intval($cookie->profile) == intval(Configuration::get('AGILE_MS_PROFILE_ID')))? 'INNER JOIN `'._DB_PREFIX_.'product_owner` po ON (p.id_product=po.id_product AND po.id_owner=' . $cookie->id_employee . ')' :'') . ' 4 File: /adminFolder/tabs/AdminCatalog.php Change the following two lines "private" to "protected" private $adminCategories; private $adminProducts; 5 File: /adminFolder/tabs/AdminCMSContent.php Change the following two lines "private" to "protected" private $adminCMSCategories; private $adminCMS; 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