From 07bed72b5ecd115cfa0324b30fe77a380b80c815 Mon Sep 17 00:00:00 2001 From: Martin Gross Date: Mon, 1 Feb 2021 16:08:16 +0100 Subject: [PATCH] Add information on ``subevent``-parameter for pretix-Button --- doc/user/events/widget.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/user/events/widget.rst b/doc/user/events/widget.rst index 6e9e6ab337..8ed20fc4d4 100644 --- a/doc/user/events/widget.rst +++ b/doc/user/events/widget.rst @@ -197,6 +197,9 @@ should be added to the cart. The syntax of this attribute is ``item_ITEMID=1,ite where ``ITEMID`` are the internal IDs of items to be added and ``VARID`` are the internal IDs of variations of those items, if the items have variations. If you omit the ``items`` attribute, the general start page will be presented. +In case you are using an event-series, you will need to specify the subevent for which the item(s) should be put in the +cart. This can be done by specifying the ``subevent``-attribute. + Just as the widget, the button supports the optional attributes ``voucher`` and ``skip-ssl-check``. You can style the button using the ``pretix-button`` CSS class.