Can someone help me figure out how to remove the quantity available of an item from being displayed on the user side? Attached is a screenshot of the problem.
Any help is appreciated. Thanks in advance. =)
Alan
How to remove the display of quantity of items in stock
Re: How to remove the display of quantity of items in stock
Admin>Configure>Store
Then under Inventory, change your in stock message to something like, In Stock . That should be a quick fix.
Edit: Or if you don't want anything, change the display inventory selection to No.
Then under Inventory, change your in stock message to something like, In Stock . That should be a quick fix.
Edit: Or if you don't want anything, change the display inventory selection to No.
AC 7.0.7 build 14600
Re: How to remove the display of quantity of items in stock
If you completely want to hide the message and also want to keep the inventory control on then you can made a small code modification to hide the message. For this change edit the ConLib/BuyProductDialog.ascx.cs file and find the following line of code
and replace it with the following code
Code: Select all
InventoryDetailsPanel.Controls.Add(new LiteralControl(inStockMessage));
Code: Select all
Control literal = new LiteralControl(inStockMessage);
literal.Visible = false;
InventoryDetailsPanel.Controls.Add(literal);