כמה בעיות בהגדרת רכיב ערכת נושא לשילוב עם pretix

Search for api.onPageChange() , that will give you a good place to handle this.