New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The "add a product" page creates a ghost product the moment you open it #9945
Comments
il semblerait que Classic affiche tous les produits de la base qui sont display=yes et non tous ceux du catalogue. Donc quand, par défaut, on a des produits activés mais qu'on ne les save pas, ils sont en base et actifs. |
I don't know how I created my ghost product, but it could be in the same way that the bug reporter. I have a ghost product too that appears in "feature products" and I cannot delete it. If you need to see something in my store, just say it. If not, I'll delete the product from database in a few days. Thanks. |
Ce problème se pose car PrestaShop insère le produit en base de donnée dès le clique sur "New product", même si rien n'est renseigné dans la fiche produit. Comportement à revoir lors de la refonte de la page produit |
Hi, this is mark for major and dont fix it??? in what version is reported? 1.7.1? Dates
Very thanks |
Hi, This issue should be solved in 1.7.4. Best regards, Khouloud |
Hello gabriel simchuk There are more important issues to solve before this one. To solve this issue we need to refact all the product page, so yes it will probably not solved before 2019. |
@khouloudbelguith @marionf Look: The product is created, displayed on FO as "new product" but you can't modify or deactivate it because you can't see it in the BO. Is this issue can be fix in 1.7.6? EDIT: If someone has the problem. 2/ change the id "99999" by the missing one. |
It seems to be related to the cache. |
Can be fixed adding an check on the name of product in the templates |
That would work, but it would only hide the real issue 😄. The real issue comes from a bad implementation of the "add a product" page which creates a ghost product the moment you open it (waiting for you to add more informations to link them to this ghost product and make it a real product), and this is what we should rather fix 😉 Also it creates useless SQL rows. |
There are more problem. The SQL requests to check for new products is incomplete and don't check the state. |
when will it be fixed? |
@alfonsolr09 Feel free to make it fixed for the next release by creating a pull request if you have a proper solution. |
I'm not a programmer, I don't have the necessary knowledge if you indicate the path of the files I can try to fix it and do tests |
Any plan to fix this 3 years old issue? It was reported already multiple times. |
Unfortunately, there are many other issues that are more important and take time to be fixed. As you can see above, there are more than 1800 issues, and like Wordpress, Drupal, or any other open-source project, we can't do it alone 😉 |
I understand that. I needed any response for my clients which reported to me this bug and read this discussion. Thank you. |
when will it be fixed? |
Should be fixed with the new product page on 8.1! Don't hesitate to open the issue again if the bug is back :) |
Happy to see this item is finally fixed 😁 in product page v2. |
Hi, sorry to bother everyone. I came up to this thread looking for a solution to my problem. I am working on a test version of my site as to revamp. I was deleting products which are of no interest to me anymore when all of a sudden all products disappeared. I had to go through the import process again and same thing happened. Today, I manually created a product and viewed it in the front end where it shows, there I realised that all products I thought were delated are still available. Now, I went back to backend to find that catalog is empty, and not only that, the new created product is gone also with not deleting action. These products are available in database and front end I I cannot find the reason why they all disappeared. Screen shot of backend is attached. Thanks for the assistance if any. |
Hi @lordchukz, |
Hello @MatShir, I was working on 8.1.0 when this happened. I was deleting some unwanted products in batches when at a point, after the delete, all products in catalog were not available in the Catalog -> Products area of my backend. Products were still available in the front end and database, thus they were not deleted. This was resolved with the 8.1.2 update. Thanks for responding. Regards. |
Describe the bug
Someone in the german forum found a bug and I managed to reproduce it but it´s a little difficult to explain:
If you create a new product and directly leave to the dashboard for example, the shop frontend shows a blank product in the featured products.
And you can´t delete it because the backend don´t see this product. You can only delete it in the database.
The solution is to deactivate the function that new products directly are online. More infos in the reproduce part...
Steps to reproduce
Additional infos
The text was updated successfully, but these errors were encountered: