Deprecated tags

The following Liquid tags are considered deprecated, and have been replaced. They are still used in some themes, but it's recommended that you use the alternatives that are listed below.

The currency form

Generates a form that lets your customer change the currency in your storefront.

You can use this form with the currency_selector filter or you can create your own currency selector using cart.currency and shop.enabled_currencies.

In the following example, the currency_selector filter is used with the currency form:

In the following example, a customized currency selector is used with the currency form.

include

Inserts a snippet from the snippets folder of a theme.

The include tag works similarly to the render tag, but it lets the code inside of the snippet to access and overwrite the variables within its parent template. The include tag has been deprecated because the way that it handles variables reduces performance and makes theme code harder to both read and maintain.