# How to find categoryID from articleID inside confirm.tpl (/checkout/confirm)?

**URL:** <https://forum.shopware.com/t/how-to-find-categoryid-from-articleid-inside-confirm-tpl-checkout-confirm/67932>\
**Category:** Allgemein\
**Created:** [25. Juni 2020 um 16:27 UTC](https://forum.shopware.com/t/how-to-find-categoryid-from-articleid-inside-confirm-tpl-checkout-confirm/67932 "2020-06-25T16:27:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![N4K1B](https://avatars.discourse-cdn.com/v4/letter/n/45deac/32.png) [@N4K1B](https://forum.shopware.com/u/N4K1B)\
**Post date:** [25. Juni 2020 um 16:27 UTC](https://forum.shopware.com/t/how-to-find-categoryid-from-articleid-inside-confirm-tpl-checkout-confirm/67932/1 "2020-06-25T16:27:58Z")

</div>

There is a&nbsp; **category** &nbsp;of product in our shop which cannot be shipped outside Germany. So when a customer outside of Germany orders any product of that&nbsp; **category** &nbsp;we want to prevent them from that order or give him a message in **/checkout/confirm** page&nbsp;

We want to get&nbsp; **categoryID** &nbsp;from&nbsp; **articleID** &nbsp;and check with the&nbsp; **shipping address** &nbsp;of the customer and validate it.

We get the articleID from the BasketItem in confirm.tpl

```
$sBasketItem.articleID

```

but the BasketItem doesn’t contain the category / categoryID of the products. Now how can we get the categoryIDs of the BasketItems (Shopping Cart)?

We are using Shopware 5.6.4
