Display Stock Warehouse In Product Detail Using Api

Hi All,



I want to show my stock warehouse in product detail page, like this :

Stock in Warehouse A is 2 pcs

Stock in Warehouse B is 5 pcs

Stock in Ware house C is out off stock





Unfortunately CS Cart not supported multi warehouse, therefore I want to use API to show this information in my website. Every product detail page load, will call my API and embed the information in this page. Anyone know how to do it?

Am already done the API but dant know how to implement in CS Cart,







Regards

Hi Anyone,



Any idea about this?



Thanks in advance.

hi,



this task is required analysis of your API and development of program code to get necessary stock info and its display.

our specialists will be glad to develop it for you so please don't hesitate to contact us.



best regards,

WSA team

We are also at your service

Hi Andry MIS,



If you'd like to have another quote from Alt-team you are very welcome.



Thanks

Hi all,



Thanks all for the offer, I will contact if needed.

But currently I will try first, if someone can give me the direction / clue very appreciated.

This is not a simple task. I have it set up in my 2.2.5 stores. 2.2.5 does not have suppliers as an addon but since the latest does, it should be easier but still requires a great amount of code.

warehouse_list.jpg

[quote name='The Tool' timestamp='1436444386' post='222241']

This is not a simple task. I have it set up in my 2.2.5 stores. 2.2.5 does not have suppliers as an addon but since the latest does, it should be easier but still requires a great amount of code.

[/quote]



Very Nice, Can you share how to do it?

Thanks in advance

I don't think you understand? For one, the addon I have is for 2.2.5 (It will be completely different for latest version). Secondly, it is a very complex addon. Not only does it display the warehouses with quantities on the product details page (and in admin), it also figures out (based on the products selected by customer) which warehouse closest to the customer can ship the order complete. If the order cannot be shipped complete from one warehouse then it figures out the warehouses closest to the customer to ship the order and creates separate shippings.



Cart-Power is the one that created the addon because it was too much for me to tackle. Contact Ruslan if you would like Cart-Power to create the addon for you for the latest version but I guarentee you that it won't be cheap.

If I were to approach this, I would do it as a separate addon and “import” your warehose stock into the store. This would use a separate table with separate keys for warehouse and product. The addon would extend the product_detail page to show the stock levels at the various warehouses (why you want to show this to the customer is unclear - usually they don't care where it comes from). Then on the admin side during order fulfillment, the merchant would identify which warehouse that fulfillment is occurring from and the inventory debited appropriately.



But as said above, it is not a simple addon because the built-in inventory stuff is not aware of the various warehouses and so the inventory of a product will have to be kept up to date as warehouse inventory changes as well as product sales (assuming sales from warehouses can occur from outside the cart).