Widget: Allow to filter by attributes

This commit is contained in:
Raphael Michel
2019-07-08 23:27:23 +02:00
parent 285694955c
commit 55d423af18
3 changed files with 18 additions and 3 deletions

View File

@@ -143,6 +143,11 @@ You can see an example here:
</div>
</noscript>
You can filter events by meta data attributes. You can create those attributes in your order profile and set their values in both event and series date
settings. For example, if you set up a meta data property called "Promoted" that you set to "Yes" on some events, you can pass a filter like this::
<pretix-widget event="https://pretix.eu/demo/series/" style="list" filter="attr[Promoted]=Yes"></pretix-widget>
pretix Button
-------------