Mira Weller
ac771b8ca8
refactor cross-selling logic into its own module
2024-07-19 14:21:24 +02:00
Mira Weller
cb635b2c37
add TODO for known error
2024-07-19 14:21:24 +02:00
Mira Weller
3fe6919bef
add typing
2024-07-19 14:21:24 +02:00
Mira Weller
8cfb69c265
clarifications
2024-07-19 14:21:24 +02:00
Mira Weller
77fc13605e
new sales channel compat
2024-07-19 14:21:24 +02:00
Mira Weller
a95976ed50
translate comments
2024-07-19 14:21:24 +02:00
Mira Weller
2e3a611498
isort
2024-07-19 14:21:24 +02:00
Mira Weller
6bf16f1510
Use namedtuple
2024-07-19 14:21:24 +02:00
Mira Weller
d29b183801
fix test case
2024-07-19 14:21:24 +02:00
Mira Weller
188ef5f463
isort
2024-07-19 14:21:24 +02:00
Mira Weller
a7e292ea58
fix case
2024-07-19 14:21:24 +02:00
Mira Weller
d04b855cce
category_type refactoring
2024-07-19 14:21:24 +02:00
Mira Weller
01b535a0af
cache potential discount information
...
relevant if shop has multiple categories with cross_selling_condition=discounts
2024-07-19 14:21:23 +02:00
Mira Weller
d9f31aae8c
better var names
2024-07-19 14:21:23 +02:00
Mira Weller
715347cb35
filter non-buyable items from list
2024-07-19 14:21:23 +02:00
Mira Weller
32cc45f19a
make cross-selling-applicable more specific and cache state
...
(only show if really applicable, e.g. don't show if product can't be bought due to order_max)
2024-07-19 14:21:23 +02:00
Mira Weller
cadf8dd39d
better order_max handling
2024-07-19 14:21:23 +02:00
Mira Weller
b136ac37c8
Hide addon text if only cross-selling, no addons in addon step
2024-07-19 14:21:23 +02:00
Mira Weller
8627eefebc
first round of cleanup
2024-07-19 14:21:23 +02:00
Mira Weller
e71d3e21ca
display discounted prices, limit number of products according to discount rule
2024-07-19 14:21:23 +02:00
Mira Weller
a18adb8a88
wip
2024-07-19 14:21:23 +02:00
Mira Weller
f56d67ec9c
add todo notes
2024-07-19 14:21:23 +02:00
Mira Weller
c156581ad1
fix discount collection (?)
2024-07-19 14:21:23 +02:00
Mira Weller
8791280d0b
Implement discount prediction (very WIP!)
2024-07-19 14:21:23 +02:00
Mira Weller
97925e2d77
migration, show category type in ui
2024-07-19 14:21:23 +02:00
Mira Weller
a0d865cf4f
implement cross_selling_visibility "always" and "products"
2024-07-19 14:21:21 +02:00
Mira Weller
2cd5d87da4
Refactor fragment_product_list.html
2024-07-19 14:21:00 +02:00
Mira Weller
e5c7c85e75
Allow adding products from multiple subevents to the cart at once
2024-07-19 14:21:00 +02:00
Mira Weller
3e0992a7a7
Make the comments in cart.py less incorrect
2024-07-19 14:21:00 +02:00
Mira Weller
f19e5bef72
Cross-selling category configuration
2024-07-19 14:21:00 +02:00
Richard Schreiber
c49f42301c
Fix file-type check for product image
2024-07-19 12:44:49 +02:00
Reece Needham
2ae0a16e67
Translations: Update Spanish
...
Currently translated at 100.0% (231 of 231 strings)
Translation: pretix/pretix (JavaScript parts)
Translate-URL: https://translate.pretix.eu/projects/pretix/pretix-js/es/
powered by weblate
2024-07-19 11:52:27 +02:00
Reece Needham
6b06fdf822
Translations: Update Spanish
...
Currently translated at 88.6% (5045 of 5690 strings)
Translation: pretix/pretix
Translate-URL: https://translate.pretix.eu/projects/pretix/pretix/es/
powered by weblate
2024-07-19 11:52:27 +02:00
Reece Needham
ea3f4e5f62
Translations: Update Spanish
...
Currently translated at 100.0% (231 of 231 strings)
Translation: pretix/pretix (JavaScript parts)
Translate-URL: https://translate.pretix.eu/projects/pretix/pretix-js/es/
powered by weblate
2024-07-19 11:52:27 +02:00
Reece Needham
d71c23f7e0
Translations: Update Spanish
...
Currently translated at 87.5% (4983 of 5690 strings)
Translation: pretix/pretix
Translate-URL: https://translate.pretix.eu/projects/pretix/pretix/es/
powered by weblate
2024-07-19 11:52:27 +02:00
Nikolai
5ed7b0032b
Translations: Update Danish
...
Currently translated at 49.4% (2815 of 5690 strings)
Translation: pretix/pretix
Translate-URL: https://translate.pretix.eu/projects/pretix/pretix/da/
powered by weblate
2024-07-19 11:52:27 +02:00
Martin Gross
a77f2d01a7
CartManager: Allow to explicitly set an order expiration
2024-07-19 11:38:36 +02:00
Raphael Michel
ca4f511cde
Voucher import: Fix subevent column
2024-07-19 10:56:17 +02:00
Raphael Michel
83b1c2ea7e
Do not take "optional" as part of error message label ( #4309 )
2024-07-18 14:57:25 +02:00
Richard Schreiber
c91eb2e20d
Set cursor to not-allowed on labels for disabled checkboxes
2024-07-18 11:54:43 +02:00
Richard Schreiber
bfb480a288
UI: in plugin-list only show border-top when necessary ( #4314 )
2024-07-18 11:43:24 +02:00
Richard Schreiber
22e2143623
API: add api_meta to order
2024-07-18 10:01:03 +02:00
Raphael Michel
9e61f7f978
API: Fix admin permission issue in subevent endpoint
2024-07-18 09:44:30 +02:00
Raphael Michel
092de9e3c4
Add webhook for pretix.event.order.deleted (Z#23159520) ( #4310 )
2024-07-17 17:15:35 +02:00
Richard Schreiber
f0822d3c27
Docs: add help for HTTP-COOP: same-origin, widget and Paypal ( #4311 )
...
* Docs: add help for HTTP-COOP, widget and Paypal
* fix typo Paypal => PayPal
Co-authored-by: Raphael Michel <michel@rami.io >
---------
Co-authored-by: Raphael Michel <michel@rami.io >
2024-07-17 16:12:17 +02:00
dependabot[bot]
6fc47ca3b6
Update django-hijack requirement from ==3.5.* to ==3.6.* ( #4290 )
...
Updates the requirements on [django-hijack](https://github.com/django-hijack/django-hijack ) to permit the latest version.
- [Release notes](https://github.com/django-hijack/django-hijack/releases )
- [Changelog](https://github.com/django-hijack/django-hijack/blob/master/docs/release-button.png )
- [Commits](https://github.com/django-hijack/django-hijack/compare/3.5.0...3.6.0 )
---
updated-dependencies:
- dependency-name: django-hijack
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-17 14:27:42 +02:00
Raphael Michel
3716a686f5
Translations: Add Basque
2024-07-17 14:27:30 +02:00
Erik Löfman
9c0c77958e
Translations: Update Swedish
...
Currently translated at 99.9% (5685 of 5690 strings)
Translation: pretix/pretix
Translate-URL: https://translate.pretix.eu/projects/pretix/pretix/sv/
powered by weblate
2024-07-17 14:27:30 +02:00
Nikolai
6154a44274
Translations: Update Danish
...
Currently translated at 47.9% (2727 of 5690 strings)
Translation: pretix/pretix
Translate-URL: https://translate.pretix.eu/projects/pretix/pretix/da/
powered by weblate
2024-07-17 14:27:30 +02:00
Erik Löfman
d5aff10297
Translations: Update Swedish
...
Currently translated at 98.5% (5610 of 5690 strings)
Translation: pretix/pretix
Translate-URL: https://translate.pretix.eu/projects/pretix/pretix/sv/
powered by weblate
2024-07-17 14:27:30 +02:00