Jump to content

Cant cancel an order


Recommended Posts

Hello,

 

A customer bought an item to 0USD insted of 100USD. The problem was a misconfigurated attribute.

 

When I saw that, I fixed the attribute so the price was correct.

 

After that, I get to the order an tried to cancel it.

But I get this error:

 

 

[PrestaShopException]

Property StockAvailable->id_product is empty
at line 909 in file classes/ObjectModel.php

904.             }
905. 
906.             $message = $this->validateField($field, $this->$field);
907.             if ($message !== true) {
908.                 if ($die) {
909.                     throw new PrestaShopException($message);
910.                 }
911.                 return $error_return ? $message : false;
912.             }
913.         }
914. 

How do I fix this ?

 

Line 909 has red font.

Edited by shinetech.dk (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...