Page 1 of 1

Inventory level not displaying on product pages

Posted: Wed Jul 29, 2009 6:06 am
by Si Burgess
Hope someone can help here.

AbleCommerce 7.0.3 build 12458

As per the manual, I have turned on the Display Inventory (Configure / Store) then added inventory levels to my products and have marked them to be inventory tracked. None of my product pages show the stock level. :(

The product page being used is, Basic Product (Product.asp), changing this to any of the others also doesn't show the inventory. There are no errors in the error log.

I'm at a dead-end.

Re: Inventory not displaying on product page

Posted: Wed Jul 29, 2009 7:28 am
by mazhar
Working for me, Make sure that your store setting page has following in {0} units available In Stock Message filed and also your inventory mode for product is set to Track product. You have some instock value.

Re: Inventory level not displaying on product pages

Posted: Wed Jul 29, 2009 7:47 am
by Si Burgess
Thanks for your response. Please see the attached images that show my settings and the lack of stock info on the product page.

I have one product which is a kit so is tracking the variants.

Does IIS need to be restarted to pick up the change in the Store Inventory setting?

Re: Inventory level not displaying on product pages

Posted: Wed Jul 29, 2009 7:49 am
by mazhar
What is the name of product available in above picture?

Re: Inventory level not displaying on product pages

Posted: Wed Jul 29, 2009 8:04 am
by Si Burgess
Hacker A50-16S Brushless Outrunner Motor

Re: Inventory level not displaying on product pages

Posted: Wed Jul 29, 2009 8:17 am
by mazhar
Make sure when specifying the InStock value etc on EditProduct screen you didn't marked Allow Back Order option.

Re: Inventory level not displaying on product pages

Posted: Wed Jul 29, 2009 9:27 am
by Si Burgess
It was the 'Allow Back Order' option that was doing it. :oops:

So there is no way to show the stock level AND to allow back-ordering, without making customising the system?

I would have thought the two requirements are separate from each other...

Re: Inventory level not displaying on product pages

Posted: Wed Jul 29, 2009 9:41 am
by mazhar
Edit ConLib/BuyProductDialog.ascx.cs file and locate following code

Code: Select all

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

Code: Select all

if ((inv.InventoryMode == InventoryMode.None)) return;

Re: Inventory level not displaying on product pages

Posted: Wed Jul 29, 2009 9:58 am
by Si Burgess
Excellent, that will do the job. Many thanks! :D