Help Needed - Changing "In Stock" message when using Product Attributes to track inventory

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
7 years ago
Hi,

We are using nopCommerce v3.70. We use the "Track inventory by product attribute" option to manage our inventory. However, my client (ORT Online) wants their customers to still be able to order a product when it is physically Out of Stock (0 stock). For this reason I use the  "Allow out of stock" setting under the "Attribute combinations" tab of Product Attributes. See image below for the settings:

http://www.tekniquestudios.co.za/_backups/Size_Attribute_Stock_Entry.jpg

Now when you view the above product details on the website you see the following:

http://www.tekniquestudios.co.za/_backups/Select_Size_43.jpg
Here Size 43(Euro) is selected and it shows "5 in stock"

http://www.tekniquestudios.co.za/_backups/Select_Size_45.jpg
Here Size 45(Euro) is selected and it shows "5 in stock"

http://www.tekniquestudios.co.za/_backups/Select_Size_44.jpg
Here Size 43(Euro) is selected and it shows "In stock"

My client wants to change the message "In stock" to a custom message like "Currently out of stock, but available for Back-Order"

So my question is this: Where do I change the default message "In stock" when the stock is actually 0 and the "Allow out of stock" option is enabled for the Attribute Combination?
7 years ago
JacoAF wrote:
So my question is this: Where do I change the default message "In stock", when the stock is actually 0 and the "Allow out of stock" option is enables for the Attribute Combination?

All language resources are available from the string resources tab on Edit language details page. The one you're looking for is called products.availability.instock.
7 years ago
petemitch wrote:
So my question is this: Where do I change the default message "In stock", when the stock is actually 0 and the "Allow out of stock" option is enables for the Attribute Combination?
All language resources are available from the string resources tab on Edit language details page. The one you're looking for is called products.availability.instock.


Thanks Pete, worked like a charm... you're a star! :)
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.