webstarter Posted February 5, 2007 Share Posted February 5, 2007 Hi there I have nearly finished instaling this contribution but I'm have a couple of problems on my admin area in tools recover cart sales I get this Fatal error: Call to undefined function tep_get_products_special_price() in /home/s/e/sewdevine/public_html/admin/recover_cart_sales.php on line 500 Please if anyone could help me that would be great. I'm having problems understanding Step 9: If any body can shead some light on this a bit easyer I can not understand what I have to copy and paste do I copy text in first box or look for this text and paste it into what looks like the second box ?? Please help I'm at the end of my teather any help would be great. thumbsup.gif Thank you very very much Link to comment Share on other sites More sharing options...
caryub Posted March 23, 2007 Share Posted March 23, 2007 You only have to add in "admin\includes\functions\general.php" before de last ?> this //// //// // Return a product's special price (returns nothing if there is no offer) // TABLES: products function tep_get_products_special_price($product_id) { $product_query = tep_db_query("select specials_new_products_price from " . TABLE_SPECIALS . " where products_id = '" . $product_id . "'"); $product = tep_db_fetch_array($product_query); return $product['specials_new_products_price']; } after 1 year searching the mistake i found it. it must be a function from previous versions not needed in our version, but the program need it. enjoy it. Carlos Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.