Menu Close

Product Stock block

The Blocksify Product Stock block shows WooCommerce availability or managed stock quantity.

Where to find it

  1. Go to Blocksify → Dynamic Templates and open a template that targets single WooCommerce products.
  2. Open the + (Block Inserter), find Blocksify WooCommerce, and select Product Stock. Availability appears.
  3. Select the block and open the settings sidebar.
The Block Inserter shows Product Stock under Blocksify WooCommerce beside the Belt availability in the Dynamic Template editor.

Note: The inserter offers this block only in the Dynamic Template editor. For a shop grid on a page, use Product Loop and its card elements.

Stock

The Stock panel chooses the availability message.

The Stock panel shows Quantity selected under Display and the Hide when in stock toggle below it.
SettingDescription
DisplayStatus, the default, shows a label. Quantity shows managed inventory or the label.
Hide when in stockOff by default; hides in-stock messages only.

Labels

Labels replace each state’s text.

SettingDescription
In stockDefault: “In stock”
Out of stockDefault: “Out of stock”
On backorderDefault: “On backorder”
Quantity textQuantity mode only. Defaults to “%s in stock”; %s marks the number.

Styling

Styling gives In-stock status, Out-of-stock status, and Backorder status typography, color, background, padding, border, and radius. Quantity number has typography and color.

Frontend behavior

On the Belt page, WooCommerce supplies the out-of-stock notice shown by the block, as shown below. Other products show their own in-stock or backorder state.

The Belt product page shows the Out of stock notice rendered by the Product Stock block.

Quantity mode can show “2 in stock”; low stock is not a separate state. With Product Add to Cart on the same template, it follows the Hoodie variation and resets when cleared.

Was this helpful?

0

Updated