New Zenner
- Join Date:
- Jul 2005
- Posts:
- 84
- Plugin Contributions:
- 0
For those of you trying to use multiple free shipping options..
Here's a quick little tip on how to make freeoptions use multiple shipping options when determining if a product qualifies for free shipping or not. What I mean here is, if you want to have freeoptions use both weight and purchase price... here's how.
-
Put your store in maintenance mode
-
Make a copy of your original /catalog/includes/modules/shipping/freeoptions.php for a backup
-
Open up your /catalog/includes/modules/shipping/freeoptions.php with a good text editor.
-
Find line 175 if ($this->ck_freeoptions_total or $this->ck_freeoptions_weight or $this->ck_freeoptions_items)
-
change the first or to an and. The line should look like this if ($this->ck_freeoptions_total and $this->ck_freeoptions_weight or $this->ck_freeoptions_items)
-
set your freeoptions accordingly.
Mine is setup so that if an order is >= 200 and weighs less then 30 lbs. the customer gets free shipping
Now Zen-Cart will check both your shipping price and your shipping weight before deciding if it should display free shipping. So make sure you setup your freeoptions right!