You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Rupinder <ru...@voltix.com> on 2008/02/04 07:21:20 UTC

Displaying "Inventory On Hand" for products in ecommerce

Hi,
Is it possible to display "Inventory On Hand" or "Quantity On Hand" for
products displayed to end user in ecommerce application. Like other
displayed details include "Product Description", "Price", "Name", "Picture"
of the product. I want to also show "Quantity On Hand" from the inventory.

-- 
View this message in context: http://www.nabble.com/Displaying-%22Inventory-On-Hand%22-for-products-in-ecommerce-tp15262731p15262731.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Displaying "Inventory On Hand" for products in ecommerce

Posted by Bilgin Ibryam <bi...@iguanait.com>.
Rupinder,

If you want to customize OFBiz yourself, you have to get more familiar
with its internals.
Anyway, here are the steps for adding this info to ecommerce screens:

1. Call getInventoryAvailableByFacility service in product.bsh and put
the returned values(availableToPromiseTotal, quantityOnHandTotal) in the
context.
2. Visualize these values in product screen i.e. productdetail.ftl and
configproductdetail.ftl

Bilgin



Re: Displaying "Inventory On Hand" for products in ecommerce

Posted by Rupinder <ru...@voltix.com>.
Hi
i am not aware of using services. Can you provide some details how to
implement this functionality using getInventoryAvailableByFacility service.


Bilgin Ibryam wrote:
> 
> Hi Rupinder,
> 
> it is easy to add this functionality.
> You can use getInventoryAvailableByFacility service to get
> availableToPromiseTotal and quantityOnHandTotal quantities.
> 
> Regards,
> Bilgin
> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Displaying-%22Inventory-On-Hand%22-for-products-in-ecommerce-tp15262731p15305189.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Displaying "Inventory On Hand" for products in ecommerce

Posted by Bilgin Ibryam <bi...@iguanait.com>.
Hi Rupinder,

it is easy to add this functionality.
You can use getInventoryAvailableByFacility service to get
availableToPromiseTotal and quantityOnHandTotal quantities.

Regards,
Bilgin