Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Free shipping with minimum amount


condorknight

Recommended Posts

HI

 

I am having a problem installing the free shipping with minimum amount and I keep on getting this code:

URL: /catalog/admin/edit_orders.php?oID=15

 

Fatal error: Call to undefined function: tep_get_products_special_price() in /catalog/includes/modules/shipping/freeamount.php on line 74

 

Any help would be great fully appreciated.

 

Thanks

Link to comment
Share on other sites

Either the installation instructions are wrong or ytou did not follow them rexactly.

 

The code is looking for a function called

 

tep_get_products_special_price()

 

Check it is in the files you added/edited, normally it will be in a file in /includes/functions

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

  • 1 year later...

I installed the free shipping mod and with order editor got error:

Fatal error: Call to undefined function: tep_get_products_special_price() in includes/modules/shipping/freeamount.php on line 74

 

This fix is from another post after hours of searching

 

Open:

admin/includes/functions/general.php

 

Add:

 

function tep_get_products_special_price($product_id) {

$product_query = tep_db_query("select specials_new_products_price from " . TABLE_SPECIALS . " where products_id = '" . (int)$product_id . "' and status");

$product = tep_db_fetch_array($product_query);

 

return $product['specials_new_products_price'];

}

Getting the Phoenix off the ground

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...