> For the complete documentation index, see [llms.txt](https://tutorials.deeple.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tutorials.deeple.ai/store-management/product-management/delete-products.md).

# ลบสินค้า

การลบสินค้าจำเป็นต้องทำให้สินค้ามีจำนวนคงเหลือ (จอง) เท่ากับ 0 (ศูนย์) ก่อน จึงจะสามารถลบสินค้าออกจากระบบได้ โดยแบ่งเป็น 2 รูปแบบดังนี้

* [การลบสินค้าที่ไม่มีตัวเลือกสินค้า (SKU)](#sku)
* [การลบสินค้าที่มีตัวเลือกสินค้า (SKU)](#sku-1)

## **การลบสินค้าที่ไม่มีตัวเลือกสินค้า (SKU)** <a href="#sku" id="sku"></a>

1\. เลือกสินค้าที่ต้องการลบออกจากระบบ

![](/files/HDMxiAXeKzK3fv4FjYHI)

2\. ปรับจำนวนสินค้าในคลังให้เหลือ 0 (ศูนย์)

3\. คลิกปุ่ม "ลบสินค้า"

![](/files/rSRcGzBe5lvnctE0NVRJ)

4\. คลิกปุ่ม "ยืนยัน"

![](/files/hpBZxg825pb0nUlheKTW)

5\. ระบบจะลบสินค้าโดยอัตโนมัติ

![](/files/xhQClhda8gZTIVzWAUrt)

## **การลบสินค้าที่มีตัวเลือกสินค้า (SKU)** <a href="#sku" id="sku"></a>

แบ่งเป็น 2 รูปแบบดังนี้

* [ลบเฉพาะบางตัวเลือกสินค้า](#undefined)
* [ลบตัวเลือกสินค้าทั้งหมด](#undefined-1)

### **ลบเฉพาะบางตัวเลือกสินค้า** <a href="#undefined" id="undefined"></a>

<mark style="color:blue;">ตัวอย่าง</mark> ร้าน deeple Shop ต้องการลบตัวเลือกของสินค้าหน้ากากอนามัย deeple Mask ไซส์ M ออกจากระบบ สามารถทำตามขั้นตอนได้ดังนี้

1\. เลือกสินค้าที่ต้องการลบ

![](/files/03FjIbkqTISPKDaz9qWF)

2\. คลิกปุ่ม "จัดการตัวเลือกสินค้า"

![](https://s3-ap-south-1.amazonaws.com/ind-cdn.freshdesk.com/data/helpdesk/attachments/production/84002407460/original/lpZrOUnNoRdBAs9Atu79xd_nq_NIz61i5A.png?1647057335)

3\. ปรับจำนวนคลังสินค้าของตัวเลือกสินค้าที่ต้องการลบ

4\. คลิกปุ่ม "บันทึก"

![](https://s3-ap-south-1.amazonaws.com/ind-cdn.freshdesk.com/data/helpdesk/attachments/production/84002407507/original/C7OucUQOWiX8cPzTU_qwPfxCCn5WMD6Ycg.png?1647057517)

5\. คลิกเครื่องหมายดินสอ

![](https://s3-ap-south-1.amazonaws.com/ind-cdn.freshdesk.com/data/helpdesk/attachments/production/84002407569/original/c9F1YA-bvmwoxL13gk-tuHWAh1UFNEg_6A.png?1647057939)

6\. คลิกเครื่องหมายกากบาท (X) ที่ค่าตัวเลือกสินค้าที่ต้องการลบ

![](https://s3-ap-south-1.amazonaws.com/ind-cdn.freshdesk.com/data/helpdesk/attachments/production/84002407665/original/ktGP3nnXVyzMoYeHkCQeSQvamVGs8TkDOw.png?1647058292)

7\. คลิกปุ่ม "เพิ่ม"

![](https://s3-ap-south-1.amazonaws.com/ind-cdn.freshdesk.com/data/helpdesk/attachments/production/84002407774/original/zzNUJQaIlDk6LGOV3WCebGRIqzX0OPfnBw.png?1647058614)

8\. ระบบจะลบค่าตัวเลือกสินค้าให้อัตโนมัติ&#x20;

9\. คลิกปุ่ม "บันทึก"

![](https://s3-ap-south-1.amazonaws.com/ind-cdn.freshdesk.com/data/helpdesk/attachments/production/84002407816/original/rnfkpWlRDF4Uz0j90mEZPNaA83kjTiQV0w.png?1647058787)

> ***\* หมายเหตุ** หากจำนวนสินค้าของค่าตัวเลือกที่ต้องการลบไม่เท่ากับ 0 (ศูนย์) ชิ้น ระบบจะให้ปรับจำนวนในคลังสินค้าให้เป็น 0 (ศูนย์) ก่อน จึงจะสามารถลบค่าตัวเลือกสินค้าดังกล่าวได้*

### **ลบตัวเลือกสินค้าทั้งหมด** <a href="#undefined" id="undefined"></a>

1\. เลือกสินค้าที่ต้องการลบ

![](/files/03FjIbkqTISPKDaz9qWF)

2\. คลิกปุ่ม "จัดการตัวเลือกสินค้า"

![](https://s3-ap-south-1.amazonaws.com/ind-cdn.freshdesk.com/data/helpdesk/attachments/production/84002407877/original/BIfrSMlzweLI3u85sKigTPwCr0sjLNMrUA.png?1647059117)

3\. ปรับจำนวนคลังสินค้าของแต่ละค่าตัวเลือกให้เป็น 0 (ศูนย์) ทั้งหมด&#x20;

4\. คลิกปุ่ม "บันทึก"

![](https://s3-ap-south-1.amazonaws.com/ind-cdn.freshdesk.com/data/helpdesk/attachments/production/84002407959/original/2EAWlxmUn9imljz3szpkryi8vyiYbjDw-Q.png?1647059355)

5\. คลิกปุ่ม "ลบสินค้า"

![](https://s3-ap-south-1.amazonaws.com/ind-cdn.freshdesk.com/data/helpdesk/attachments/production/84002407995/original/6A8U4t_rxgNlyv6gNhFO25x4ME73xyadbQ.png?1647059432)

6\. คลิกปุ่ม "ยืนยัน"

![](https://s3-ap-south-1.amazonaws.com/ind-cdn.freshdesk.com/data/helpdesk/attachments/production/84002408011/original/vHlwDEgw3d2I4AJVADGKU0Sv65SEn2fSvQ.png?1647059522)

7\. ระบบจะลบสินค้าโดยอัตโนมัติ

![](/files/27S8KHeam3EA7liC0JVO)

{% hint style="warning" %}
**สินค้าติดจอง / สำรอง คืออะไร ?**
{% endhint %}

![](/files/nDoMPnbL6AVVezWk8oH2)

{% hint style="warning" %}
คือสินค้าที่มีลูกค้าเลือกซื้อและเปิดรายการสั่งซื้อทิ้งไว้ ทำให้สินค้าชิ้นนั้นถูกสำรองไว้ในตะกร้าเพื่อรอให้ลูกค้าดำเนินการชำระเงินหรือเพื่อเป็นการล็อกสินค้าเอาไว้ไม่ให้ลูกค้าท่านอื่นเลือกซื้อได้

หากร้านค้าต้องการลบสินค้าชิ้นใด แล้วพบว่าสินค้าชิ้นนั้นติดจองไว้อยู่ ร้านค้าจะไม่สามารถลบสินค้าชิ้นดังกล่าวออกจากระบบได้ทันที จำเป็นต้องติดต่อลูกค้าเพื่อแจ้งคืนสินค้ากลับเข้าคลังและปรับจำนวนสินค้าให้เป็น 0 (ศูนย์) ก่อน จึงจะสามารถลบสินค้าชิ้นดังกล่าวได้
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://tutorials.deeple.ai/store-management/product-management/delete-products.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
