# Sold Listings

The "Sold Listings" feature enables the display of Listings that have been sold or are unavailable, with the label "**Sold**".&#x20;

## General Settings&#x20;

By default sold listings are not displayed in the Inventory page and search results. To include Sold Listings on the Search Results (Inventory) page, go to the **Dashboard > Motors Plugin > Search Results Page > General** in order to activate  **Sold Listings, enable the setting and Save Setting**.&#x20;

<figure><img src="https://2954064479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDP3ivYPbpYO9Rs_wuB%2Fuploads%2F2EzdlusXfggSZogbgeBu%2Fimage.png?alt=media&#x26;token=a6da58a2-2429-410a-91e5-bae2069b5055" alt=""><figcaption></figcaption></figure>

This option includes sold listings on the inventory and single listing page view respectively.

{% tabs %}
{% tab title="Sold listings disabled" %}

<figure><img src="https://2954064479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDP3ivYPbpYO9Rs_wuB%2Fuploads%2Fhamkr9i0hCeNXIn0eG8p%2FMotors%205.17%20-%20%20inventory%20without%20sold.png?alt=media&#x26;token=829b55a6-aea7-4f59-a639-abe7ce0628a6" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Sold listings enabled" %}

<figure><img src="https://2954064479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDP3ivYPbpYO9Rs_wuB%2Fuploads%2FnrlOc1P6YenxLOw93HN9%2FMotors%205.17%20-%20%20inventory%20with%20sold.png?alt=media&#x26;token=ff82985e-626f-4d17-a358-afedc4e7def8" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Single Listing" %}

<figure><img src="https://2954064479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDP3ivYPbpYO9Rs_wuB%2Fuploads%2FcGQjwT4tKcBAk8uY7Jfq%2FMotors%205.17%20-%20%20Single%20sold%20listing.png?alt=media&#x26;token=ea6888fa-09bd-44d9-83d6-05c89d851fca" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

After enabling the **Sold Listings** feature, a **Listing status** filter appears on the Search Results (Inventory) page, which allows filtering active and sold listings.

{% tabs %}
{% tab title="Classic Inventory" %}

<figure><img src="https://2954064479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDP3ivYPbpYO9Rs_wuB%2Fuploads%2Fayj5elx0LuoiV0GaK9jB%2FMotors%205.17%20-%20%20Inventory%20with%20listing%20status.png?alt=media&#x26;token=71c00b43-dd31-4aa6-8123-a84de72f169d" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Modern Inventory " %}

<figure><img src="https://2954064479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDP3ivYPbpYO9Rs_wuB%2Fuploads%2FiQM9sKy6ZmUDFUtt62uF%2FMotors%205.17%20-%20%20Inventory%20with%20listing%20status%20modern.png?alt=media&#x26;token=87702517-ae09-4855-882d-6b4f490d4d33" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
The Modern Inventory is available only in WPBakery page builder integrated demos.
{% endhint %}
{% endtab %}
{% endtabs %}

## How to mark listings sold

The Sold badge can be put on any of the listings.&#x20;

{% hint style="info" %}
When the **Mark as sold** feature is activated, all the other listing labels will be disabled, since the **Sold Listing** feature has the highest badge priority.
{% endhint %}

### Mark listings as sold in the WordPress dashboard

Go to the **Dashboard > Motors Plugin > Listings** and select and tick the sold listing in the **Mark as sold** column.

<figure><img src="https://2954064479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDP3ivYPbpYO9Rs_wuB%2Fuploads%2Fk8fcAuB1zOw0qQUbnApp%2Fimage.png?alt=media&#x26;token=7f6d5630-f17b-4a11-ad09-2eb24145ed33" alt=""><figcaption></figcaption></figure>

The sold listings feature is available also in the listing creation/editing process and can be done in the **Price** section by ticking next to the **Mark as sold**.

![](https://2954064479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDP3ivYPbpYO9Rs_wuB%2Fuploads%2FQErBj850gizqQOOiuNN8%2FMotors%205.17%20-%20%20Listing%20manager%20sold.png?alt=media\&token=cadea330-faf1-4d06-b026-53d55232cf8b)

### Mark listings as sold by users and dealers

In Classified demo layouts, users can mark their published listings from their user account directly.&#x20;

<figure><img src="https://2954064479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDP3ivYPbpYO9Rs_wuB%2Fuploads%2Fl8MSsWWWiKnmTqZnLEr1%2FMotors%205.17%20-%20%20Single%20sold%20listing%20classified.png?alt=media&#x26;token=a4acc28f-02a6-480f-bdd4-74b84355e009" alt=""><figcaption></figcaption></figure>

## Sold Listings Inventory with WPBakery page builder

The **STM Sold Cars** element is available which displays only the Sold listings on the page. The element can be added from the STM elements group.

![](https://2954064479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDP3ivYPbpYO9Rs_wuB%2Fuploads%2FoN9U5lQcp7aMh27yEdUy%2FMotors%205.17%20-%20%20Sold%20Inventory%20widget.png?alt=media\&token=da7b380b-9eac-4887-80ca-ea7a49ef6ea0)

The number of listings per page can be determined in the element's settings.

![](https://2954064479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDP3ivYPbpYO9Rs_wuB%2Fuploads%2FPlFgpbH8EipxTaxuQz6q%2FMotors%205.17%20-%20%20Sold%20Inventory%20widget%20dsettings.png?alt=media\&token=8e2710b4-38ce-4241-83c7-11d0f9681006)

After inserting the **STM Sold Cars** element into the page, all Sold listings display on the appropriate page.

![](https://2954064479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDP3ivYPbpYO9Rs_wuB%2Fuploads%2FbC56HyuWqE7VdR20xpyb%2FMotors%205.17%20-%20%20Sold%20Inventory%20published.png?alt=media\&token=94453fd6-cf42-47a7-adf9-7d600a7a7083)

{% hint style="info" %} <mark style="color:blue;">**NOTE**</mark> \
Filter options come from the main category settings in the Motors Plugin > Listings > Custom fields section. For more information review [this article](https://docs.stylemixthemes.com/motors-theme-documentation/search-filter/search-filters).&#x20;
{% endhint %}

## How to change the "Sold" label

The word **Sold** on the label can be changed to any desired one by simply installing the [Loco Translate](https://wordpress.org/plugins/loco-translate/) plugin. The **Loco Translate** is a free plugin and can be installed from the default repository of WordPress.

{% embed url="<https://wordpress.org/plugins/loco-translate/>" %}

After installing and activating the plugin, go to **Dashboard > Loco Translate > Themes** and select the **Motors** theme.

![](https://2954064479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDP3ivYPbpYO9Rs_wuB%2Fuploads%2FnCHpw5lj3LS5DhNeHGjE%2FMotors%205.17%20-%20%20Loco%20themez.png?alt=media\&token=d686912f-c6e9-479c-9f45-e956e19df0de)

Create a new language file by clicking **New Language** or edit an existing language file by clicking **Edit**.

![](https://2954064479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDP3ivYPbpYO9Rs_wuB%2Fuploads%2FC9sWLUaEYtrTSA9ya8zw%2FMotors%205.17%20-%20%20Loco%20new%20language%20for%20theme.png?alt=media\&token=355d5e92-b658-49aa-b149-ced6b89609ee)

Select a language from the list, specify the file location, and click the **Start Translating** button.

{% hint style="danger" %}
**Important!**&#x20;

It is required to store the translation file in the **“../wp-content/languages/themes/”** folder to keep translation during the theme updates.
{% endhint %}

![](https://2954064479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDP3ivYPbpYO9Rs_wuB%2Fuploads%2FtAs3voYIYWL9JZOB75XK%2FMotors%205.17%20-%20%20Loco%20new%20language%20for%20theme%20English.png?alt=media\&token=b9e1c642-fb4a-41f6-80ba-1e66ff50bbd2)

Find the required string in the searching field(1), enter the word that you want to change(2), and save your changes(3).

![](https://2954064479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDP3ivYPbpYO9Rs_wuB%2Fuploads%2FjLxYq5fdoTlFTqWsEiYt%2FMotors%205.17%20-%20%20Loco%20sold%20changed.png?alt=media\&token=ac384654-ebb5-481c-85b0-c3f474331438)

{% hint style="info" %}
If you cannot see the changes in your site try to perform a **hard reload** of the web page using hotkey **Ctrl+Shift+R** for Windows and **Command + Shift + R** for Mac.
{% endhint %}

{% tabs %}
{% tab title="Inventory Page" %}
![](https://2954064479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDP3ivYPbpYO9Rs_wuB%2Fuploads%2FJz9RoHd8ZrwYlgPOzWpi%2FMotors%205.17%20-%20%20Loco%20sold%20changed%20inventory.png?alt=media\&token=f3ab1e90-b81e-4b14-80e5-ec4ad95d4992)
{% endtab %}

{% tab title="Single Listing Page" %}
![](https://2954064479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDP3ivYPbpYO9Rs_wuB%2Fuploads%2FGuqEyDNo606wxqsj1Rbl%2FMotors%205.17%20-%20%20Loco%20sold%20changed%20single.png?alt=media\&token=738ddf71-66c8-4070-8515-292dc633af0e)
{% endtab %}
{% endtabs %}
