اضاغه تعديل حاجه المنتج في الادمن
الميزة موجودة بالفعل في لوحة التحكم! يمكنك تعديل حالة توفر المنتج بالطرق التالية:
عند إضافة منتج جديد:
عند تعديل منتج موجود:
في قائمة المنتجات:
الميزة تعمل بشكل كامل ومتكامل مع نظام الفلترة في الصفحة الرئيسية، حيث يمكن للزوار فلترة المنتجات حسب حالة التوفر.
اضافه تعديل علي المنتجات التي توجد لانها لا يوجد تعديل حاله المنتج
تم تحسين مربع اختيار حالة التوفر في لوحة التحكم ليكون أكثر وضوحاً وسهولة في الاستخدام. الآن المربع أكبر حجماً، محاط بإطار بكسل مميز، ويعرض النص بوضوح "متوفر ✓" باللون الأخضر أو "غير متوفر ✗" باللون الأحمر حسب الحالة المختارة. يمكنك تعديل حالة التوفر عند إضافة منتج جديد أو تعديل منتج موجود.
An error occurred during deployment. Please fix:
Running build in Washington, D.C., USA (East) – iad1
Build machine configuration: 2 cores, 8 GB
Retrieving list of deployment files...
Downloading 88 deployment files...
Restored build cache from previous deployment (Cg7i6beqyR5GAGS8FzVcXV2jxTjq)
Running "vercel build"
Vercel CLI 48.2.4
Running "install" command: `npm install`...
up to date, audited 201 packages in 2s
22 packages are looking for funding
run `npm fund` for details
1 moderate severity vulnerability
To address all issues, run:
npm audit fix --force
Run `npm audit` for details.
Detected Next.js version: 15.2.4
Running "next build"
▲ Next.js 15.2.4
Creating an optimized production build ...
⚠ Found lockfile missing swc dependencies, run next locally to automatically patch
⚠ Found lockfile missing swc dependencies, run next locally to automatically patch
⚠ Found lockfile missing swc dependencies, run next locally to automatically patch
✓ Compiled successfully
Skipping validation of types
Skipping linting
Collecting page data ...
⚠ Found lockfile missing swc dependencies, run next locally to automatically patch
Generating static pages (0/7) ...
Error occurred prerendering page "/privacy". Read more: https://nextjs.org/docs/messages/prerender-error
Error: Attempted to call useApp() from the server but useApp is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.
at /vercel/path1/.next/server/chunks/347.js:1:10237
at p (/vercel/path1/.next/server/chunks/419.js:1:2471)
at ek (/vercel/path1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:17:13337)
at e (/vercel/path1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:17:17246)
at e$ (/vercel/path1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:17:17708)
at Array.toJSON (/vercel/path1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:17:14854)
at stringify (<anonymous>)
at eF (/vercel/path1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:17:26079)
at eq (/vercel/path1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:17:26391)
at ez (/vercel/path1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:17:26887)
Export encountered an error on /privacy/page: /privacy, exiting the build.
⨯ Next.js build worker exited with code: 1 and signal: null
Error: Command "next build" exited with 1