跳至內容
選單
此問題已被標幟
1 回覆
2161 瀏覽次數

We have many products that are ordered in on an adhoc basis and would like to see the quantity on hand when we "Add a Product" in a sales order to make sure we are selecting an item that is in stock.

Ideally, if product = storable product and qty on hand > 0 the product will look in the search box like:

[Qty:30], Product Name 1

[Qty:100], Product Name  2

Product Name  3 <-- no stock or consumable

Does any one know if this is possible and how I would go about this?

頭像
捨棄
最佳答案

Hi Linda:

You can do this by extending and customizing the name_get method of the ProductProduct class. 

頭像
捨棄