PageSourceSearch

https://spacehabs.com/wp-content/plugins/woo-custom-stock-status//…/woo-custom-stock-status.js?ver=1780287707

js spacehabs.com collected 2026-10-02 06:32:13 UTC 507 bytes, 16 lines download raw bytes

1    const { registerCheckoutFilters } = window.wc.blocksCheckout;
2
3    const modifyItemName = (defaultValue, extensions, args) => {
4
5        const customStatus = extensions?.woo_custom_stock_status?.custom_status || '';
6
7        // Return the name with a placeholder for stock status
8        return `
9            <span class="cart-item-name">${defaultValue}</span>
10            ${customStatus}
11        `;
12    };
13
14    registerCheckoutFilters('cart-item-extension', {
15        itemName: modifyItemName,
16    });

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.