Guest Gottcha Posted April 9, 2007 Share Posted April 9, 2007 Any idea how to replace the out of stock text with an image? Thank in advance http://www.fragtraders.com/index.php?act=v...amp;productId=4 heres a link to what im talking about. the text is under the thumbnail below the product code Quote Link to comment Share on other sites More sharing options...
markscarts Posted April 10, 2007 Share Posted April 10, 2007 Using a good text editor, open the file includes/content/viewProd.inc.php and find this code around line 146: $view_prod->assign("TXT_OUTOFSTOCK",$lang['front']['viewProd']['out_of_stock']); Change the code, like this: $view_prod->assign("TXT_OUTOFSTOCK","<img src='path-to-image.gif' alt='Out of Stock' title='Out of Stock' border='0' />"); Copy the code just like it is, do not change any single or double quotes, change ONLY the part in red - put the correct path and image name there. Quote Link to comment Share on other sites More sharing options...
Guest Posted April 10, 2007 Share Posted April 10, 2007 Moved Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.