# {if $vote.shop\_id==1} Kann auf $vote.shop\_id nicht zugreifen

**URL:** <https://forum.shopware.com/t/if-vote-shop-id-1-kann-auf-vote-shop-id-nicht-zugreifen/51437>\
**Category:** Programmierung\
**Created:** [28. Februar 2018 um 11:49 UTC](https://forum.shopware.com/t/if-vote-shop-id-1-kann-auf-vote-shop-id-nicht-zugreifen/51437 "2018-02-28T11:49:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Domagical](https://avatars.discourse-cdn.com/v4/letter/d/898d66/32.png) [@Domagical](https://forum.shopware.com/u/Domagical)\
**Post date:** [28. Februar 2018 um 11:49 UTC](https://forum.shopware.com/t/if-vote-shop-id-1-kann-auf-vote-shop-id-nicht-zugreifen/51437/1 "2018-02-28T11:49:19Z")

</div>

Hallo,

&nbsp;

bei mir funktioniert die Variable&nbsp;$vote.shop\_id nicht.

Muss diese erst eingerichtet werden? Oder sollte ich nicht auf alle Spalten in der Datenbank zugriff haben?
