/* * module: pproperties * date: 2015-10-30 20:57:18 * version: 2.14 */ private function resolveMinQtyInternal($min_qty, $min_qty_fractional, $key, $raw_data) { $this->productProperties(); $q = $this->p_properties['pp_ext'] == 1 ? 0 : $this->qtyPolicy(); if ($q == 0) { return (int) ((int) $min_qty > 1 || $raw_data ? $min_qty : $this->p_properties[$key]); } else { return (double) ((double) $min_qty_fractional > 0 || $raw_data ? $min_qty_fractional : $this->p_properties[$key]); } } /* * module: pproperties * date: 2015-10-30 20:57:18 * version: 2.14 */ private function defaultQtyInternal($qty, $format) { $default_qty = $this->p_properties['pp_default_quantity']; if ($qty > $default_qty) { $default_qty = $qty; } return $format ? PP::formatQty($default_qty) : $default_qty; } } Product::ppInit();