Comments on: [wcj_product_stock_quantity] https://booster.io/shortcodes/wcj_product_stock_quantity/ WordPress WooCommerce Plugin Tue, 16 Apr 2024 08:16:47 +0000 hourly 1 https://wordpress.org/?v=6.7.2 By: RokasJ https://booster.io/shortcodes/wcj_product_stock_quantity/#comment-39624 Thu, 09 May 2019 19:48:32 +0000 https://booster.io/?p=7139#comment-39624 In reply to splaquet.

Hi,

Unfortunately it’s not possible to use shortcodes in order_items_table – only columns from https://booster.io/shortcodes/wcj_order_items_table/, and stock is not one of them yet but we have added it to our todo list.

I’m not sure what you are referring to as picking list but if you are talking about products page (backend), you can use this shortcode in “Admin Products List”. This will show product stock as a column on that page.

Best regards,
Rokas – Support Team

]]>
By: splaquet https://booster.io/shortcodes/wcj_product_stock_quantity/#comment-39623 Thu, 09 May 2019 18:55:11 +0000 https://booster.io/?p=7139#comment-39623 is there a method of displaying the [wcj_product_stock_quantity] for each line item on a picking list? it’s an easy way for us to quickly catch and adjust any product inventory that’s off.

I’ve tried a few combinations, but cannot seem to figure out how to insert it into a column on wcj_order_items_table packing slip template.

could you shoot me over any advice on how i might be able to make that happen?

`[wcj_order_items_table table_class="pdf_invoice_items_table"
columns="wcj_product_stock_quantity product_id="item_sku"|item_number|item_sku|product_attribute=pa_record-label|product_attribute=pa_record-number|product_categories|item_quantity|item_name|line_total_tax_excl"
columns_titles="STK|#|BRO|Record Label|Rec Num|Media|Qty|Title|Total"
columns_styles="width:25px;text-align:center;|width:25px;text-align:center;|width:7%;text-align:center;|width:15%;text-align:center;|width:13%;text-align:center;|width:40px;text-align:center;|width:28px;text-align:center;|width: auto;white-space: nowrap!important;overflow: hidden!important;min-width: 0;wrap-inside: avoid!important;|width:7%;text-align:right;"]`

]]>