Remove ToDo-Karten product and its dedicated /todo-cards page
Product deleted from Payload (no orders referenced it), so its bespoke page went with it — Navbar's WERKZEUGE_ROUTES and the sitemap no longer list it. The blog's "3minuten" relatedProduct pointer and the homepage's "ToDo-Karten" Werkzeuge card were cleared/removed in Payload directly (no code change needed there — CMS content). Also fixes a real bug found in the process: ProductBlocks.tsx's AddToCartButton calls never passed productId, silently falling back to its "todo-karten" default — every block-driven PDP's buy button (e.g. "Die Pause.") was adding the wrong product to the cart. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Eg6h91yngXmSnM51wxXM8
This commit is contained in:
@@ -17,7 +17,6 @@ const STATIC_ROUTES = [
|
||||
"/blog",
|
||||
"/shop",
|
||||
"/newsletter",
|
||||
"/todo-cards",
|
||||
"/der-eine",
|
||||
"/tasse-die-pause",
|
||||
"/die-sieben",
|
||||
|
||||
Reference in New Issue
Block a user