Blocks Deprecated
Deprecated: use the web blocks for new pages This block belongs to state pages and UI components. Existing pages keep running, but new pages should use the web blocks. See Web Pages and the migration guide.

price format

This block is part of the state ui group and was last modified in core v15.0.1.

price format v13.0.1 Updated v15.0.1

In pins 5
  • price number required
  • currency value v15.0.1

    ISO 4217 code of the amount (EUR, GBP, USD, CHF, …). Empty = entity default.

  • class uiclass

    Assigns a CSS class to the element. • Hidden when unused

  • style uistyle

    Applies inline CSS style to the element • Hidden when unused

  • attributes uiattributes

    Adds custom attributes to the element. • Hidden when unused

Out pins 1
  • state state

    Returns the element to the frontend state.

A typical wiring for price format: number feeds the price pin; the state out pin feeds get component child.

Studio canvas example for the price format block: typical wiring for price format.

Version history

Introduced in v13.0.1.

Last modified in v15.0.1.

  • v15.0.1: added in-pin currency (value, optional)

Back to state ui Return to the main group to view all sub-groups Back to state elements Return to the group to view all blocks within this group