> For the complete documentation index, see [llms.txt](https://docs.kbgfuzion.com/erp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.kbgfuzion.com/erp/knowledge-base/products/delete-products-bulk-delete.md).

# Delete products (bulk delete)

### Deleting individual product <a href="#deleting-individual-product" id="deleting-individual-product"></a>

To delete a single product&#x20;

Go to `Products -> List Products -> Actions -> Delete`

### Delete multiple products <a href="#bulk-delete-multiple-products" id="bulk-delete-multiple-products"></a>

When you want to delete multiple products at the same time you can use this feature.

To bulk-delete products

1. Go to `Products -> List Products ->  Click the checkbox` of every product that you want to delete
2. And you will see the `Delete Selected` button at the bottom of the data tables,
3. Then click on it.

### Common errors

Deleting a product will remove the product from the database.

{% hint style="info" %}
**Important:**

This delete feature will not work if the product has some transactions related to it.&#x20;
{% endhint %}

The transaction can be an Opening Stock, Purchase, Sales, or Stock transfer of the product.&#x20;

It will show some errors like:

{% hint style="danger" %}
Product can’t be deleted because purchases related to this product exist
{% endhint %}

{% hint style="danger" %}
Some products couldn’t be deleted because it has transaction related to it
{% endhint %}

There are several reasons that this issue might come and to avoid follow the steps below.

* [x] When a product has any transactions it cannot be deleted.
* [x] Transactions can be either Sales, Purchase, or Adding opening stock.
* [x] The best way to avoid such products is by deactivation them


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.kbgfuzion.com/erp/knowledge-base/products/delete-products-bulk-delete.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
