Inventory Not Working

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
VoShay
Ensign (ENS)
Ensign (ENS)
Posts: 19
Joined: Wed Aug 12, 2009 11:07 am

Inventory Not Working

Post by VoShay » Sat Apr 24, 2010 11:31 am

I've turned Inventory Management on, and set it to Yes for display inventory, and have it showing thedefault messages. However, I have gone to several products and turned on Inventory tracking for them in their product page, both single products and products with variants, and it does not show the inventory at all. Addiinoally, it does not update inventory for the products when changes are made in Stone Edge Order Manager, despite it being set up according to the specifications of Stone Edge.

Any ideas?

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

Re: Inventory Not Working

Post by mazhar » Mon Apr 26, 2010 8:46 am

Make sure that you followed following steps
1)- Eanbled the inventory on store from store->settings page
2)- Enabled inventory for specified product and you specified some in-stock value. Make sure that Allow Back order is unchecked
3)- Save the product and preview it.

VoShay
Ensign (ENS)
Ensign (ENS)
Posts: 19
Joined: Wed Aug 12, 2009 11:07 am

Re: Inventory Not Working

Post by VoShay » Mon Apr 26, 2010 10:59 am

I've done all that except that allow backorder is checked. Having changed that, it works- but customers can't place backorders. I deal with backorders and special orders every day currently. Are you saying that if you are allowing backorders, thre is no way customers can see how much of an item is in stock? That seems counter intuitive. I think that its important to be able to see the curernt amonut in stock whether or not backorders are allowed. I suppose you'd call it a feature enhancement ,not a bug, but that's something people should be able to see.

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

Re: Inventory Not Working

Post by mazhar » Mon Apr 26, 2010 12:12 pm

Well this is the case right now. If you still interested to show inventory details to clients event if Allow Back Order is enabled then give a try to following workaround. Edit you ConLib/BuyProductDialog.ascx.cs file and locate following code line

Code: Select all

if ((inv.InventoryMode == InventoryMode.None) || (inv.AllowBackorder)) return;
and then update it as below

Code: Select all

if ((inv.InventoryMode == InventoryMode.None) ) return;
Now test it again via enabling Allow Back Order and having some items in stock

VoShay
Ensign (ENS)
Ensign (ENS)
Posts: 19
Joined: Wed Aug 12, 2009 11:07 am

Re: Inventory Not Working

Post by VoShay » Mon Apr 26, 2010 1:04 pm

No change Mazhar. It still doesn't show if its set to allow backorders. Unchecking backorders still shows stock though. I've created a text version and uploaded it to see if somehow i missed something, even though I followed your instructions Mazhar.

Thistle3408
Lieutenant (LT)
Lieutenant (LT)
Posts: 77
Joined: Mon Apr 19, 2010 4:52 pm

Re: Inventory Not Working

Post by Thistle3408 » Sun May 30, 2010 8:57 am

Check this string...it might be more what you wanted
viewtopic.php?f=42&t=13572

I will tell you I have refined the code so that it displays all sorts of messages and sets the maximum quantities orderable depending on the statuses and settings

Messages displayed:
"On Backorder" - out of stock but back orders are allowed, go ahead and order
"The product is out of stock." - out of stock,
"{in stock qty} units available" - when inventory is in stock below 100
"100+ available" - same as above when qty on hand is >100
Back Orders Accepted - may be in combination with other messages when we will accept BOs
Maximum per order: xxx - anytime there is a maximum qty we will allow the customer to order.
No Message - really no message, no way to order, no button to put into shopping cart. For products that with no inventory tracking that are out of stock.


If you want to see how it works, look at our new store. It's almost ready to go live but is already viewable. store.netgate.com

caravantech
Ensign (ENS)
Ensign (ENS)
Posts: 2
Joined: Wed Jul 21, 2010 6:57 am

Re: Inventory Not Working

Post by caravantech » Wed Jul 21, 2010 7:01 am

Thistle3408

I read with interest your comments ref back order. I am looking for a solution to the same problem. Are you happy to share the solution?

Paul

Post Reply