Files
hossein-por-shop/frontend
Parsa Nazer d29ed8e35b feat: add profit and special discount fields to ProductVariant model
- Updated ProductVariant model to include 'profit' and 'special_discount_percent' fields.
- Added corresponding fields in the admin interface for ProductVariant.
- Created migration to add new fields to the database.

feat: implement special discount code functionality in cart

- Added composables for submitting and deleting special discount codes.
- Updated CartSummary and CartItem components to handle special discount codes.
- Enhanced API endpoints to support special discount operations.
- Updated global types to include special discount code details in the cart.
2025-11-15 11:00:33 +03:30
..
2025-09-09 12:22:46 +03:30
2025-11-01 20:35:55 +03:30
2025-09-22 14:16:35 +03:30
2025-11-01 20:35:55 +03:30
2025-09-09 12:22:46 +03:30
2025-11-10 12:06:24 +03:30
2025-09-22 14:16:35 +03:30
2025-04-08 23:03:13 +03:30
2025-03-06 23:52:19 +03:30
2025-04-16 22:14:59 +03:30
2025-05-12 18:56:30 +03:30
2025-10-24 12:38:37 +03:30
2025-11-10 22:19:45 +03:30
2025-10-24 11:22:37 +03:30
2025-11-03 22:49:17 +03:30
2025-10-24 12:04:31 +03:30
2024-12-11 20:10:19 +03:30
2024-12-11 20:14:53 +03:30
2025-01-16 16:05:49 +03:30
2024-12-11 20:16:46 +03:30

Nuxt Minimal Starter

Look at the Nuxt documentation to learn more.

Setup

Make sure to install dependencies:

# npm
npm install

# pnpm
pnpm install

# yarn
yarn install

# bun
bun install

Development Server

Start the development server on http://localhost:3000:

# npm
npm run dev

# pnpm
pnpm dev

# yarn
yarn dev

# bun
bun run dev

Production

Build the application for production:

# npm
npm run build

# pnpm
pnpm build

# yarn
yarn build

# bun
bun run build

Locally preview production build:

# npm
npm run preview

# pnpm
pnpm preview

# yarn
yarn preview

# bun
bun run preview

Check out the deployment documentation for more information.