Re: ozpost shipping module
Quote:
Originally Posted by
RodG
It is code, so yes of course it is possible.
If you really meant to say is it possible for *me* to do this for you I'd have to say I wouldn't even consider wasting time even looking at it.
Hi Rod,
No, I meant something along the lines of "try adding something in line xx of ospost.php" I'm not an expert on PHP but I tend to teach myself enough to get by, or at least sometimes I do.
Quote:
In a perfect world I guess it should be, but this isn't a perfect world and I'm an inherently lazy person, so rather than study how zencart itself handles session data I simply chose to use the garden variety session commands that are part of the PHP command syntax.
LOL. Thats generally my philosophy as well. I just do the bare minimum to get the job done and move onto something else. Lifes too short to be anal about technique.
I've already tried setting a path instruction in ozpost.php but an error comes up as the path has already been defined in zencart. I'll tinker around with it and try to figure something out. I'll post something if I work something out.
Re: ozpost shipping module
Hi Rod,
Our old ozpost shipping module stopped working last week, does the new module work with zen version v1.3.7?
Phil.
Re: ozpost shipping module
Quote:
Originally Posted by
Jour
Hi Rod,
Our old ozpost shipping module stopped working last week, does the new module work with zen version v1.3.7?
Phil.
Yes it does. I use it with 1.3.7
Cheers,
Peter.
Re: ozpost shipping module
Quote:
Originally Posted by
Peter Homann
Yes it does. I use it with 1.3.7
Cheers,
Peter.
Thanks!
Re: ozpost shipping module
Thanks Rod!
Works well as auspost module did :D
http://www.jour.com.au
Disabling Ozpost for certain categories/products.
Extracted from http://www.zen-cart.com/forum/showth...810#post790810
Re: Force Shipping Quote on certain categories?
I think I have resolved the problem of forcing a quote.
I am only using the Ozpost and Request for Quote (RFQ) shipping modules, with the solution lying within includes\modules\shipping\ozpost.php.
Within this file, to disable Ozpost and only display RFQ, immediately after (lines 67-68)
// disable only when entire cart is free shipping
if (zen_get_shipping_enabled($this->code)) $this->enabled = ((MODULE_SHIPPING_OZPOST_STATUS == 'True') ? true : false);
insert
// disable for one master_categories_id
if ((IS_ADMIN_FLAG == false && $_SESSION['cart']->in_cart_check('master_categories_id','4') > 0)) {
$this->enabled = false;
}
if ((IS_ADMIN_FLAG == false && $_SESSION['cart']->in_cart_check('master_categories_id','5') > 0)) {
$this->enabled = false;
}
if ((IS_ADMIN_FLAG == false && $_SESSION['cart']->in_cart_check('master_categories_id','6') > 0)) {
$this->enabled = false;
}
For individual products, replace ('master_categories_id','6') with ('products_id','26') etc.
Further insight can be found at http://www.zen-cart.com/forum/showthread.php?t=91394.
To force quote on Ozpost server failures, in Admin > Modules > Shipping > Australia Post (ozpost) set
Cost on Error
from 25,99
to 0,0
Hope this helps.
Re: ozpost shipping module
Is there a way I can have the following shipping options?
flat rate shipping for australian customers
and then a seperate rate for New Zealand customers
then also a flate rate for registered post
and then one for express
so four options all having a set price.
Re: ozpost shipping module
Hi Rob,
Sorry to remind you, I've mentioned previously about a minor problem regarding the international and domestic letter rates coming up erroneously. is there a quick fix to that?
Thank you again for your help!
Below is the original problem:
it seems that the international rates (specifically, letter rates) appear even though "oversea" shipping methods are all disabled. Is there any way around that as I would only require International Express for international.(Ps i'm using ozpost 1.02)
Any help would be appreciated.
Re: ozpost shipping module
Quote:
Originally Posted by
kellan4459
Is there a way I can have the following shipping options?
flat rate shipping for australian customers
and then a seperate rate for New Zealand customers
then also a flate rate for registered post
and then one for express
so four options all having a set price.
There are several shipping modules available that will suit your requirement. ozpost is not one of them.
Cheers
Rod
Re: ozpost shipping module
Quote:
Originally Posted by
poohbear
Sorry to remind you, I've mentioned previously about a minor problem regarding the international and domestic letter rates coming up erroneously. is there a quick fix to that?
At the moment no. This problem can almost certainly be resolved by code changes at either the client or the server, and for consistancy (and accuracy) this is best done on the server.
I suspect in either case similar 'effort' would be required, so rather than looking for a 'quick fix' that is where I'll be heading.
Thanks for reminding me though..
I really do have it on my 'todo' list, but another reminder in another couple of weeks may not go astray.
Cheers
Rod