Quote:
Originally Posted by sportruck
File: /customer/main/product.tpl
Change...
Code:
{if $config.Appearance.show_in_stock eq "Y" and $config.General.unlimited_products ne "Y" and $product.distribution eq ""}
<TR><TD width="30%">{$lng.lbl_quantity}</TD><TD nowrap><SPAN id="product_avail_txt">{if $product.avail gt 0}{$product.avail}</SPAN>{else}{$lng.txt_no}{/if} {$lng.txt_items_available}</TD></TR>
to...
Code:
{if $config.Appearance.show_in_stock eq "Y" and $config.General.unlimited_products ne "Y" and $product.distribution eq ""}
<TR><TD width="30%">{$lng.lbl_quantity}</TD><TD nowrap><SPAN id="product_avail_txt">{if $product.avail gt 0}In Stock</SPAN>{else}Not Available{/if}</TD></TR>
You might also want to change $lng.lbl_quantity to "Availability"
|
Ok basically I did this, I even played around with the code myself, looked into the PHP side too, and well I can see when out of stock it says No, but when it's in stock still shows Numbers, how do I get rid of the numbers I just want it to simply say Available. Thanks for the info, but it's probably just me having a moment..
xcart 4/13