Inventory Management

Post feature requests to this forum and a pre-configured poll will automatically be created for you.
Post Reply

How important is this enhancement to you?

It's a critical enhancement that I must have.
3
100%
It's an important enhancement but others are more critical.
0
No votes
I'd like to have it but it's not that important.
0
No votes
I'd never use this feature.
0
No votes
 
Total votes: 3

chalvorsen
Ensign (ENS)
Ensign (ENS)
Posts: 19
Joined: Fri Nov 21, 2008 10:23 am
Location: New Hampshire
Contact:

Inventory Management

Post by chalvorsen » Tue Dec 02, 2008 10:13 pm

Ok, I know it can be done, but what am I missing here?

We need to have control over the inventory on our site and allow our customers "prior" to adding items to their cart the exact number that is in stock. Also, if the item is not in stock, we need to allow backordering, however need them to know it is on backorder.

This is one of the biggest reasons we switched over to AC7 from another company is for the inventory control. I know it can be done as I have seen it on other AC7 sites.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Inventory Management

Post by mazhar » Wed Dec 03, 2008 10:45 am

Could be something like below where 203 is the product id

Code: Select all

//Find Instock value
        InventoryManagerData imd = InventoryManager.CheckStock(203);
        Response.Write(imd.InStock.ToString());

        // Destock the product
        bool isLowStock = false;
        
        InventoryManager.Destock(2, 203, out isLowStock);
        if (isLowStock)
            Response.Write("Stock Is Low");

        //Restock the product
        InventoryManager.Restock(2, 203);

User avatar
hassonmike
Lieutenant (LT)
Lieutenant (LT)
Posts: 76
Joined: Tue Apr 19, 2011 2:13 pm
Contact:

Re: Inventory Management

Post by hassonmike » Tue Jul 19, 2011 12:16 pm

Is this code only useful on a per-item basis? or can this be applied store-wide?

Post Reply