Search the Community
Showing results for tags 'OrderController'.
-
Does anyone know how to call Class method inside OrderController.php > viewAction ? For example, I'm trying to get the related order message from db table `ps_message` with this method $message = Message::getMessagesByOrderId($orderId); But it's error
- 4 replies
-
- ordercontroller
- prestashop 1.7.7.1
-
(and 1 more)
Tagged with:
-
Hello everybody I need to know how to add a product gift. Actually, in OrderController override i have this: if (...){ $Cart = $this->context->cart; $Cart->updateQty($quantity, $id_product, $id_product_attribute = null, $id_customization = false, $operator = 'up', $id_address_delivery = 0, $...
-
- Add products
- Gift
-
(and 1 more)
Tagged with:
-
Hi, I've a general question about overriding the default behavior of Prestashop like: OrderControllers, if it possible if I could override the same controller in different modules and all modules overridden controllers has it's own properties, it is possible if all changes will modify the defaul...
- 1 reply
-
- Override
- orderController
-
(and 3 more)
Tagged with:
-
Can someone help me to get the group ID / group Name in the ParentOrderController? I want to configure the order opc for a certain customer group like this: if (Configuration::get('PS_ORDER_PROCESS_TYPE') == 0 && groupName != 'a' && strpos($_SERVER['PHP_SELF'], 'order.php') === false) Tools::redi...
- 1 reply
-
- controller
- group
-
(and 2 more)
Tagged with:
-
bonjour à toutes et à tous. Je me permets de venir vers vous à la recherche d'une info concernant le fichier OrderController qui se trouve dans Controllers > Front > OrderController.php Je reprends le développement d'une adapation du code source, mais je butte sur un problème. En fait je voudr...
- 3 replies
-
- orderController
- function
-
(and 2 more)
Tagged with:
-
Hello, how to skip shipping step if carrier is not available? I tried in order controller.... (prestashop 1.4) Thanks.
-
Hello, I just came up with a strange overrides performance, or bug. Dont' know, what is this yet. Here is what I have: First of all, I have an override for Cart.php override/classes/Cart.php in this overrinde, I am updating getOrderTotal (...) function. I have added some cookie value...
-
- override
- OrderController
-
(and 1 more)
Tagged with:
-
Estoy teniendo un problema serio a la hora de que mis clientes realicen CheckOut. Justo después de elegir el Modo de Envío, antes de seleccionar forma de pago, sale un aviso de warning que no deja avanzar. El aviso es el siguiente: Warning: include(/home/mimundoa/public_html/controllers/fro...