NOVATUNE
ABOUT THE PROJECT
Design and development of novatune.fr, a French online shop for car body parts built on Sylius 2.3 / Symfony 7.4. It offers a catalogue of around 35,000 products imported automatically from a supplier, a "find parts for my car" picker, Stripe payments, automatic accounting invoices and compliance with French consumer law. It runs in production on a managed cloud server.
SUPPLIER CATALOGUE PIPELINE
- Import of the supplier price list (XLSX): compatible vehicles, variants and prices with a configurable markup, through a generic, supplier-agnostic bulk writer (DBAL upserts on Sylius's unique keys).
- About 35,000 products and 8,000 images; a full import takes ~45 seconds.
- Guarded stock sync: a file matching fewer than 30% of known items is rejected. The photo import resumes after an interruption.
- Data-quality report on every import (wrong side, right-hand drive, doubtful years) and merging of duplicate vehicles from the admin.
SHOPPING EXPERIENCE
- "My garage" picker that only asks for the year, facelift or headlight levelling when it matters; listings are filtered to the customer's car, which is saved to their account.
- Category-specific filters built from the parts actually on sale; search that handles French synonyms and plurals.
- Part bundles per vehicle, whose discount is an automatically synced Sylius promotion (custom rule and action).
- Fully custom theme on Sylius's native storefront, with accessible video banners (pause button, honours reduced-motion and data-saving mode).
CHECKOUT, PAYMENTS AND BACK OFFICE
- Stripe checkout tested end to end.
- Custom shipping rules: three carriers, parcels and freight for bulky parts, mainland France only.
- Qonto invoices created automatically once an order is paid, with a sandbox mode and a retry command.
- French transactional e-mails, with the terms of sale attached as a PDF (Dompdf).
LEGAL COMPLIANCE
- Legal pages, recorded acceptance of the terms of sale and a binding "order with obligation to pay" button.
- Online withdrawal form (EU right of withdrawal).
- GDPR: customer data export, automatic purge of old personal data, cookie information.
- Price history and mandatory notices.
PERFORMANCE AND SEO
- Shop JavaScript cut from 125 kB to 66 kB (lazy-loaded controllers) and CSS from 250 kB to 180 kB (PurgeCSS).
- Critical CSS generated with Playwright and inlined; hero video reduced from 2.6 MB to about 1 MB.
- Optimised home-page queries and no session opened on a first visit.
- SEO: JSON-LD structured data, sitemap, robots.txt, handling of discontinued parts, canonical domain.
SECURITY AND OPERATIONS
- Rate limiting on logins, forms and search; security headers, enforced HTTPS, security log.
- Release-based deployment: one folder per version, database dump before migrations, one-command rollback and an OPcache reset after each switch.
make upgrade-checklists the overridden Sylius files that changed after an upgrade.- 20 Playwright specs (garage, checkout, bundles, shipping, SEO, mobile, visual regression…) and PHPUnit tests for the Qonto invoicing.
TECHNICAL CHALLENGES
- Race conditions in Live Component forms: a submission could log out a new customer or post emptied fields. A script holds the submit until the form is idle, covered by a Playwright test.
- Critical CSS: rules are copied from the compiled CSS rather than from the browser, which rewrote
fontshorthands containing CSS variables as empty properties. - Deploys that didn't take: the server kept serving old cached code. Deployment now resets that cache and checks that the site serves the new stylesheet.
- AI-assisted audits (security, SEO, performance) with Claude Code and Symfony AI Mate: each numbered finding (SEC-001, PERF-3…) fixed on its own branch, then merged.
IN NUMBERS
96 commits in about ten days, around 24,000 lines of code across ~450 files, including 138 Twig templates. Live at novatune.fr.