This is a discussion on Additional Shipping Options for Table Module within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; What's been changed from the previous distribution: File Name: catalogincludesmodulesshippingtable.php 1. After line "function quote($method = '') {" Change "global ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| What's been changed from the previous distribution: File Name: catalogincludesmodulesshippingtable.php 1. After line "function quote($method = '') {" Change "global $order, $cart, $shipping_weight, $shipping_num_boxes;" To "global $order, $cart,$shipping_num_boxes,$order_total;" 2. Change the if statement: if (MODULE_SHIPPING_TABLE_MODE == 'price') { $order_total = $cart->show_total(); } else { $order_total = $shipping_weight; } to: if (MODULE_SHIPPING_TABLE_MODE == 'Price') { $order_total = $cart->show_total(); } else { $order_total = $cart->show_weight(); } Tested OK on Apache/2.0.54 (Unix) PHP/4.4.2 mod_ssl/2.0.54 OpenSSL/0.9.7e mod_fastcgi/2.4.2 DAV/2 SVN/1.3.2 More...
__________________ Michael Sasek osCMax Developer
|
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Adding an additional shipping table | driwashsolutions | osCMax v2 Customization/Mods | 1 | 03-20-2006 09:09 PM |
| Additional Shipping | auntie22 | osCMax v1.7 Installation | 6 | 05-28-2005 11:52 AM |
| Shipping Options/Individual Shipping | Anonymous | osCMax v1.7 Discussion | 0 | 04-01-2004 01:10 PM |
| Additional Postage Table Contribution : I screwed up !! | Lalla | osCommerce 2.2 Modification Help | 3 | 02-18-2004 02:51 PM |
| Is this possible? Table with attribute options? | mom2nine | osCMax v1.7 General Mods Discussion | 0 | 02-08-2004 06:33 PM |