benspun Posted February 5, 2007 Share Posted February 5, 2007 Hi there I have nearly finished instaing 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: Thank you very very much Hi Ian, The error you have is because you haven't completed that step 9. The function "tep_get_products_special_price()" is what permits osCommerce to find out the price of products in special. Normaly this function is used only in the storefront (and not in the admin section) so that's why it is not available in the admin - and that's why you are having this error. So you need to copy *your* "tep_get_products_special_price()" function from *your* /catalog/includes/functions/general.php into /catalog/admin/includes/functions/general.php So just open your file /catalog/includes/functions/general.php search in it for: tep_get_products_special_price and copy all the block of code of this function (until the beginning of the next function). Then paste that in /catalog/admin/includes/functions/general.php (anywhere in between 2 functions). And that's it, it will work... Regards, -Ben Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.