# 🔄 Update Guide

Keeping your POS system up to date ensures better performance, new features, and improved security. Updating Advance Point of Sale – Next POS is safe and simple — just follow the steps below.<br>

> ⚠️ If you’re using a customized version, please read the warning at the bottom before proceeding.

***

### 📥 Step 1: Download the Latest Version

* Go to your CodeCanyon Downloads section.
* Download the latest release ZIP of Advance POS.
* Extract the contents to your local machine.

***

### 📂 Step 2: Upload Files to Server

* Use FTP or cPanel File Manager to upload the new files to your existing installation folder.
* When prompted, overwrite/replace existing files.

> ❗ Do not delete or overwrite the following:<br>

* .env file – contains your app configuration
* /storage or /uploads folders – stores user-generated content like receipts, labels, backups, etc.

***

### 🛠 Step 3: Run the Updater

In your browser, visit:

```
https://yourdomain.com/install.php
```

* The system will automatically detect your existing setup.
* It will skip the fresh install and only apply necessary updates.
* Once complete, you’ll be redirected to your dashboard.

***

### 🧹 Step 4: Clear Browser Cache<br>

After updating:

* Clear your browser cache, cookies, and local storage.
* Do a hard refresh.

  Ctrl + Shift + R (Windows)

  Cmd + Shift + R (Mac)<br>

This ensures that your updated UI loads correctly.

***

### ⚠️ Customization Warning

🚫 Running a customized version?

Updating will replace all core files, and your custom features will likely be lost.

If you’ve added:

* Custom modules
* Edited blade views
* Tweaked core logic

…then you should not update automatically.

***

### ✅ After the Update

Once you’re back in the dashboard:

* Go to Settings → App Configs and verify your configurations.
* Test the following areas:
  * POS operations
  * Sale/return flows
  * Barcode scanning
  * Printer and receipt output
  * Notifications (email, SMS, WhatsApp)
  * Cash register handling

<br>

Apply UI or branding customizations again if any were overwritten.

***

### 💬 Need Support?

If you’re on the default version and face any issues:

📧 Email: <info.codehas@gmail.com>

Please include:

* ✅ Your purchase code
* 🌐 Your domain URL
* 📝 A brief description of the issue

<br>

We’ll get back to you within 2 business days.

***


---

# Agent Instructions: 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:

```
GET https://codehas.gitbook.io/advance-point-of-sale-next-pos/setup/update.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
