Test Admin

You can search for this system page in the Admin.

And view the content to confirm your content and blocks exist.

Extend or Create View Model

To display this content in the Storefront, find (or create) the view model used for the particular Storefront page. Include Workarea::Storefront::DisplayContent in the view model and then implement content_lookup, returning the name of the content to be displayed.

For my example, I decorate the cart view model, associating it with the Cart content.

# app/view_models/workarea/storefront/cart_view_model.decorator
module Workarea
module Storefront
decorate CartViewModel do
decorated do
include DisplayContent
end
def content_lookup
'Cart'
end
end
end
end

Render Blocks in Storefront

Now you can call content_blocks on the view model to retrieve the blocks to render in the Storefront. Override or append to the view to render the blocks.