Deleted=true vs Published=false

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
5 years ago
Hi

As my title says, I would like to know what the difference is between Deleted=true and Published=false.
As a customer i guess the situation is the same, but there must be some reason to have this difference.
Is it, that you can republish it from admin and you cant undelete it from admin?
Other differences?

Best regards,
Axel
5 years ago
Delete makes a product completely unusable / not-visible anywhere in the system (public or admin), except in old Orders that contained the product.  (The product still remains in the DB table, so those old orders can still reference it).

Publish impacts whether the product appears (or is searchable) in the public store.
5 years ago
The reason why we need "Deleted = True" is because nopCommerce uses 'soft delete' method. Which means entities are not actually deleted from database, they are instead marked as deleted.


This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.