Forums / Built-in Shipping and Payment Modules / Fixed Rate for light carts

Fixed Rate for light carts

Locked

Started by jtcasinogames on 15 Sep 2007, 3:39 AM · Views: 3,507

Results 21 to 21 of 21
This thread is locked. New replies are disabled.
16 Jun 2008, 4:22 PM
#21
ethan_kolasinski avatar

ethan_kolasinski

New Zenner

Join Date:
May 2008
Posts:
5
Plugin Contributions:
0

Fixed Rate for light carts

DrByte:

You'll have to edit code.

/includes/modules/shipping/flat.php
around line 55, you'll see this section. Add the line as shown:```
if ($check_flag == false) {
$this->enabled = false;
}
}
[B] if ($_SESSION['cart']->show_weight() > 2) $this->enabled = false;[/B]
}

// class methods
function quote($method = '') {


Hello Dr. Byte
 I did exactly as you mentioned above, yet, when I open the admin/modules/shipping, all I get is a blank page that has "shipping modules" at the top, then nothing else after. This is the same thing that is happening whent I followed Ajehs suggestion here:
<http://www.zen-cart.com/forum/showthread.php?t=91394>

What's the deal. None of the coding suggestions on these threads seem to work for me, yet other people claim they do.
:frusty: