Valentin Lab
63673117b3
fix: enforce stock limits on basket quantities
...
No stock validation existed in the ordering flow, allowing customers
to order more items than available.
Cap quantity to ``stock_current`` in ``Baskets::getBasketData()`` when
adding to cart. Add ``min=1`` and ``max=stock`` attributes on the
basket quantity input, with JS clamping in the change handler.
Verify stock again in ``Shop\OrderController::store()`` before saving
the order as a race-condition safeguard.
2026-02-20 13:05:31 +01:00
Valentin Lab
8d130b9741
new: add channel management
2025-10-05 09:39:27 +02:00
ludo
befaa40b48
fixes
2025-01-03 03:46:45 +01:00
ludo
25b78f3380
change homepages to contents, add new methods to deliveries and sale_channels by customer
2023-12-09 23:55:50 +01:00
ludo
ec509df665
better management of shipping and basket summary display
2023-12-03 00:40:47 +01:00
ludo
2ebdc5f16b
add shipping to order, methods to calculate, little refactoring
2023-11-15 23:20:42 +01:00
ludo
23ac0cedad
fix on weight
2023-11-13 00:40:41 +01:00
Ludovic CANDELLIER
496274b4f4
fix orders datatables on profile, fix deliveries for profile (public & active)
2023-08-29 22:15:37 +02:00
Ludovic CANDELLIER
0828ac3377
quick add to basket on shelves
2023-02-27 23:16:15 +01:00
Ludovic CANDELLIER
cafd0a49e7
change registration or connection in order page, change filter on shelve page, add new api to get article_nature by product_type, css fixes
2023-02-10 23:11:48 +01:00
Ludovic CANDELLIER
bfd30b668e
fixes
2022-12-29 17:13:43 +01:00
Ludovic CANDELLIER
0feebca7e0
fixes
2022-12-22 01:09:11 +01:00
Ludovic CANDELLIER
7df2421373
restart
2022-11-11 13:05:40 +01:00
Ludovic CANDELLIER
d423fce4f5
fixes
2022-07-04 00:35:43 +02:00
Ludovic CANDELLIER
e435752484
begin order form with registration
2022-06-26 23:33:39 +02:00
Ludovic CANDELLIER
439a339027
fixes on merchandise
2022-05-02 08:34:40 +02:00
Ludovic CANDELLIER
570374bab7
Add new data in getBasket context
2022-04-24 23:49:28 +02:00
Ludovic CANDELLIER
416c724ad1
Add new data in getBasket context
2022-04-24 23:20:52 +02:00
Ludovic CANDELLIER
e4672a42d7
fixes
2022-04-22 02:32:53 +02:00
Ludovic CANDELLIER
94234218d6
Filters collapsed, customer auth and register, fix on basket recalculation
2022-04-20 00:16:16 +02:00
Ludovic CANDELLIER
a12dd0c653
fix on basket
2022-04-17 00:16:36 +02:00
Ludovic CANDELLIER
c2ef0c7b35
Add merchandise, fix articletosell with src for images
2022-04-14 23:20:09 +02:00
Ludovic CANDELLIER
9c2b9cf02e
wip 3d
2022-04-13 23:49:48 +02:00
Ludovic CANDELLIER
6e133246cf
enhance add to basket
2022-04-01 00:11:15 +02:00
Ludovic CANDELLIER
2a98b24bc1
Add calculations on basket
2022-03-24 14:57:39 +01:00
Ludovic CANDELLIER
c65056531c
Manage homepage by article, modify article template, enhance basket (add selector)
2022-03-24 00:48:26 +01:00