Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 30.068.545 Times

Optimize tep_get_tax_rate() method 1.1

  Date Added: May 10, 2013  |  Visits: 234

Optimize tep_get_tax_rate() method

Report Broken Link
Printer Friendly Version


Product Homepage
Download (27 downloads)

Problem:Each time a price is displayed on osCommerce the tax rate for that product is queried. Even if the user has set to not display taxes with price the tax rate is queried.Solution:Query for each rate one time as it is needed and then store it in session cache.What this contribution does:This code change will modify the tep_get_tax_rate() method so the first time a tax rate is requested it stores it in session. On every tax rate query it is first checked to verify if it's already in sesssion and if not will query / store in cache. If it is already in session it will return that value and save the database lookup.Result:Reduction in per page query count and faster execution times. Query reduction has been demonstrated to be around 75% savings on some pages.Tested on:8 setups with differing server configurations and osC setup. This change should not affect any other contributions.Install time:As fast as you can open a file, make one change, and upload.

Requirements: No special requirements
Platforms: Windows, *nix, Linux, PHP , BSD
Keyword: Method Optimize Optimize Method Oscommerce Addon Osommerce Optimize Tep Get Tax Rate
Users rating: 0/10

License: Freeware
OPTIMIZE TEP_GET_TAX_RATE() METHOD RELATED
Modules  -  Leuvirtual 1.1
This is a OsCommerce addon. It should work with all versions of Oscommerce.LeuVirtual payment method. www.leuvirtual.roInstalling:Just copy & paste the files to your server.
 
Modules  -  DropDownMenu Advanced Search infobox 2.9
The previous method of javascript detection causes many problems with some hostings and other contributions, now it uses the method of same method of "coolmenu" contribution 
 
Science  -  Phight 1.0
Phight - a phylogeny tree building program Currently, it supports Likelihood method and distance method. This program will includes diagnostic function as a special feature.
466.48 KB  
Travel  -  Where's my CCD 1.0.0.0
Fast intuitive and simple method to check for the nearest CCD outlet and get its direction using this easy and simple app Requirements: Windows Phone 8.1, Windows Phone 8
1024 KB  
Education  -  Ziegler_Nicholls 1.1.0.0
Calculates gains for P, PI and PID controllers according to Ziegler-Nicholls two methods: * Process Reaction Method * Continuous Cycling Method Requirements: Windows Phone 8.1, Windows Phone 8, Windows Phone 7.5
1024 KB  
Modules  -  PlugnPay - API Payment Method 1.0
API Payment Method For SSL Enabled Servers. Used with all builds of osCommerce v2.2
 
Modules  -  Default Selected Shipping Method 1.0.1
Choose the shipping method default selected in the checkout_shipping.php page in the shop; not necessarily the cheapest.
 
Modules  -  Shipping Method Based On Order Total 1.0
This contribution will allow you to choose the shipping method based on the total order, i.e. for orders under $200, ship with USPS, while for orders over $200, ship with UPS. It will also allow you to enable/disable shipping, depending on whether...
 
Modules  -  TNT Express shipping method 1.0
This simple contribution is usefull to add TNT express shipping method in your site.
 
Modules  -  Payment method fee 2.1
This order total allows to add a fee to the order total according to the payment method choosen, and this fee will be shown on the payment page (important for the customer to see how much he will be charged before choosing). Works fine with COD...
 
NEW DOWNLOADS IN SCRIPTS, MODULES
Scripts  -  Free Ecommerce website creator 1.2
Free Ecommerce website creator is a free PHP shop creating script. This allows you to put a online shop on your own website. Create your own free ecommerce website for Your Business. Create an online shop using easyGUI online shop creator. The...
1.44 KB  
Scripts  -  MochiGames PHP Script ZDR 1.00
MochiGames PHP Script ZDR is web site, ready for use, for flash games. These flash games are downloaded automatically by "MochiGames PHP Script ZDR" from MochiGames media. The use of the games is free, you can use your own Mochi Publisher ID and...
368.54 KB  
Scripts  -  Php Chat 2.0
Add a free php site, single sign-on and multiple skins, 100% free 1. Server Modes: The chat server has paid mode and free mode. If the free chat mode, a free chat room will be assigned to your website with your domain as the room name. 2....
938.87 KB  
Scripts  -  Nibbleblog 3.0.1
Nibbleblog it's a powerful engine for creation and manipulation of BLOG's completely free. Very simple to install and configure (Only 1 step). The database used is based on XML files and this way it is not necessary to use MySQL or similar DBMS....
371.09 KB  
Scripts  -  PHP File Manager | CloudOsys 2.9b8
CloudOsys is a PHP file manager, a tool that allows your visitors upload files such as media content directly to your website. Your visitors will upload files directly to your website, where they can share and comment on them. Through cloud...
1.41 MB  
Modules  -  TinyMCE Node Picker 6.x-2.1
This module will de discontinued and replaced with Node Picker as soon as a stable release is available.TinyMCE Node Picker provides a button in TinyMCE that displays a list of links to content. Choosing a link inserts it into the editor.The...
20.48 KB  
Modules  -  Fapilicious 5.x-1.x-de
Fapilicious is a collection of FormAPI goodies.I hope to make it a repository of reusable FormAPI trickery and short cuts. Currently it has small collection of powerful FormAPI element validators.Please submit your favorite tricks as patches so we...
10 KB  
Modules  -  Donation Goals 6.x-1.x-de
The Donation Goals module lets you create nodes of the type "Donation Goal." These goals allow you to set an amount of money you'll need for whatever you're saving up for. Visitors of the site can then donate money through PayPal. Once the target...
20.48 KB  
Modules  -  Plica Twitter 1.0.1
Plica TwitterInstallation : * Download, unzip, and install plugin dir in /wp-content/plugins * Activate * All right now
10 KB  
Modules  -  Page Array 5.x-1.x-de
The pagearray module is a small (single function) helper module that can be used whenever there is a need to load the output of any Drupal path in data form. Based on the code in index.php, Page Array bypasses the theme('page') call, instead...
10 KB