Hi Guys and Girls!
We have a problem with the inventory display on our website.
If you take a look at the attached image, you’ll see two products. The first one is in stock and its obvious because it says:
Availability: [color=#00ff00]In Stock[/color]
That’s absolutely fantastic, but when you look at the item underneath it, which is out of stock, it doesn’t display anything at all?!
Does anybody know why this is not displaying? Or even better tell us how to make it show something like
Availability: [color=#ff0000]Out of Stock[/color]
Any help on this will be appreciated!
The website where you can actually see this is
[url=“https://www.motiondynamics.com.au/24-volt-motors/”]https://www.motiondynamics.com.au/24-volt-motors/[/url]
Thanks!
Try the following solution:
design\themes\YOUR_THEME\templates\common\product_data.tpl
Replace:
{elseif $details_page && ($product_amount <= 0 || $product_amount < $product.min_qty) && $settings.General.inventory_tracking == "Y" && $settings.General.allow_negative_amount != "Y"}
with
{elseif ($product_amount <= 0 || $product_amount < $product.min_qty) && $settings.General.inventory_tracking == "Y" && $settings.General.allow_negative_amount != "Y"}
Do not forget to clear the cache
Hey eCom, we tried the settings that you provided, but it didn't actually do anything!
Thanks for trying though
Did you clear the cache after the changes was made? It works on my local installation
eCom,
we've been running the cart with your changes for the past few days. We've cleared the cache multiple times and it's just not showing any out of stock information!
Thanks dude
hi all
[quote]We've cleared the cache multiple times and it's just not showing any out of stock information![/quote]
This is strange, suggestion of Ecom should work. Possibly the issue is in store settings so please try to update these settings:
Settings: General
Enable inventory tracking: Y
Allow negative amount in inventory: N
Please check it and let us know result.
best regards,
WSA team
[quote name='bytraper' timestamp='1430898144' post='213517']
we've been running the cart with your changes for the past few days. We've cleared the cache multiple times and it's just not showing any out of stock information!
[/quote]
Please PM me temporary FTP access to your server. We will check it free of charge