✏️ 正在编辑: orderconfirmation.php
路径:
/home/bpioifn/www/pigmentse/modules/atos/controllers/front/orderconfirmation.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php /** * 2007-2019 PrestaShop * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * @file orderconfirmation.php * @author PrestaShop SA <contact@prestashop.com> * @copyright 2007-2014 PrestaShop SA * @license http://addons.prestashop.com/en/content/12-terms-and-conditions-of-use * * International Registered Trademark & Property of PrestaShop SA */ class AtosOrderConfirmationModuleFrontController extends ModuleFrontController { /** * @throws PrestaShopDatabaseException */ public function initContent() { $this->ajax = true; Tools::redirect($this->getOrderConfirmationUrl()); } public function getOrderConfirmationUrl() { $id_cart = Tools::getValue('id_cart'); $id_customer = Tools::getValue('id_customer'); $secure_key = Tools::getValue('secure_key'); $orderConfirmationUrl = Tools::getShopDomainSsl(true).'/index.php?controller=order-confirmation&key='.$secure_key.'&id_cart='.(int)$id_cart.'&id_module='.(int)$this->module->id.'&id_order='.(int)Order::getIdByCartId($id_cart); return $orderConfirmationUrl; } }
💾 保存文件
← 返回文件管理器