Jump to content

Cannot delete product


Ckay

Recommended Posts

Hi

 

I have a product in my Prestashop site which I cannot delete because it does not even show up in my back office list of products. It does however show in the front office.

 

Any ideas anyone?

 

Thanks in advance.

Link to comment
Share on other sites

From other threads I've found, with a similar problem, people have suggested deleting 'John Doe' orders associated with the product. As it happens, the product in question is not associated with any orders but I thought I'd give it a try.

 

This is now throwing up a rather nasty error when I try and change the status of the order (See error message below). What concerns me is that there is a fundamental flaw somewhere in the system

 

[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. 
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...