# Xuất danh sách mã QR Code

## Tải mã QR Code về máy

Vào danh sách QR Code chọn **Tải mã** tải về máy danh sách merchant muốn sử dụng  (file excel)&#x20;

<figure><img src="/files/dxjdwZu7wO2hPLgocm8d" alt=""><figcaption><p>Tải tệp excel để lấy mã</p></figcaption></figure>

## Mở danh sách mã đã tải về trên Google Sheet&#x20;

Tải danh sách mã vừa tải về máy lên Google Drive và mở file vừa tải lên bằng Google Sheet&#x20;

<figure><img src="/files/LQ0P3vh7mEvs8Jf9vFMJ" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Đổi tên file để dễ phân biệt với các danh sách mã khác&#x20;
{% endhint %}

| Tiêu đề                 | Mô tả                                                                                                                           |
| ----------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| Id                      | Id cũa mã                                                                                                                       |
| Nội dung QR code        | <ul><li>Nội dung của QR code</li><li><strong>Lưu ý</strong>:  cần phải tạo QR code từ nội dung của cột này để quét mã</li></ul> |
| Liên kết mở ảnh QR code | Liên kết dùng để mở ảnh QR code theo từng dòng                                                                                  |

### Để lấy được hình ảnh mã QRCode

* **Cách 1** - **Xem từng ảnh mã QR**: Bạn tìm cột **Liên kết mở ảnh QR code** -> sau đó click đúp 2 lần vào đường dẫn -> đưa trỏ chuột ra vị trí khác -> <mark style="color:blue;">đường dẫn ban đầu click đúp</mark> (sẽ đổi thành màu xanh) -> bấm vào sẽ ra hình ảnh của QRcode

<figure><img src="/files/iHvpoHRFgIo6CNkGgySj" alt=""><figcaption></figcaption></figure>

* **Cách 2** - Tạo **ảnh QR** code theo **hàm** trên Google Sheet:

<figure><img src="/files/QdB2LWrW4yop5yALH80k" alt=""><figcaption></figcaption></figure>

1. Sao chép và dán hàm: <mark style="color:blue;">=image("<https://chart.googleapis.com/chart?cht=qr\\&chs=200x200\\&chl="\\&ENCODEURL(B2)>)</mark>  vào cột kế bên cột **Liên kết mở ảnh QR code**

&#x20;      Trong đó:&#x20;

* <mark style="color:blue;">**200x200**</mark> là kích thước của ảnh QRcode, khách hàng có thể tùy chỉnh theo ýi muốn.
* ENCODEURL(<mark style="color:blue;">B2</mark>): **B2** là ô thuộc cột **Nội dung QR code**

2. Rê chuột hiện dấu + ở mép phải ô Google Sheet, **nháy đúp chuột vào mép phải ô đầu tiên** chứa công thức chung, sau đó công thức sẽ được tự động copy cho các ô còn lại.

<figure><img src="/files/1SUWA3LIGIDgZeKNAIAO" alt=""><figcaption><p>Rê chuột hiện dấu + ở mép phải ô Google Sheet</p></figcaption></figure>

<figure><img src="/files/XjAd3UKhWEmPBU55YtYR" alt=""><figcaption><p>Sau khi nhấp đúp chuột</p></figcaption></figure>

### In file vừa chỉnh&#x20;

{% hint style="info" %}
Merchant in danh sách mã ra và dán vào các sản phẩm tương ứng&#x20;
{% endhint %}

{% content-ref url="/pages/-Mkg2D4c767H0\_qbxP7k" %}
[Sử dụng trên Mobile App](/tinh-nang/apps-kho-ung-dung/qr-code/su-dung-tren-app-user.md)
{% endcontent-ref %}

{% content-ref url="/pages/JIQIAQwxxOWn04TJOhFv" %}
[Sử dụng trên Zalo Mini App](/tinh-nang/apps-kho-ung-dung/qr-code/su-dung-tren-app-user-1.md)
{% endcontent-ref %}


---

# 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://huongdan.cnvloyalty.com/tinh-nang/apps-kho-ung-dung/qr-code/xuat-danh-sach-ma-qr-code.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.
