just replied the mail...changed the global line
test it and let me know
just replied the mail...changed the global line
test it and let me know
Hey Limelites....
ebusinessman might be able to help... I'm a newbie...![]()
Hi, yes, I would use another shipping method but can't put tariffs in the tables for over 2kg as the tariffs change daily. I like to shop around for courier quotes when an international package gets into the unknown zone of 2kg++
Looking at disabling the module for 2kg+ it does not give this option. It only gives options for monetary values.
disable 2kg+should be possible. the problem is how do you deal with the products over 2KG, I think a new shipping module that only handle this problem should be better. then you should have your own policy to this.
about dynamic tarrif, you can set it in admin daily if the shipping module support this (rebuild it and set in an extra field namely "daily tarrif")
so many interesting things in shipping as business varies...![]()
Thanks ebusinessman, I will have to look into that. Daily tariff sounds good, although having to manually update tariffs every day will not be practical.
I will probably just add each tariff 2.1:xx,2.2:xx,29.9:xxxx, etc., into my existing module and add a factor of safety to each one :-)
Thanks...
hmm...you can set up cronjob to update it daily, which read the tarrif data from 3rd party site, or you can input it outside admin panel...not a big deal in fact. leave me PM if you need more help and it will send to my email box...I am not alway on forum
g'day
I have a aust post module that is good for anything under 18KG's but a [FONT=Verdana]courier [/FONT]needs to take anything over 18KG's
I needed my zone rates to only come in to affect after 18KG's, heres the code I used to [FONT=Verdana]achieve [/FONT]this:
In includes/modules/shipping/zonetable.php
Or in
includes/modules/shipping/any_shipping_mod.php
Find this code
DIRECTLY BENEATH IT, add the following:PHP Code:// disable only when entire cart is free shipping
if (zen_get_shipping_enabled($this->code)) {
$this->enabled = ((MODULE_SHIPPING_ZONETABLE_STATUS == 'True') ? true : false);
}
So it now looks something like:PHP Code:// Check for Weight and display module if weight exceeds stated value
if (IS_ADMIN_FLAG == false && $_SESSION['cart']->show_weight() < 18) {
$this->enabled = false;
} else {
$this->enabled = true;
}
HTML Code:// disable only when entire cart is free shipping if (zen_get_shipping_enabled($this->code)) { $this->enabled = ((MODULE_SHIPPING_ZONES_STATUS == 'True') ? true : false); } // Check for Weight and display module if weight exceeds stated value if (IS_ADMIN_FLAG == false && $_SESSION['cart']->show_weight() < 18) { $this->enabled = false; } else { $this->enabled = true; } // CUSTOMIZE THIS SETTING FOR THE NUMBER OF ZONES NEEDED $this->num_zones = 3; }
I am trying to do the exact same thing as lilblocker without much success.
I have tried adding
into the table module after the freeshipping argument line, but this didn't work, also with many other thingsi have tried.PHP Code:if ($shipping_weight > 3) {
$check_flag = false;
}
I noted a solution may have been obtained by email, could you please paste the code into the thread so i may try it?
Thank you
Jai
the php should have readPHP Code:if ($shipping_weight > 3) {
$this->enabled = false;
}