# How to get a product link for Qr-code?

**URL:** <https://forum.shopware.com/t/how-to-get-a-product-link-for-qr-code/87280>\
**Category:** Programming (EN)\
**Tags:** programming\
**Created:** [29. April 2021 um 07:52 UTC](https://forum.shopware.com/t/how-to-get-a-product-link-for-qr-code/87280 "2021-04-29T07:52:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![valeria.zaviriukha](https://avatars.discourse-cdn.com/v4/letter/v/22d042/32.png) [@valeria.zaviriukha](https://forum.shopware.com/u/valeria.zaviriukha)\
**Post date:** [29. April 2021 um 07:52 UTC](https://forum.shopware.com/t/how-to-get-a-product-link-for-qr-code/87280/1 "2021-04-29T07:52:33Z")

</div>

Hi! I am working on creating a plugin for generating Qr-code for product. The product link must be encrypted in this qr-code. The block with qr will be shown on the product page in the admin panel. The qr-code image changes dynamically depending on the product.  
To generate qr-code I use qrcode-generator library, js version.  
Initially, I thought that there is something like product.url in the Shopware 6 and from it I can get a link, but there is no such value.  
I found ways to display a product link on the site ( {{ seoUrl(‚frontend.detail.page‘, { productId: page.product.id }) }} ), but this option does not work for the admin panel.  
I would be grateful for your advice!
