custompilotshirts Posted November 21, 2008 Share Posted November 21, 2008 Fatal error: Call to undefined function tep_round_up() in /home1/custompi/public_html/includes/modules/shipping/uspsflat.php on line 51 Hello, I installed your contribution and I get the above fatal error when checking out. I really only want to use the small box because I sell shirts. I can only fit 5 shirts in the small box therefore after 5 shirts I want the module to not be available. So, I want the following options: Minimum Small = 1 Minimum Large =4.5 Maximim Large both domestic and international =4.6 everything else default. I don't use the Large box and 5 shirts actually weighs 4.125 lbs (as calculated by my website) and 6 shirts weigh 4.95 lbs. So basically I want to offer flat rate shipping for orders of 2 to 5 shirts. 1 shirt would cost less because it is less than 1 lb. so why offer flat rate. That's my thinking. Rob custompilotshirts.com Quote Link to comment Share on other sites More sharing options...
custompilotshirts Posted November 21, 2008 Author Share Posted November 21, 2008 forgot to mention which contribution... it's the USPS Flat Rate Shipping contribution Fatal error: Call to undefined function tep_round_up() in /home1/custompi/public_html/includes/modules/shipping/uspsflat.php on line 51 Hello, I installed your contribution and I get the above fatal error when checking out. I really only want to use the small box because I sell shirts. I can only fit 5 shirts in the small box therefore after 5 shirts I want the module to not be available. So, I want the following options: Minimum Small = 1 Minimum Large =4.5 Maximim Large both domestic and international =4.6 everything else default. I don't use the Large box and 5 shirts actually weighs 4.125 lbs (as calculated by my website) and 6 shirts weigh 4.95 lbs. So basically I want to offer flat rate shipping for orders of 2 to 5 shirts. 1 shirt would cost less because it is less than 1 lb. so why offer flat rate. That's my thinking. Rob custompilotshirts.com Quote Link to comment Share on other sites More sharing options...
Jan Zonjee Posted November 22, 2008 Share Posted November 22, 2008 Fatal error: Call to undefined function tep_round_up() in /home1/custompi/public_html/includes/modules/shipping/uspsflat.php on line 51 Since this is not a standard function found in osC the instructions that came with the contribution will or should have told you where to put this function (presumably in includes/functions/general.php). Quote Link to comment Share on other sites More sharing options...
satish Posted November 22, 2008 Share Posted November 22, 2008 tep_round_up() paste this function in general.php in includes/functions Satish Mantri Quote Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does. 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.