Jump to content

cosmoll

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by cosmoll

  1. Prestashop 1.7.8.11 does not work with php > 7.4🫠
  2. Hi, Supercheckout was working fine and then it happened 🫣😞 and the products are not displayed in the cart After Reset the module /modules/supercheckout/controllers/front/SupercheckoutCore.php line 124 $this->supercheckout_settings['html_value']['header'] /classes/controller/Controller.php line 287 $this->init(); if ($this->checkAccess()) { // setMedia MUST be called before postProcess if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) { $this->setMedia(); } // postProcess handles ajaxProcess $this->postProcess(); if (!empty($this->redirect_after)) { $this->redirect(); } if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) { $this->initHeader(); } if ($this->viewAccess()) { $this->initContent(); } else { $this->errors[] = $this->trans('Access denied.', [], 'Admin.Notifications.Error'); } if (!$this->content_only && ($this->display_footer || (isset($this->className) && $this->className))) { $this->initFooter(); } // Default behavior for ajax process is to use $_POST[action] or $_GET[action] // then using displayAjax[action] if ($this->ajax) { $action = Tools::toCamelCase(Tools::getValue('action'), true); if (!empty($action) && method_exists($this, 'displayAjax' . $action)) { $this->{'displayAjax' . $action}(); } elseif (method_exists($this, 'displayAjax')) { $this->displayAjax(); } } else { $this->display(); } } else { $this->initCursedPage(); $this->smartyOutputContent($this->layout); } /classes/Dispatcher.php line 525 $controller->run(); // Execute hook dispatcher after if (isset($params_hook_action_dispatcher)) { Hook::exec('actionDispatcherAfter', $params_hook_action_dispatcher); } /public_html/index.php line 31 Dispatcher::getInstance()->dispatch(); //cleantalk-usp/bottom_code/start if(ob_get_contents()){ ob_end_flush(); } if(isset($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) == 'xmlhttprequest'){ die(); } //cleantalk-usp/bottom_code/end
  3. I found this solution - https://stackoverflow.com/questions/53057852/prestashop-1-7-4-x-missing-variables-values-when-using-order-conf-as-new-email but it not work for me (prestashop 1.7.5.1) maybe someone found a working solution....??
  4. You can buy an extension for PrestaShop or you can do it yourself, fix just two lines of code. So, open the file /classes/tools.php and find this (twice): Currency::getCurrencyInstance((int)$cookie->id_currency); And replace it to Currency::getCurrencyInstance(N); where N is an id of currency (1, 2, 3 etc.). That's all. Don't forget to save the file. Tested with PrestaShop 1.6.
  5. You can buy an extension for PrestaShop or you can do it yourself, fix just two lines of code. So, open the file /classes/tools.php and find this (twice): Currency::getCurrencyInstance((int)$cookie->id_currency); And replace it to Currency::getCurrencyInstance(N); where N is an id of currency (1, 2, 3 etc.). That's all. Don't forget to save the file. Tested with PrestaShop 1.6.
×
×
  • Create New...