New Zenner
- Join Date:
- Apr 2010
- Posts:
- 39
- Plugin Contributions:
- 0
Free Shipping Rules - Default, hide other shipping option upon checkout
I'm also looking for this.
I have a weight of 570 gr en a total of €65
I have the follow code:
if (IS_ADMIN_FLAG == false && $_SESSION['cart']->show_weight() < 570) {
$this->enabled = true;
} else {
$this->enabled = false;
}
if (IS_ADMIN_FLAG == false && $_SESSION['cart']->show_total() > 65) {
$this->enabled = false;
} else {
$this->enabled = true;
}
But if I have a cart with a total of 8 products and a total of € 60 the module stays active.
8 product are above 570gr