← API documentation HTTP API

Product presentation and routes

Public and backoffice-oriented product routes.

Last updated

Actions

Method Route/action Purpose
GET product/{productName}--{id:int} Displays a product by ID.
GET backend/product/{productName}--{id:int} Alternative product view for backoffice context.
GET RedirectProduct(alias) Finds or redirects by alias.

Usage

The controller builds a DisplayProductViewModel for the Razor view. Verify the effective URL in the actual Umbraco site, where conventional routing and content also matter.

Source: OptimusCommerce.UmbracoDependency/Controllers/ProductPresentationController.cs · OptimusCommerce.Extension 17.94.0