Jump to content

simonfard

Members
  • Posts

    9
  • Joined

  • Last visited

Everything posted by simonfard

  1. Hi, i used below to get a tracking pixel works fine but after the last update (1.7.5.1) it doesnt work any more, any idea please? $order = new Order((int)$this->id_order); $this->context->smarty->assign('order_total', $order->getTotalProductsWithTaxes()); in override / controllers / front / OrderConfirmationController.php and then {$order_total} in the tracking code in theme/ templates / checkout / order-confirmation.tpl the tracking code is like: <img src="https://track.******/track/6211/?hash=********={$order_total}&reference={$order.details.reference}" width="0" height="0"> {$order.details.reference} this works yet but not {$order_total} Thanks Simon
  2. Hi, i have an issue in PS 1.7.2.4 No orders created and every orders seems like a not finished shopping bag, when we try to confirm the order from the shopping bags we got the error below: Property Order->secure_key are not valid at line 944 in file classes/ObjectModel.php } $message = $this->validateField($field, $this->$field); if ($message !== true) { if ($die) { throw new PrestaShopException($message); } return $error_return ? $message : false; } } ObjectModelCore->validateFields - [line 272 - classes/ObjectModel.php] ObjectModelCore->getFields - [line 307 - classes/order/Order.php] OrderCore->getFields - [line 518 - classes/ObjectModel.php] ObjectModelCore->add - [line 312 - classes/order/Order.php] - [2 Arguments] OrderCore->add - [line 371 - classes/PaymentModule.php] PaymentModuleCore->validateOrder - [line 1249 - controllers/admin/AdminOrdersController.php] - [9 Arguments] AdminOrdersControllerCore->postProcess - [line 194 - classes/controller/Controller.php] ControllerCore->run - [line 379 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 95 - admin/index.php] Any idea how to sole this? thanks,
  3. Hi to all. We need to place a tracking code(like a Facebook pixel) in order-confirmation.tpl to register every order and make a report with the total order value to the marketing partner. we need to find the variable for both total order value and the order id, please check the link below: <img src="https://track.xxxx.se/track/6211/?hash=XXXXX&value=$ORDER_VALUE&reference=$ORDER_REFERENCE" width="0" height="0"> and the explation is: Please note that $ORDER_VALUE is a placeholder which must be replaced with the total amount of the order. The amount should be in and in the format "XXX[.YY]" without the quotes. Valid examples are: "123", "123.45", "123,45" Please note that $ORDER_REFERENCE is a placeholder which should be replaced with a unique reference for the tracked event. Such as order id for a sale or an email address for a lead. we tried anything, like $subtotal - $totals.total.value - $subtotal.value and so on but nothing works. the code above is places in theme/template/checkout/order-confirmation.tpl Thanks! BR Simon
  4. We tried once again but: [Ajax / Server Error for action rollbackComplete] textStatus: "error " errorThrown:"Internal Server Error " jqXHR: "
  5. but how to do that? we tried with 1-click upgrade and its like a joke! why its so difficult to make an update in prestashop?
  6. Hi, thanks for your reply. we use PrestaShop-version : 1.7.2.4 not change anything, the same issue for both original & custom template. we made a rollback of the whole page for a week ago cause 1-click upggrade made it hard and caused a fattal error, but everything works the only issue is this cart issue. when i try with my web browser(cache is not deleteted) so ajax cart works but now when i deleted the cache so it doesnt work in my web browser either anymore,,,
  7. Hi, we noticed yesterday that the prices shows as 0 in the cart and its not possible to add any product in the shopping bag, in the category and product page are prices real but when we try to add a product to the shopping bag it shows as 0. www.welora.se thanks you for your feedback. BR Simon
  8. Hi, i tried to upgrade my prestashop to the latest version but something happened with the database. please take a look, dont know how to fix this problem my whole shop is down ;( https://welora.se/
×
×
  • Create New...