Dev Resources

  • Home
  • Reference
  • BuddyX Theme
  • Functions
  • Hooks
  • Classes
Filter by type:
Search
Browse: Home / Reference / src/Checkout/Helpers/ReserveStock.php

woocommerce_query_for_reserved_stock

Filter Hook: Filter: woocommerce_query_for_reserved_stock Allows to filter the query for getting reserved stock of a product.

Source: src/Checkout/Helpers/ReserveStock.php:227

Used by 1 function | Uses 0 functions

ReserveStock::reserve_stock_for_order()

Method: Put a temporary hold on stock for an order if enough is available.

Source: src/Checkout/Helpers/ReserveStock.php:66

Used by 0 functions | Uses 5 functions

ReserveStock::release_stock_for_order()

Method: Release a temporary hold on stock for an order.

Source: src/Checkout/Helpers/ReserveStock.php:132

Used by 1 function | Uses 1 function

ReserveStock::reserve_stock_for_product()

Method: Reserve stock for a product by inserting rows into the DB.

Source: src/Checkout/Helpers/ReserveStock.php:157

Used by 1 function | Uses 4 functions

ReserveStock::get_query_for_reserved_stock()

Method: Returns query statement for getting reserved stock of a product.

Source: src/Checkout/Helpers/ReserveStock.php:203

Used by 2 functions | Uses 1 function

ReserveStock

Class: Stock Reservation class.

Source: src/Checkout/Helpers/ReserveStock.php:13

Used by 0 functions | Uses 0 functions

ReserveStock::__construct()

Method: Constructor

Source: src/Checkout/Helpers/ReserveStock.php:25

Used by 6 functions | Uses 0 functions

ReserveStock::is_enabled()

Method: Is stock reservation enabled?

Source: src/Checkout/Helpers/ReserveStock.php:35

Used by 3 functions | Uses 0 functions

ReserveStock::get_reserved_stock()

Method: Query for any existing holds on stock for this item.

Source: src/Checkout/Helpers/ReserveStock.php:47

Used by 0 functions | Uses 2 functions
Proudly powered by WordPress