Guest Posted June 7, 2004 Share Posted June 7, 2004 i installed the out of stock contrib , it was made for OSC 2.1 and i have the 2.2 my problem is that i receive this error : Fatal error: Call to undefined function: tep_currency_format() in /home/darkpira/public_html/shop/admin/categories.php on line 967 if i go to that line i read this : $contents[] = array('text' => '<br>' . TEXT_PRODUCTS_PRICE_INFO . ' ' . tep_currency_format($pInfo->products_price) . '<br>' . TEXT_PRODUCTS_QUANTITY_INFO . ' ' . $pInfo->products_quantity); what is the function of the old tep_currency_format ? i think that i only need to change to the old format to work, but cant find it anywere. the contrib i used is this one : http://www.oscommerce.com/community/contri...ch,out+of+stock that line is original, i dident change it, i only need the old code that means the same and that tep_currency_format, i add and error before with other tep_ function (dont remember what) and fixe it because i found the old function for it, so it worked, but this currency i cant find the old function anywere in that contrib the only thing i dident do it because it ruins the shop is to copy the default.php, i seached the code and inserted by hand, or helse i receive lots of mysql errors in this web page : http://darkpiramid.com/shop/index.php?cPat...4a6288ae42dee2e also i dont know why i dont see the "out of stock" products nither the "availeble soon " , dont know if it is because that error in admin or if i need to change anithing in default.php or index.php to show it. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.