HifiPlanet-Website/hifi/api
Maaxxs 29f15d0133 Package editor: products, upgrades and prices for a model on one page
Tested locally on a separate branch before merging.

- Selected model (and package to open) live in the URL (?model=…&paket=…),
  so going back or reloading returns to the same vehicle.
- Packages are compact rows (price, product/upgrade count, badge,
  visibility); a click expands one package with its texts on the left and
  markup, live price calculation, products and upgrades on the right.
- Products and upgrades are edited inline and saved immediately. Several
  audio4cars links can be pasted at once, and products/upgrades are
  reordered by drag & drop (@dnd-kit). The separate product/upgrade pages
  are gone; old links redirect to the package in the editor.
- New GET /models/{id}/package-items loads all products and upgrades of a
  model in one request.
- "Pakete kopieren" can include upgrades (include_upgrades).

No database changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 23:48:57 +02:00
..
config Simplify to always run at domain root instead of dual /hifi vs / support 2026-07-05 15:04:39 +02:00
database Add package badges/visibility and a download area, speed up the site 2026-09-26 23:15:48 +02:00
public Package editor: products, upgrades and prices for a model on one page 2026-09-26 23:48:57 +02:00
scripts Add live Google Reviews, refreshed daily instead of hand-typed testimonials 2026-07-21 01:40:08 +02:00
src Package editor: products, upgrades and prices for a model on one page 2026-09-26 23:48:57 +02:00
uploads Populate the gallery with the full photo collection from the old hifi-planet.de site 2026-07-07 19:50:49 +02:00
vendor Consolidate the site onto a single branch: main now carries the build output 2026-07-20 06:59:33 +02:00
composer.json Initial commit: HifiPlanet Car-Hifi Shop (Frontend + Backend) 2026-07-05 13:37:06 +02:00
composer.lock Initial commit: HifiPlanet Car-Hifi Shop (Frontend + Backend) 2026-07-05 13:37:06 +02:00