Files
santeh-ray/templates/catalog/_fragments/item-card.html
Azimkin c42d32c76b
All checks were successful
Build and Push Docker Image / build (push) Successful in 25s
feat: add color, discount price, and new item attributes to catalog and update UI
- Introduced `Color` model with admin and added a color field to items
- Added `discount_price` and `is_new` fields to the `Item` model with necessary migrations
- Updated pricing logic to display original and discount prices in templates
- Enhanced product detail and item card templates with color swatches and metadata
- Added sidebar sections for sales and new items with paginated mini-cards
- Updated styles to support discount pricing, swatches, and sidebar mini-cards
- Extended catalog views to filter by sales or new items and updated filtering logic
2026-05-25 18:10:32 +02:00

4.4 KiB