services:
    oro_pricing.layout.data_provider.frontend_product_prices:
        class: 'Oro\Bundle\PricingBundle\Layout\DataProvider\FrontendProductPricesProvider'
        arguments:
            - '@oro_pricing.model.product_price_scope_criteria_request_handler'
            - '@oro_product.provider.product_variant_availability_provider'
            - '@oro_pricing.user_currency_manager'
            - '@oro_pricing.formatter.product_price_formatter'
            - '@oro_pricing.provider.product_price'
            - '@oro_product.provider.frontend_product_units_provider'
        tags:
            - { name: layout.data_provider, alias: frontend_product_prices }

    oro_pricing.layout.data_provider.product_units_without_prices:
        class: 'Oro\Bundle\PricingBundle\Layout\DataProvider\ProductUnitsWithoutPricesProvider'
        arguments:
            - '@oro_pricing.layout.data_provider.frontend_product_prices'
        tags:
            - { name: layout.data_provider, alias: product_units_without_prices }

    oro_pricing.layout.data_provider.currency:
        class: 'Oro\Bundle\PricingBundle\Layout\DataProvider\CurrencyProvider'
        public: true
        arguments:
            - '@oro_pricing.user_currency_manager'
        tags:
            - { name: layout.data_provider, alias: oro_pricing_currency }

    oro_pricing.layout.data_provider.price_unit_visibility:
        class: 'Oro\Bundle\PricingBundle\Layout\DataProvider\PriceUnitVisibilityProvider'
        arguments:
            - '@oro_product.visibility.unit'
        tags:
            - { name: layout.data_provider, alias: oro_price_unit_visibility }

