# How to Manage Calculators

Currently, active calculators will be displayed in the Calculators tab on the mainboard when you go to the Cost Calculator Builder plugin:

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2Fw8kPyC5pz319aY0Y23Ig%2Fimage.png?alt=media&#x26;token=36f882e7-f569-445b-8ba7-32c40b25908b" alt=""><figcaption></figcaption></figure>

You can see the Calculator ID, Name, and Duplicate, Delete, or Edit actions here. So, in this manual, we will review the following:

* [**How to Edit Calculators?**](#editing-calculators)
* [**How to Duplicate Calculators?**](#duplicating-calculators)
* [**How to Delete Calculators?**](#deleting-calculators)
* [**Bulk Actions**](#bulk-actions)
* [**How to Import and Export Calculators?**](#import-and-export-calculators)

## **How to Edit Calculators?** <a href="#editing-calculators" id="editing-calculators"></a>

1. To edit the saved or the imported calculators, just click the **pencil** :pencil2: **icon** or **click on** the calculator itself:

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FA6GEkdrTX5OHkl5hHOUr%2Fimage.png?alt=media&#x26;token=cfd14a78-856d-49e5-b2eb-3a0dbd9db1ba" alt=""><figcaption></figcaption></figure>

2. After that, you will be directed to the calculator board to make edits.

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FF7XRTBLvxYH2Aja0xwDp%2Fimage.png?alt=media&#x26;token=d7ef6f93-fb7e-458f-ab20-3eb402a6b92d" alt=""><figcaption></figcaption></figure>

## **How to Duplicate Calculators?** <a href="#duplicating-calculators" id="duplicating-calculators"></a>

1. If you need a copy of any calculator, **hover over** the necessary calculator and click the **Duplicate** button:

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FPbKMN5DNq1FsUkI4Qevw%2Fimage.png?alt=media&#x26;token=df0cf67d-6f8f-4615-aee7-11bd01477525" alt=""><figcaption></figcaption></figure>

2. A duplicate of the selected calculator will be created with an additional `(copy x)` in **name** and **new ID** on the same page:&#x20;

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FvgaWClVPFOV5LksN9SRy%2Fimage.png?alt=media&#x26;token=68e99b64-8391-4982-857e-63171703d4ef" alt=""><figcaption></figcaption></figure>

## **How to Delete** **Calculators?** <a href="#deleting-calculators" id="deleting-calculators"></a>

1. To delete a calculator hover over the necessary calculator and click on the **Delete🗑** button:

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FgdP0sjqEObQ1D1awpvNE%2Fimage.png?alt=media&#x26;token=60616f00-0ae7-444c-b20b-1011826c3e38" alt=""><figcaption></figcaption></figure>

2. The plugin shows the warning alert message. Only **after your agreement** by clicking the OK button, the selected calculator will be deleted.

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FRyskzo98zgOTv9lSgrgs%2Fimage.png?alt=media&#x26;token=4cb05036-3d91-4f99-8671-f0f6e4f9446f" alt=""><figcaption></figcaption></figure>

3. Success notification message confirms the deletion:

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2Ftxj9kySxiuadoNYiUvN0%2Fimage.png?alt=media&#x26;token=fb44c1a9-932d-4749-8486-49cf46ac2927" alt=""><figcaption></figcaption></figure>

{% hint style="info" %} <mark style="color:blue;">**NOTE**</mark>

The calculators created using the CCB plugin are stored in a **database of your websit**e. That's why if you **deactivate** or **delete** the plugin from your website, calculators **will not be lost**. You will get them again once you **reinstall**/**reactivate** the plugin.
{% endhint %}

## Bulk Actions <a href="#bulk-actions" id="bulk-actions"></a>

You can select multiple calculators and apply **Bulk Actions (**[**Delete** ](#deleting-calculators)or [**Duplicate**](#duplicating-calculators)**)** to them:

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FNJLh3OkZjEcuELNZE6dm%2Fimage.png?alt=media&#x26;token=1fef390f-f380-456e-88ff-417c3b403c5c" alt=""><figcaption></figcaption></figure>

## Import and Export Calculators <a href="#import-and-export-calculators" id="import-and-export-calculators"></a>

Cost Calculator enables to **export** and **import** of calculators in `.txt` format.&#x20;

{% hint style="info" %}
Note that, if you have images in your calculator elements ([**image dropdown**](https://docs.stylemixthemes.com/cost-calculator-builder/calculator-elements/drop-down-with-image), [**image radio**](https://docs.stylemixthemes.com/cost-calculator-builder/calculator-elements/radio-button), [**image checkbox**](https://docs.stylemixthemes.com/cost-calculator-builder/calculator-elements/checkbox-1), etc.), these images **will not be exported with the `.txt` file**. After the import, you have to upload them into the website/calculator manually.

But, if you import & export the calculators **on the same website**, calculators **will be imported with images**. It is because images in the calculator are saved in the database of your website. The exported calculator can only save the path to these images. That's why it works only on the same website
{% endhint %}

### Export

To export calculator(s) first **select** them using the checkboxes on the left then click on the **Export button:**

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FN0nKW6cn6VciBDlToQRm%2Fimage.png?alt=media&#x26;token=45a73052-d8ef-4b00-8757-67e7b1c5fd38" alt=""><figcaption></figcaption></figure>

* **Selected** - exports the selected calculators as a `.txt` file
* **All** - exports all the calculators on your website as a `.txt` file

### Import

1. To import exported calculators click on the **Import** button:

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2Frh5azbX5MpRogSK4qCJY%2Fimage.png?alt=media&#x26;token=3c65d1a9-20cb-4ae3-a78c-e37966632b22" alt=""><figcaption></figcaption></figure>

2. Upload the `.txt` file using the **Select File** button:

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FzrfC4cZqJJ5zWtPrvqb1%2Fimage.png?alt=media&#x26;token=f927fb4a-f021-4a76-8bbb-b9000c04f554" alt=""><figcaption></figcaption></figure>
