Jump to content

garcialopez

Members
  • Posts

    11
  • Joined

  • Last visited

Everything posted by garcialopez

  1. Are you sure? I tried it but not working. The stock not increase.
  2. I have an other problem. The mail alert module only appears when a product haven't stock in some combinatios. (Color blue no stock and color red in stock). For example, in other products where there aren't color blue and color red not appear. How can I fix it?
  3. The script works. I only need assign at my new state the same functionality that "cancerl order state" has. How can I do that?
  4. I have added my new id order state (11) in OrderDetail.php in checkProductStock function, but it doesn't work. Any idea? Please help! if($id_order_state != Configuration::get('PS_OS_CANCELED') && $id_order_state != Configuration::get('PS_OS_ERROR') && $id_order_state !=11) { ... //not decrease the stock }
  5. Hi, I have created a new order state. Its call ''Transfer canceled". I want that it works as a the "canceled order state". In "canceled order state" the product increase his stock in 1. And in my new state the product decrease in 1. I think I have to edit the function checkProductStock in OrderDetail.php. Is it alright? There appear a 'PS_OS_CANCELED' state... how is it the name of my new state?
  6. I am looking in the code the part where canceled order status is increasing the stock when it is active. But at the moment I don't find it.
  7. Hi! How can you resolve that? I have the same problem, I have a order status that it is the same that cancelled. I need to put the correct stock, not one left. Please help!
×
×
  • Create New...