price changes

This commit is contained in:
2026-06-13 17:37:05 +03:30
parent 1632b5cd02
commit 246e666049
5 changed files with 32 additions and 14 deletions
+7
View File
@@ -0,0 +1,7 @@
import { getStoreCategories } from '@/api/categories'
/** تب‌های فیلتر محصول — فقط از API دسته‌بندی (هماهنگ با پنل ادمین) */
export async function loadProductCategoryTabNames(): Promise<string[]> {
const categories = await getStoreCategories()
return categories.map((item) => item.name)
}
+3
View File
@@ -7,6 +7,9 @@ export const UNIFIED_PRODUCT_CATEGORIES = [
'گوی',
'سکه',
'سکه پارسیان',
'شمش',
'شمش ونوس',
'شمش برنا',
'مس',
'نقره',
] as const