# How to get the priceGroup discount percentage into the price template?

**URL:** <https://forum.shopware.com/t/how-to-get-the-pricegroup-discount-percentage-into-the-price-template/91816>\
**Category:** International (English Only)\
**Tags:** programming\
**Created:** [6. Dezember 2021 um 11:02 UTC](https://forum.shopware.com/t/how-to-get-the-pricegroup-discount-percentage-into-the-price-template/91816 "2021-12-06T11:02:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![menno](https://avatars.discourse-cdn.com/v4/letter/m/dec6dc/32.png) [@menno](https://forum.shopware.com/u/menno)\
**Post date:** [6. Dezember 2021 um 11:02 UTC](https://forum.shopware.com/t/how-to-get-the-pricegroup-discount-percentage-into-the-price-template/91816/1 "2021-12-06T11:02:01Z")

</div>

Hi,

How do I pull the discounts of the pricegroup into the article template - specifically the price? I have the priceGroup ID available on the sArticle variable, but nothing more.  
Will I need to create my own plugin to add the pricegroup discounts, or can I get at it in the template itself?

To clarify: the customer uses price groups to apply a single discount to certain groups of articles. So a pricegroup with just a single discount with a minimum article count of 1.
