Use id+slug paths for user products and count their visits.

Align storefront/sitemap URLs with catalog products, add by-id public APIs, and include user-product detail views in the product visit chart.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-09-15 15:35:46 +03:30
co-authored by Cursor
parent 3aef62c1b8
commit 6517877bed
19 changed files with 392 additions and 86 deletions
@@ -0,0 +1,4 @@
-- Track public customer marketplace (user product) list/detail page views.
ALTER TYPE website_page_kind ADD VALUE IF NOT EXISTS 'user_product_list';
ALTER TYPE website_page_kind ADD VALUE IF NOT EXISTS 'user_product_detail';