Jump to content

MP-zoho

Members
  • Posts

    28
  • Joined

  • Last visited

Profile Information

  • Activity
    Web development agency

Recent Profile Visitors

2,113,126 profile views

MP-zoho's Achievements

  1. Bonjour, Avant-tout : Type d’install (nouvelle/MàJ) : nouvelle, mais ça me semble peu important Version de PS : 1.7.8.0 Thème (défaut/perso) : défaut (classic) Code (original/modifié) : original Hébergement : local Version de PHP : 7.4.33 Version de MySQL : MariaDB 10.6.12 Navigateur(s) concerné(s) : FF J'ai fait un import de produit, avec des URLs d'images. Tout a bien fonctionné, j'ai bien mes produits et images. Seulement, c'est que l'image de couverture n'est pas la bonne. Du coup, je souhaiterai savoir comment je peux faire pour mes X produits de changer cette image de couverture (un changement de masse en somme). Bonne journée
  2. Hi all, My trouble is for Prestashop 1.7.8.0 In my module, in the backoffice, I would like to put a link to an order (I have the ID of the order) and I would like to generate a link. I try with getAdminLink('AdminOrders', true, ['id_order' => $_id]) but, I have the page with all orders. Do you know how to generate this link ? Thanks
  3. Re, Au final, j'ai repris tout le module de A à Z et cela fonctionne. Bonne journée
  4. Re, Merci du retour. Si je ne passe que par du template, j'ai que la première déclinaison et pas les suivantes ; c'était pour cela que j'avais fait un petit module et retombe sur mon erreur 500 : Error: Class 'ModuleFrontController' not found. A moins qu'il me manque quelque chose pour récupérer l'ensemble des déclinaisons dans le template, mais je ne sais pas. Bonne journée
  5. Bonjour, Je souhaite afficher mes produits en liste au lieu de l'affichage par défaut (jusque là, tout va bien), mais avec le prix des déclinaisons directement dans cette liste (sans ouvrir le détail du produit) : - salade : 1€ : ajouter au panier - tomate : 0.8kg : 1€ : ajouter au panier 1kg : 1.2€ : ajouter au panier Pour se faire, j'avais fait un petit module, mais avec la migration vers cette version 1.7.8, j'ai quelques soucis. J'ai /modules/delivery/controllers/front/Category.php : <?php class DeliveryCategoryModuleFrontController extends ModuleFrontController { public function initContent() { parent::initContent(); .... Mais j'ai de suite une erreur 500 : le serveur ne trouve pas la Classe ModuleFrontController : Error: Class 'ModuleFrontController' not found Bonne journée
  6. Hi, I install a fresh install of Prestashop 1.7. I import customers from an very old system. Import is ok (customers_import and their addresses_import), but I want reset all their password (for the 1st connexion, automatic reset their password). Thanks
  7. Re, I find my issue. I think the problem comes from php7 migration. To solve, I replace all Validate::$data['xxxx']($yyyy) by call_user_func('Validate::'.$data['xxxx'],$yyyy). Thanks
  8. Re, In fact, if I understand, when Validate::$data or Validate::$values are called, I have an error. I try other form (like, in backend, sending mails parameters) and I have same trouble. Thanks
  9. Hi, When I want to create an account, in the last step (when you finish, you have a refresh to go to "my account" page), I have an error and the account isn't created. In my log, I have this error : PHP Fatal error: Uncaught Error: Access to undeclared static property: Validate::$data in xxxxxxx/www/classes/ObjectModel.php:1149\nStack trace:\n#0 xxxxxxx/www/controllers/front/AuthController.php(437): ObjectModelCore->validateController()\n#1 xxxxxxx/www/controllers/front/AuthController.php(256): AuthControllerCore->processSubmitAccount()\n#2 xxxxxxx/www/classes/controller/Controller.php(178): AuthControllerCore->postProcess()\n#3 xxxxxxx/www/classes/Dispatcher.php(367): ControllerCore->run()\n#4 xxxxxxx/www/index.php(28): DispatcherCore->dispatch()\n#5 {main}\n thrown in xxxxxxx/www/classes/ObjectModel.php on line 1149, referer: http://xxxxxxx.com/connexion?back=my-account Prestashop is v1.6.1.2. Thanks
  10. Re, Yes for both of them and I have no error after import. Just, in DB, most of id_customer in ps_address are changed between my file and the DB : I don't know why. As it's a new install without customer, I can make same ID in my CSV for ps_customer (id_customer) and ps_address (id_address and id_customer). Thanks
  11. Re, Yes, I check this option, but not working. Thanks
  12. Re, Yes, I'm sure. After more search, some customers have their right address, but most of them not (id_customer in ps_address has been changed with import : I don't know why). Finally, I just made directly in my DB UPDATE ps_address SET id_customer=id_address; and it seems good. Thanks
  13. Hi, After a new install (1.6.1.6), I would like to import my customers and their address. So, I make my CSV file and I have my customers in "Customers" and their address in "Address". But, if I open a customer profile, in the address block, I don't have his address : how can I link them ? Thanks
  14. Re, On peut le faire via CSV, donc autant s'en servir. De plus, en BDD, le champs ID du client dans les adresses est correct. Je pense que c'est plus une histoire d'indexage ou un truc du genre. Bonne journée
×
×
  • Create New...