What you are wanting is control of shipping in a slightly different manner than the norm ...
This is fortunately built in to Zen Cart ... and can be done with a minor tweak for that weight control of < 50
Install Shipping Module UPS ups ...
Install Shipping Module Free Shipping Options freeoptions ...
On Free Shipping Options configure this for:
Enable Free Options Shipping
True
Shipping Cost 0.00
Handling Fee 0
Total >= 250
Total <=
Weight >=
Weight <= 50
Item Count >=
Item Count <=
Tax Class --none--
Tax Basis Shipping
Shipping Zone --none--
Sort Order 0
NOTE: The difference between blanks and 0 ... leave blank unless otherwise indicated ...
Now, because you are using a weight criteria that is slightly different ... you will need 1 line of code changed in the:
/includes/modules/shipping/freeoptions.php
Edit line 175:
PHP Code:
if ($this->ck_freeoptions_total or $this->ck_freeoptions_weight or $this->ck_freeoptions_items) {
Change to read:
PHP Code:
if ($this->ck_freeoptions_total and $this->ck_freeoptions_weight or $this->ck_freeoptions_items) {
What this will do is make the weight control when to turn off the Free Shipping Option because the weight is too high ...
Meanwhile in either case, UPS and Free Shipping show when:
1 Order is < $250 UPS no Free Shipping Option
2 Order is >= $250 UPS and Free Shipping Option show
3 Weight is > 50.00 UPS but Free Shipping Option turns off regardless of order total ...
Bookmarks