Skip to content

getShopInfo()

The getShopInfo method is used to get a ShopInfo object that represents info about the shop in the storefront.

Returned value

The ShopInfo object.

Example

source
{% set shopInfo = ObjectApi.getShopInfo() %}
Shop name: {{ shopInfo.name }}
Country code: {{ shopInfo.country.code }}
output
Shop name: Name of the shop
Country code: PL