# Weight of the product in dataLayer

URL: https://shoptet.dev/news/frontend/weight-of-the-product-in-datalayer

January 30, 2023 · One min read
Pavel Husa

We extended dataLayer with information about product weight. You can edit this value at the `Logistics` tab on product page in admin.

Try it yourself and type the following into the console:
Product detail page – `getShoptetDataLayer('product').weight;`
When you have a product in the cart – `getShoptetDataLayer('cart')[0].weight;`

**Tags:**
- [Frontend](/news/tags/frontend/)
