# Deprecated objects

The following Liquid object properties are deprecated and have been replaced.

The following Liquid object properties are deprecated and have been replaced. Some themes still use them, but we recommend the alternatives listed below.

## line item object properties

## line_item.discounts

Available in VersaCommerce, but always returns an empty list.

Deprecated because it does not include all discount types and details.

Alternative: `line_item.discount_allocations`

## line_item.line_price

Returns the combined price of all items in the line item. This equals `line_item.price` multiplied by `line_item.quantity`.

Deprecated because it does not include code discounts.

Alternative: `line_item.final_line_price`

## line_item.price

Returns the price of the line item (in VersaCommerce an alias of `line_item.final_price`).

Deprecated because it does not include code discounts.

Alternative: `line_item.final_price`

## line_item.total_discount

Returns the total amount of all discounts applied to the line item. In VersaCommerce an alias of `line_item.line_level_total_discount`.

Deprecated because it does not cover all possible discounts.

Alternative: `line_item.line_level_total_discount`

## shop object properties

## shop.enabled_locales

Returns an array of `shop_locale` objects. Each object is a locale published in the shop.

Deprecated because the name did not make clear that it returns published locales.

Alternative: `shop.published_locales`

In VersaCommerce the list currently contains only the shop language.

## shop.locale

Returns the locale the shop is currently shown in, for example `en`, `fr` or `pt-BR`.

Deprecated because the value belongs to the request, not to the shop resource.

Alternative: `request.locale`

## shop.taxes_included

Returns `true` if taxes are included in your product prices, otherwise `false`.

```liquid
{% if shop.taxes_included %}
  Taxes included
{% else %}
  Taxes excluded
{% endif %}
```

```text
Taxes included
```

Deprecated because whether prices include taxes can depend on the customer's country. Since the value depends on the customer's context, it belongs to the `cart` object.

Alternative: `cart.taxes_included`
