Modernize structured data implementation with JSON-LD
Modernize Structured Data Implementation with JSON-LD Problem As nopCommerce continues modernizing its architecture, performance, security, and commerce capabilities, I believe the structured data implementation should also be reviewed.
Some storefront structured data still relies on older markup-oriented metadata approaches.
Modern search engines increasingly work with Schema.org structured data represented as JSON-LD, and JSON-LD provides a much cleaner separation between storefront HTML and machine-readable commerce data.
nopCommerce 5.0 would be a good opportunity to introduce a modern and extensible structured-data architecture.
Proposed Solution Introduce a centralized structured-data layer responsible for generating JSON-LD independently from individual themes and Razor views.
For example:
IStructuredDataService │ ├── Product ├── Offer ├── BreadcrumbList ├── Organization / OnlineStore ├── WebSite ├── CollectionPage └── Article │ ▼ Schema.org Models │ ▼ JSON-LD Serializer │ ▼
Source: nopSolutions/nopCommerce