When I change the status of the order I run a function in my module to change the order data to others with an api. The thing is that the status changes but in the status history of the order it does not appear that this status has ever been set on that order. I use the ActionOrderStatusPostUpdate hook. Should I do it another way with a different hook so as not to interrupt the function that makes the state change?
PS 1.7.8.5, PHP 7.4 and Warehouse theme from IQIT, yes but accesories are related products and I didnt wanted to touch anything from Prestashop, so I just made a module that kinda does the same.
So I added a module that lets you add "accessories" to a product, but the button to add to the cart any of those products doesnt really do anything. I tried to get the json to update the cart because thats what I show in some forum, but it doesn't work. Any ideas?
So I've been modifying the invoice dates and I've encountered a problem that in the header of the invoice the invoice date doesn't show but in the body it does. What I don't understand is that both templates use the same line to show the date ({dateFormat date=$order->invoice_date full=0}) any ideas of what it could be?
thx