From 7592a8a5757cf1f7403e293088e6ea2cc2c0f513 Mon Sep 17 00:00:00 2001 From: Richard Schreiber Date: Thu, 14 Mar 2024 09:15:44 +0100 Subject: [PATCH] =?UTF-8?q?Presale:=20add=20data-attribute=20price=20to=20?= =?UTF-8?q?each=20item=E2=80=99s=20article-element?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Presale: add data-attribute price to article * fix price for items (defaul_price) Co-authored-by: Mira * add data-price to voucher and addons, unlocalize price * use universal display_price for items and variation, respect net or gross --------- Co-authored-by: Mira --- .../pretixpresale/event/fragment_addon_choice.html | 10 ++++++++-- .../pretixpresale/event/fragment_product_list.html | 10 ++++++++-- .../presale/templates/pretixpresale/event/voucher.html | 10 ++++++++-- 3 files changed, 24 insertions(+), 6 deletions(-) diff --git a/src/pretix/presale/templates/pretixpresale/event/fragment_addon_choice.html b/src/pretix/presale/templates/pretixpresale/event/fragment_addon_choice.html index 25282f069e..e8eab738f1 100644 --- a/src/pretix/presale/templates/pretixpresale/event/fragment_addon_choice.html +++ b/src/pretix/presale/templates/pretixpresale/event/fragment_addon_choice.html @@ -106,7 +106,10 @@