Skip to content

ProductPricesSettings

The ProductPricesSettings object represents settings for product prices in the storefront.

classDiagram
  direction LR
  class ProductPricesSettings{
    bool showGrossPrice
    bool showNetPrice
    bool showUnitPrice
    bool showPricesToUnregistered
    bool showLowestPriceIn30Days
    bool showAdditionalTaxInfo
  }

Properties

Attribute name Type Description
showGrossPrice bool Returns true if show gross price option is set.
showNetPrice bool Returns true if show net price option is set.
showUnitPrice bool Returns true if unit price calculation is enabled.
showPricesToUnregistered bool Returns false if only logged can see the prices.
showLowestPriceIn30Days bool Returns true if you can show the lowest price on the product page for products on sale (recommendation of the Omnibus Directive). The customer will see the lowest price for a given product or variant valid during 30 days prior to the promotion or from the moment the product was added to the store (if the product is sold for less time).
showAdditionalTaxInfo bool Returns true if show information about taxes setting is enabled.

Examples

showGrossPrice property

{{ productPricesSettings.showGrossPrice }}
true

showNetPrice property

{{ productPricesSettings.showNetPrice }}
true

showUnitPrice property

{{ productPricesSettings.showUnitPrice }}
true

showPricesToUnregistered property

{{ productPricesSettings.showPricesToUnregistered }}
true

showLowestPriceIn30Days property

{{ productPricesSettings.showLowestPriceIn30Days }}
true

showAdditionalTaxInfo property

{{ productPricesSettings.showAdditionalTaxInfo }}
true