-
need a shipping module please help
I want to offer Free shipping on all orders over $250.00 Which we are already doing. BUT i want to also offer other shipping options when they qualify for free shipping becuase some people want to pay for faster shipping. but when the option says Free shipping it doesn't show the other options... i also want to make it so there is a weight limit on the free shipping how do i do all these things??
-
Re: need a shipping module please help
Have you enabled(installed) additional shipping methods? i.e. UPS or USPS?
admin > modules > shipping > and check for "green dots" next to desired methods. If red dot > select and install. For most you are required to obtain an account with the provider and that account information is entered in the appropriate areas in this setup screen
-
Re: need a shipping module please help
Yes we are already enabled and running on the USPS shipping thats not the problem the problem is the Free shipping on order totals over 250.00 but i want to restrict the weight and i also want to allow the customer to choose from faster methods if they want to
-
Re: need a shipping module please help
can some one help me with this please?? Is there something i am not stating correctly please ask me questions
-
Re: need a shipping module please help
Right now i have the Order Total and then in the Free shipping part i have 250.00 in there so that solves the Free shipping on orders over 250.00 But now if the total is over 250 and the customer wants to pay for faster shipping method it doesn't show anything at all.... So how can i get it to show other shipping options??? Then what i want is no free shipping on any orders over 50lbs no matter the order total.. How do you do that??
-
Re: need a shipping module please help
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:
Quote:
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 ...
-
Re: need a shipping module please help
OK but can't i do it with the USPS becuase we don't ship threw UPS?
-
Re: need a shipping module please help
i did the code thing it is allowing free shipping under 50 Lbs
-
Re: need a shipping module please help
Ok how do we also use that shipping module but don't want to allow it to any where but the USA??
I still can't get it to work right.. It works for the 250.00 orders but it is still giving free shipping on orders over 50Lbs and anywhere in the world...
-
Re: need a shipping module please help
What version of Zen Cart are you using?
Clean install or Upgrade?
If an upgrade, from what version and how?
Did you edit the Free Shipping Options freeoptions file with the change?
-
Re: need a shipping module please help
Zen Cart 1.3.6
Database Patch Level: 1.3.6
v1.3.5 [2006-12-11 15:40:49] (Version Update 1.3.0.2->1.3.5)
v1.3.0.2 [2006-12-11 15:40:45] (Version Update 1.3.0.1->1.3.0.2)
v1.3.0.1 [2006-07-19 15:43:21] (Version Update 1.3.0->1.3.0.1)
v1.3.0 [2006-07-19 14:22:03] (Version Update 1.2.7->1.3.0)
v1.2.7 [2006-03-06 12:04:22] (Fresh Installation)
-
Re: need a shipping module please help
Quote:
Originally Posted by
Ajeh
What version of Zen Cart are you using?
Clean install or Upgrade?
If an upgrade, from what version and how?
Did you edit the Free Shipping Options freeoptions file with the change?
This is a Upgraded version with Fantastico...
yes i changed the areas on that file there was 2 of them in that file i use Dreamweaver to edit the file it was on 2 lines the first line and then the second one was towards the end of the of the file.. After the Second Check area in the file
I also need this for only within the USA but it seems the Freeoptions is for anywhere in the world how can i change that??
-
Re: need a shipping module please help
Can you just write a new file for me and i can just download it and put it in my cart?? It would be easier for my that way so i know its right.. What can you do about the international part too we don't want free shipping world wide just within the United states,,
-
Re: need a shipping module please help
You only need to change line 175 with the code I posted above ... :smile:
-
Re: need a shipping module please help
What is the program you are useing to edit the PHP file because on my line 175 it is different...
-
Re: need a shipping module please help
Look in the file:
/includes/modules/shipping/freeoptions.php
for the code in this section:
PHP Code:
// final check for display of Free Options
if ($this->ck_freeoptions_total or $this->ck_freeoptions_weight or $this->ck_freeoptions_items) {
$this->enabled = true;
} else {
$this->enabled = false;
}
change the IF statement to read:
PHP Code:
if ($this->ck_freeoptions_total and $this->ck_freeoptions_weight or $this->ck_freeoptions_items) {
Notice the AND in place of the OR ...
-
Re: need a shipping module please help
I changed 2 lines that said that the first one was up higher on the page.. So i don't want to change the first one i just want to change the second one after the final part correct??
What about limiting it to USA??
-
Re: need a shipping module please help
Only change it in the 2nd occurance of that IF where the IF is preceeded with the comment so that this code:
PHP Code:
// final check for display of Free Options
if ($this->ck_freeoptions_total or $this->ck_freeoptions_weight or $this->ck_freeoptions_items) {
$this->enabled = true;
} else {
$this->enabled = false;
}
Will now read as this code (in just this one place):
PHP Code:
// final check for display of Free Options
if ($this->ck_freeoptions_total and $this->ck_freeoptions_weight or $this->ck_freeoptions_items) {
$this->enabled = true;
} else {
$this->enabled = false;
}
-
Re: need a shipping module please help
Ok now that works but now its giving free shipping world wide how to i regulate it to just the USA
-
Re: need a shipping module please help
You would need to make a zone for the US only to see this Shipping Module so that anyone outside the US does not ...
Note: when setting this up there are the States, DC, Armed services and US territories related to the US ...
You need to decide if the US is "all of the US" or just the states etc.
-
Re: need a shipping module please help
How do i set up a zone like that??? i want to do the USA only
-
Re: need a shipping module please help
ok seems to be all setup thanks for all your help
-
Re: need a shipping module please help
Thanks for the update that you were able to set your Zone for US ... be sure to test it well :smile:
-
Re: need a shipping module please help
Have another problem now when i am processing orders it doesn't show the shipping method or prices paid for shipping in the order why is this and how do i turn it back on all if shows is Subtotal and then total the shipping is gone now
-
Re: need a shipping module please help
Never mind i figured it out i shut off the Order total Shipping module when i shut off the Free shipping there everything is working great thanks
-
Re: need a shipping module please help
i just upgraded to the newest version of zen and used the old freeoptions.php file and now the free shipping doesn't work on the orders over 250.00 i got the weight to work right but it doesn't work properly