Add seller deleted/unpublish flow and admin product management

This commit is contained in:
2026-05-09 07:56:51 +07:00
parent 37466d42e1
commit cb2a2a9678
13 changed files with 1369 additions and 86 deletions

View File

@ -358,6 +358,8 @@ export const en = {
empty: "No products found.",
edit: "Edit",
detail: "Detail",
restore: "Restore",
unpublish: "Unpublish",
table: {
product: "Product",
price: "Price",
@ -377,6 +379,16 @@ export const en = {
deleting: "Deleting...",
errorGeneric: "Failed to delete product",
},
unpublishDialog: {
title: "Unpublish Product?",
message: "The product will be removed from the active catalog and can be published again later.",
productLabel: "Product to unpublish",
cancel: "Cancel",
confirm: "Yes, Unpublish",
processing: "Processing...",
errorGeneric: "Failed to unpublish product",
},
restoreError: "Failed to restore product",
tabs: {
allProduct: "All Product",
draft: "Draft",
@ -385,6 +397,7 @@ export const en = {
localMarket: "Local Market",
outOfStock: "Out of Stock",
rejected: "Rejected",
deleted: "Deleted",
},
},
productNew: {