From f715ffb839d4cb5b704c992d1dba924e1cdd2973 Mon Sep 17 00:00:00 2001 From: Xavier Mamano Date: Sun, 28 Dec 2014 23:12:58 +0100 Subject: [PATCH] In local_config/config.php.sample missing a key for purchase without stock. --- local_config/config.php.sample | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/local_config/config.php.sample b/local_config/config.php.sample index d29d7815..36856a0d 100644 --- a/local_config/config.php.sample +++ b/local_config/config.php.sample @@ -53,6 +53,13 @@ class configuration_vars { */ public $max_month_orderable_dates = 12; + /** + * + * Prevents purchase products with no stock (used in shop_and_order.php) + * @var boolean + */ + public $prevent_out_of_stock_purchase = true; + /** * * the default jquery-ui theme. these are located in css/ui-themes