# Introduction

## Overview

This is a modern and clean style that is fully customizable. It already comes with a small basic template. In this documentation I am going to explain how to go about modifying the theme in a simple way.


# Installing

## Step 1 - Download

Go to the `admin panel > settings > configuration > portal` section and then install the portal from there quickly and quickly.

## Step 2 - Activation portal

To activate the theme we just downloaded, let's go to the administration panel. Then we find the settings category and choose the configuration item from there we look for the portals item.

Full route: `Admin panel > settings > configuration > portals`

If we have installed the portal correctly we should find the portal among the available themes. Let's activate the portal and that's it :)

<figure><img src="https://1372757102-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FywVWJGFdfPmLNdx5TIds%2Fuploads%2FKaSPMbFqULe9EssFNHTZ%2Fimage.png?alt=media&amp;token=3ae47ead-7dc9-48e0-986f-300525d38f9f" alt=""><figcaption></figcaption></figure>


# Stock badge

The stock status badge is an essential element of our portal, designed to provide a quick overview of available stock quantities for specific products or resources.

## Operation:

The stock status badge is dynamically integrated into the portal and accurately reflects the current stock status of each item. It uses an intuitive color system to quickly indicate whether stock is sufficient, low, or depleted.

<table><thead><tr><th>Status</th><th width="100">Badge</th></tr></thead><tbody><tr><td>Indicates that supplies are sufficient and there are no immediate supply problems.</td><td><img src="https://1372757102-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FywVWJGFdfPmLNdx5TIds%2Fuploads%2FdyXLjlrL8Y4ZFxxN9Yik%2Fimage.png?alt=media&amp;token=e2dc02b2-e449-49e6-ab99-b3fee58fc47e" alt="" data-size="original"></td></tr><tr><td>Indicates that supplies are low or running low gone perhaps prompting the user to buy that plan.</td><td><img src="https://1372757102-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FywVWJGFdfPmLNdx5TIds%2Fuploads%2F3giVffuNYIwfQ6G2OhkV%2Fimage.png?alt=media&amp;token=0ab6102e-18c6-4409-b88f-d2cd3b1c650d" alt="" data-size="original"></td></tr><tr><td>Indicates that supplies are stock out.</td><td><img src="https://1372757102-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FywVWJGFdfPmLNdx5TIds%2Fuploads%2Fsw2GDHBHAsxUalWE6k2k%2Fimage.png?alt=media&amp;token=60bbc0e9-1ce3-452a-ac74-996151f0d631" alt="" data-size="original"></td></tr></tbody></table>

## Configuration

One of the key configuration options for the stock status badge is the ability to set a "minimum quantity" or "minimum threshold" that defines when items are considered to be in a "low stock" status.

In order to be able to change the threshold that we think goes into "low stock" we go into the portal configuration full path `admin panel > settings > configuration > portal`

From the portal we go to setting and find a field called minimum stock we choose the amount we want to set as the minimum and that's it. Basically, the minimum stock is set to 5<br>

<figure><img src="https://1372757102-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FywVWJGFdfPmLNdx5TIds%2Fuploads%2F1caM3jgCRddkI3wwiLsZ%2Fimage.png?alt=media&amp;token=cfdadc5c-812f-4194-a10a-2c628602fa21" alt=""><figcaption></figcaption></figure>


# Price badge

Popularity and discount badges are essential tools for highlighting products that enjoy special relevance or are on special offer. Their configuration allows the badge to be displayed to the user.

## Step 1 - Initiation

We look for a plan that we are interested in putting a badge on, after which we go to edit the plan and go to the pricing section.

## Step 2 - adding badge

We choose the first sales plan and go to edit it. Under the date heading we enter the value here as an example

```json
{"portal":"POPULAR"}
```

if we want to insert another type of text we just need to replace the value as in this case

```json
{"portal":"15% OFF"}
{"portal":"NEW"}
{"portal":"LIMITED EDITION"}
```

these are just examples then later you can customize them as you like. This is what you should see

<figure><img src="https://1372757102-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FywVWJGFdfPmLNdx5TIds%2Fuploads%2Fn4HLNLciQExVU7c81zf9%2FImmagine%202024-04-04%20191903.png?alt=media&amp;token=ea24f658-d0ee-44d6-a134-16d5ce5c61dd" alt=""><figcaption></figcaption></figure>

## Step 3 - Check

We save and go to check our changes

<figure><img src="https://1372757102-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FywVWJGFdfPmLNdx5TIds%2Fuploads%2Ft2V96VOjRW5gdgOD8yxx%2FImmagine%202024-04-04%20192132.png?alt=media&amp;token=705c56af-fbe7-45f7-8c59-1dc966be6e36" alt=""><figcaption></figcaption></figure>

after we see that it works we can do it for other plans we are interested in.


