我安装了Prestashop 1.6.1.4。
安装并启用邮件提醒后我遇到了问题,问题是当客户下订单时订单详细信息没有显示在订单页面中! 禁用此模块后问题仍然存在!
我该怎么做才能解决这个问题?
加了: 我在配置中打开了错误,我看到了很多错误,我认为它与该模块无关!
[PrestaShopDatabaseException]
Unknown column 'original_wholesale_price' in 'field list'
INSERT INTO `ps_order_detail` (`id_order`, `id_order_invoice`, `id_warehouse`, `id_shop`, `product_id`, `product_attribute_id`, `product_name`, `product_quantity`, `product_quantity_in_stock`, `product_quantity_return`, `product_quantity_refunded`, `product_quantity_reinjected`, `product_price`, `reduction_percent`, `reduction_amount`, `reduction_amount_tax_incl`, `reduction_amount_tax_excl`, `group_reduction`, `product_quantity_discount`, `product_ean13`, `product_upc`, `product_reference`, `product_supplier_reference`, `product_weight`, `tax_name`, `tax_rate`, `tax_computation_method`, `id_tax_rules_group`, `ecotax`, `ecotax_tax_rate`, `discount_quantity_applied`, `download_hash`, `download_nb`, `download_deadline`, `unit_price_tax_incl`, `unit_price_tax_excl`, `total_price_tax_incl`, `total_price_tax_excl`, `total_shipping_price_tax_excl`, `total_shipping_price_tax_incl`, `purchase_supplier_price`, `original_product_price`, `original_wholesale_price`) VALUES ('2', '0', '0', '1', '54', '140', 'سبد بافت استوانه زیباسازان - رنگ : قهوه ای', '1', '1', '0', '0', '0', '20000', '0', '0', '0', '0', '0', '0', '', '', '', '', '0', '', '0', '0', '0', '0', '0', '0', '', '0', '0000-00-00 00:00:00', '20000', '20000', '20000', '20000', '0', '0', '0', '20000', '0')
at line 791 in file classes/db/Db.php
786. if ($webservice_call && $errno) {
787. $dbg = debug_backtrace();
788. WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);
789. } elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) {
790. if ($sql) {
791. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');
792. }
793.
794. throw new PrestaShopDatabaseException($this->getMsgError());
795. }
796. }
DbCore->displayError - [line 425 - classes/db/Db.php] - [1 Arguments]
DbCore->query - [line 763 - classes/db/Db.php] - [1 Arguments]
DbCore->q - [line 514 - classes/db/Db.php] - [2 Arguments]
DbCore->insert - [line 487 - classes/ObjectModel.php] - [3 Arguments]
ObjectModelCore->add - [line 802 - classes/order/OrderDetail.php] - [2 Arguments]
OrderDetailCore->add - [line 445 - classes/ObjectModel.php] - [2 Arguments]
ObjectModelCore->save - [line 653 - classes/order/OrderDetail.php]
OrderDetailCore->create - [line 678 - classes/order/OrderDetail.php] - [7 Arguments]
OrderDetailCore->createList - [line 364 - classes/PaymentModule.php] - [7 Arguments]
PaymentModuleCore->validateOrder - [line 59 - modules/cashondelivery/controllers/front/validation.php] - [9 Arguments]
CashondeliveryValidationModuleFrontController->postProcess - [line 178 - classes/controller/Controller.php]
ControllerCore->run - [line 367 - classes/Dispatcher.php]
DispatcherCore->dispatch - [line 28 - index.php]
有这个错误的想法吗?