Home
last modified time | relevance | path

Searched refs:isAvailableWhenOutOfStock (Results 1 – 24 of 24) sorted by relevance

/dports/finance/prestashop/prestashop/src/Adapter/Cart/CommandHandler/
H A DUpdateProductQuantityInCartHandler.php186 $isAvailableWhenOutOfStock = Product::isAvailableWhenOutOfStock($product->out_of_stock);
193 if (!$isAvailableWhenOutOfStock && !$isEnoughQuantity) {
203 if (!$isAvailableWhenOutOfStock && !$hasPackEnoughQuantity) {
/dports/finance/prestashop/prestashop/modules/ps_facetedsearch/src/Adapter/
H A DMySQL.php373 $isAvailableWhenOutOfStock = (int) Product::isAvailableWhenOutOfStock(2);
377 $computedValue = $isAvailableWhenOutOfStock ? 0 : 1;
378 $computedDirection = $isAvailableWhenOutOfStock ? 'ASC' : 'DESC';
/dports/finance/prestashop/prestashop/src/Adapter/Order/QueryHandler/
H A DGetOrderProductsForViewingHandler.php247 … (bool) Product::isAvailableWhenOutOfStock(StockAvailable::outOfStock($pack_item['id_product']))
276 … (bool) Product::isAvailableWhenOutOfStock(StockAvailable::outOfStock($product['product_id'])),
/dports/www/thirtybees/thirtybees-1.1.0/controllers/front/
H A DCartController.php190 …if (!Product::isAvailableWhenOutOfStock($product->out_of_stock) && !Attribute::checkAttributeQty($…
198 …} elseif (!Product::isAvailableWhenOutOfStock($product->out_of_stock) && !Attribute::checkAttribut…
H A DCompareController.php152 … $curProduct->allow_oosp = Product::isAvailableWhenOutOfStock($curProduct->out_of_stock);
H A DProductController.php317 …'allow_oosp' => $this->product->isAvailableWhenOutOfStock((int) $this->product->out_…
868 …if (!Product::isAvailableWhenOutOfStock($this->product->out_of_stock) && Configuration::get('PS_DI…
/dports/finance/prestashop/prestashop/controllers/front/
H A DCartController.php581 return !Product::isAvailableWhenOutOfStock($product->out_of_stock)
583 } elseif (Product::isAvailableWhenOutOfStock($product->out_of_stock)) {
H A DProductController.php716 …((!Product::isAvailableWhenOutOfStock($this->product->out_of_stock) && 0 == Configuration::get('PS…
753 …if (!Product::isAvailableWhenOutOfStock($this->product->out_of_stock) && Configuration::get('PS_DI…
1013 if (!Product::isAvailableWhenOutOfStock($this->product->out_of_stock)) {
1033 if (!Product::isAvailableWhenOutOfStock($this->product->out_of_stock)) {
/dports/finance/prestashop/prestashop/src/Adapter/Order/CommandHandler/
H A DUpdateProductInOrderHandler.php190 … if (!Product::isAvailableWhenOutOfStock(StockAvailable::outOfStock($orderDetail->product_id))) {
H A DAddProductToOrderHandler.php565 …if (!Product::isAvailableWhenOutOfStock(StockAvailable::outOfStock($command->getProductId()->getVa…
/dports/finance/prestashop/prestashop/src/Adapter/Product/QueryHandler/
H A DSearchProductsHandler.php201 (bool) Product::isAvailableWhenOutOfStock($product->out_of_stock),
/dports/www/thirtybees/thirtybees-1.1.0/classes/
H A DPack.php160 …oduct::getQuantity($item->id) < $item->pack_quantity && !$item->isAvailableWhenOutOfStock((int) $i…
H A DCart.php539 $row['allow_oosp'] = Product::isAvailableWhenOutOfStock($row['out_of_stock']);
3218 if (!Product::isAvailableWhenOutOfStock((int) $result2['out_of_stock'])) {
3264 if (!Product::isAvailableWhenOutOfStock((int) $result2['out_of_stock'])) {
H A DProduct.php1741 $row['allow_oosp'] = static::isAvailableWhenOutOfStock($row['out_of_stock']);
1878 public static function isAvailableWhenOutOfStock($outOfStock) function in ProductCore
6041 if ($this->isAvailableWhenOutOfStock(StockAvailable::outOfStock($this->id))) {
/dports/finance/prestashop/prestashop/classes/
H A DPack.php223 if ($product->isAvailableWhenOutOfStock($product->out_of_stock)) {
H A DCart.php980 $row['allow_oosp'] = Product::isAvailableWhenOutOfStock($row['out_of_stock']);
1584 …$availableOutOfStock = Product::isAvailableWhenOutOfStock(StockAvailable::outOfStock($product->id)…
1634 …if (!Product::isAvailableWhenOutOfStock((int) $result2['out_of_stock']) && !$skipAvailabilityCheck…
5074 $availableOutOfStock = Product::isAvailableWhenOutOfStock($product['out_of_stock']);
H A DProduct.php4364 public static function isAvailableWhenOutOfStock($out_of_stock) function in ProductCore
4387 if ($this->isAvailableWhenOutOfStock(StockAvailable::outOfStock($this->id))) {
5579 $row['allow_oosp'] = Product::isAvailableWhenOutOfStock($row['out_of_stock']);
/dports/finance/prestashop/prestashop/src/Adapter/Order/
H A DOrderProductQuantityUpdater.php538 … if (!Product::isAvailableWhenOutOfStock(StockAvailable::outOfStock($orderDetail->product_id))) {
/dports/finance/prestashop/prestashop/src/Adapter/Cart/QueryHandler/
H A DGetCartForOrderCreationHandler.php557 Product::isAvailableWhenOutOfStock((int) $product['out_of_stock']) !== 0,
/dports/finance/prestashop/prestashop/controllers/admin/
H A DAdminCartsController.php475 …if (!Product::isAvailableWhenOutOfStock($product->out_of_stock) && !Attribute::checkAttributeQty((…
/dports/www/thirtybees/thirtybees-1.1.0/controllers/admin/
H A DAdminCartsController.php679 …if (!Product::isAvailableWhenOutOfStock($product->out_of_stock) && !Attribute::checkAttributeQty((…
H A DAdminOrdersController.php2984 …if (($stockAvailable < $addQuantity) && (!$product->isAvailableWhenOutOfStock((int) $product->out_…
H A DAdminProductsController.php5332 if (!$item->isAvailableWhenOutOfStock((int) $item->out_of_stock)) {
/dports/www/thirtybees/thirtybees-1.1.0/modules/blocklayered/
H A Dblocklayered.php2386 …if ((int) $product['quantity'] > 0 || Product::isAvailableWhenOutOfStock($product['out_of_stock'])…