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

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

Serving Software Downloads in 956 Categories, Downloaded 50.329.070 Times

Percent Rate x total sale price 1.0

  Date Added: May 10, 2013  |  Visits: 674

Percent Rate x total sale price

Report Broken Link
Printer Friendly Version


Product Homepage
Download (62 downloads)



This Shipping Module is Uses a Percentage Rate based on the total amount purchased.{ $234.16 x .14 } = $32.78it also sets the minimum you will ship before flat rate is used.if ( total sale is = to or greater than $36.00 then use { $234.16 x .14 } = $32.78if not then use(flat rate =$6.50)You control all 3 setting in one modulethis is not the actual code lol wish it was that easy lolThis is a Module it is like the original modules for 2.2 and it works just like them and you do not need to do anything but add the 2 php pages to the proper folders.And then use them in the admin. area under Modules Shipping.If you choose not to use them once you see them just simply delete the 2 files.Enjoy.For those weary of zip downloads:below is 2 pages simply copy to notepad and save each as percent.phppage name: percent.phplocation:catalog/includes/modules/shipping/copy the following page/*$Id: percent.phps,v 2.2 2003/05/03 modifyed:WebyMaster-TWM dgw_ Exp $osCommerce, Open Source E-Commerce SolutionshomepageCopyright (c) 2001,2002 osCommerceReleased under the GNU General Public License*/class percent {var $code, $title, $description, $icon, $enabled;// class constructorfunction percent() {global $order;$this->code = 'percent';$this->title = MODULE_SHIPPING_PERCENT_TEXT_TITLE;$this->description = MODULE_SHIPPING_PERCENT_TEXT_DESCRIPTION;$this->sort_order = MODULE_SHIPPING_PERCENT_SORT_ORDER;$this->icon = '';$this->tax_class = MODULE_SHIPPING_PERCENT_TAX_CLASS;$this->enabled = ((MODULE_SHIPPING_PERCENT_STATUS == 'True') ? true : false);if ( ($this->enabled == true) && ((int)MODULE_SHIPPING_PERCENT_ZONE > 0) ) {$check_flag = false;$check_query = tep_db_query("select zone_id from " . TABLE_ZONES_TO_GEO_ZONES . " where geo_zone_id = '" . MODULE_SHIPPING_PERCENT_ZONE . "' and zone_country_id = '" . $order->delivery['country']['id'] . "' order by zone_id");while ($check = tep_db_fetch_array($check_query)) {if ($check['zone_id'] < 1) {$check_flag = true;break;} elseif ($check['zone_id'] == $order->delivery['zone_id']) {$check_flag = true;break;}}if ($check_flag == false) {$this->enabled = false;}}}// class methodsfunction quote($method = '') {global $order, $cart;if (MODULE_SHIPPING_PERCENT_STATUS == 'True') {$order_total = $cart->show_total();}if ($order_total >= MODULE_SHIPPING_PERCENT_LESS_THEN) {$shipping_percent = $order_total * MODULE_SHIPPING_PERCENT_RATE;}else {$shipping_percent = MODULE_SHIPPING_PERCENT_FLAT_USE;}$this->quotes = array('id' => $this->code,'module' => MODULE_SHIPPING_PERCENT_TEXT_TITLE,'methods' => array(array('id' => $this->code,'title' => MODULE_SHIPPING_PERCENT_TEXT_WAY,'cost' => $shipping_percent)));if ($this->tax_class > 0) {$this->quotes['tax'] = tep_get_tax_rate($this->tax_class, $order->delivery['country']['id'], $order->delivery['zone_id']);}if (tep_not_null($this->icon)) $this->quotes['icon'] = tep_image($this->icon, $this->title);return $this->quotes;}function check() {if (!isset($this->_check)) {$check_query = tep_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'MODULE_SHIPPING_PERCENT_STATUS'");$this->_check = tep_db_num_rows($check_query);}return $this->_check;}function install() {tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Enable Percent Shipping', 'MODULE_SHIPPING_PERCENT_STATUS', 'True', 'Do you want to offer percent rate shipping?', '6', '0', 'tep_cfg_select_option(array('True', 'False'), ', now())");tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Percentage Rate', 'MODULE_SHIPPING_PERCENT_RATE', '.18', 'The Percentage Rate all .01 to .99 for all orders using this shipping method.', '6', '0', now())");tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('A Flat Rate for orders under', 'MODULE_SHIPPING_PERCENT_LESS_THEN', '34.75', 'A Flat Rate for all orders that are under the amount shown.', '6', '0', now())");tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('A Flat Rate of', 'MODULE_SHIPPING_PERCENT_FLAT_USE', '6.50', 'A Flat Rate used for all orders.', '6', '0', now())");tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) values ('Tax Class', 'MODULE_SHIPPING_PERCENT_TAX_CLASS', '0', 'Use the following tax class on the shipping fee.', '6', '0', 'tep_get_tax_class_title', 'tep_cfg_pull_down_tax_classes(', now())");tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) values ('Shipping Zone', 'MODULE_SHIPPING_PERCENT_ZONE', '0', 'If a zone is selected, only enable this shipping method for that zone.', '6', '0', 'tep_get_zone_class_title', 'tep_cfg_pull_down_zone_classes(', now())");tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Sort Order', 'MODULE_SHIPPING_PERCENT_SORT_ORDER', '0', 'Sort order of display.', '6', '0', now())");}function remove() {tep_db_query("delete from " . TABLE_CONFIGURATION . " where configuration_key in ('" . implode("', '", $this->keys()) . "')");}function keys() {return array('MODULE_SHIPPING_PERCENT_STATUS', 'MODULE_SHIPPING_PERCENT_RATE', 'MODULE_SHIPPING_PERCENT_LESS_THEN', 'MODULE_SHIPPING_PERCENT_FLAT_USE', 'MODULE_SHIPPING_PERCENT_TAX_CLASS', 'MODULE_SHIPPING_PERCENT_ZONE', 'MODULE_SHIPPING_PERCENT_SORT_ORDER');}}?>

Requirements: No special requirements
Platforms: Windows, *nix, Linux, PHP , BSD
Keyword: Oscommerce Addon Percent Percent Rate Rate Total Total Sale
Users rating: 0/10

License: Freeware
USER REVIEWS
More Reviews or Write Review


PERCENT RATE X TOTAL SALE PRICE 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  -  Multiple flat shipping rates based on Order Total 1.0
This small contribution is based on the "Percent Rate x total sale price" shipping contribution originally posted by WebyMaster and modified by many. All credit to all who came before!Basically it works like this:> The shipping cost will vary...
 
Modules  -  Extra Table Rate 1.0
Really straightforward contribution to add a second table rate shipping module to osCommerce.
 
Modules  -  Custom Table Rate 1.1
This is a simple contribution which lets you customise a table rate with 2 fields.For example, you can base your shipping cost on both price AND weight. The contribution allows you to set a price for orders under a certain value (perhaps below the...
 
Modules  -  Add the percent calculation function for the table 1.0
After modify the table.php file, go to the admin>Shipping Modules>Table Rate>Shipping Table.In the file just put like this 150:7,300:5%.
 
Modules  -  cod table rate calculation 1.0
This module calculates a surplus tax based on a table. The module is based on Zones.php and other contributions.Zones can be defined based on a country list. In case total amount is over the greatest tabled interval, then a percentage (if defined)...
 
Modules  -  Extraship Postcode Rate 2.2
This module is the modification from zones.php shipping module. Please make any neccesary change for your own configuration.This shipping module cover 2 areas. First, national area or country where the store is located; and second, international...
 
Modules  -  Flat weight based shipping rate 1.0
This mod implements a simple flate rate approach to calculating the basic shipping cost. After applying the mod, if you enter just one value pair in the weight table your shipping costs will be calculated with a simple linear eqation. A weight...
 
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  -  Shipping rate per product 2.0
This is the update to the Percent module I put out "Shipping as a percentage of product price v1.0 ". This one allows a shipping amount to be applied to each individual product.As with the other module, I use the weight field to store the shipping...
 
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