From ea437720618b0f366796dba185c6947d5f783e12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20K=C3=BCndig?= Date: Fri, 23 Aug 2024 09:59:47 +0200 Subject: [PATCH] Added 1 as default minimum quantity --- components/product/addtocart.htm | 6 ++++-- models/Product.php | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/components/product/addtocart.htm b/components/product/addtocart.htm index e568fcd86..2cb02fa16 100644 --- a/components/product/addtocart.htm +++ b/components/product/addtocart.htm @@ -16,8 +16,10 @@ + min="{{ item.quantity_min | default(1) }}" + max="{{ item.quantity_max }}" + name="quantity" + value="{{ item.quantity_default | default(1) }}">