Zen Cart Logo
Forums / Addon Shipping Modules / ozpost shipping module

ozpost shipping module

Views: 403,075

Results 1,561 to 1,580 of 2,251
14 Jun 2011, 2:27 AM
#1561
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

ozpost shipping module

Hang on

Just looked in the new store and it says 51 days left

as the store name and postcode are the same it should automatically pick up the subscription?

14 Jun 2011, 4:45 AM
#1562
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: ozpost shipping module

nigelt74:

I have taken over a site that is using this module, thay apparently purchased a $90 subscription last year, they are updating their site and changing their domain name, i can't seem to find any licensing info, or how to transfer a subscription is there something i am missing?

If/when subscription details need changing you'll need to send me an email with the relevant details (or use the contact form @ http://ozpost.net/ ) . However, in MANY cases I'll spot the connections before the store owner does and will 'silently' link the old and new store expirations. This is especially true if/when the Storename and/or postcode changes are 'obvious'.

nigelt74:

Hang on
Just looked in the new store and it says 51 days left

as the store name and postcode are the same it should automatically pick up the subscription?

Subscriptions are based on StoreName plus postcode (domain names and/or URL's are not used at all) so if these don't change the subscriptions won't change either.

Without knowing the store you are referring to I can't comment whether the 51 days remaining is the result of the 'new' store having used 9 days of the trial, or whether it is a paid subscription with just 51 days left to go.

I'll take a look to see if I can find anything to match the little info you have given (namely, any subs that expire in 51 days) and see if I can match those with other similar named stores sometime later today. IF I can find a match the expiration days will automatically appear for the 'new' store. If you don't see this change by tomorrow you'll need to provide the name of the store(s).

Unless of course you beat me too it, and provide this info before I start hunting. :smile:

Cheers
Rod

14 Jun 2011, 6:18 AM
#1563
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: ozpost shipping module

Thanks Rob,
The storeowners been in touch with you today, wasn't sure how much info to give as i had to check with the store owner first, it was more a case I'd been reading the faqs and thought it should work, but it seemed to easy (storename and postcode staying the same), I thought there must be something else I was missing, classic case of over thinking it, I am not used to licensing being simple and sensible.

Cheers

14 Jun 2011, 1:02 PM
#1564
dw08gm avatar

dw08gm

Totally Zenned

Join Date:
Sep 2008
Location:
DownUnder, overlooking South Pole.
Posts:
1,016
Plugin Contributions:
2

Re: ozpost shipping module

RodG:

Like all good shipping modules, the ozpost module makes use of and honors the $this-enabled variable.

Hi Rod

Are the auto-updates of version 3 likely to overwrite the $this-enabled variable?

Just for the record, immediately after

$this->enabled = ((MODULE_SHIPPING_OZPOST_STATUS == 'True') ? true : false);

or Line 86 of includes\modules\shipping\ozpost.php, I inserted the following chunk of code:

// disable only when entire cart is free shipping
//    if (zen_get_shipping_enabled($this->code))  $this->enabled = ((MODULE_SHIPPING_OZPOST_STATUS == 'True') ? true : false);

// bof disable for categories in cart
    if (IS_ADMIN_FLAG == false) {
      if (($_SESSION['cart']->in_cart_check('master_categories_id','4') > 0) ||
          ($_SESSION['cart']->in_cart_check('master_categories_id','5') > 0) ||
          ($_SESSION['cart']->in_cart_check('master_categories_id','6') > 0))
		  {
          $this->enabled = false;
		  }
		}
/* eof disable for categories in cart*/

Is the free shipping part of the inserted code required?

Thanks

16 Jun 2011, 2:59 AM
#1565
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: ozpost shipping module

dw08gm:

Are the auto-updates of version 3 likely to overwrite the $this-enabled variable?

The updates will backup your original/modified file and replace it with the latest version. You will need to re-apply any changes you have made.

dw08gm:

Is the free shipping part of the inserted code required?

If you offer free shipping on any of your products then yes, this is required to prevent shipping quotes from being needlessly displayed for said items.

Cheers
Rod

3 Jul 2011, 3:51 AM
#1566
pete011 avatar

pete011

New Zenner

Join Date:
Jul 2011
Posts:
3
Plugin Contributions:
0

Re: ozpost shipping module

Hi Rod/All,

I have recently installed Zen Cart and in the process of setting up my online store (in Aus). I have a domain which I use for testing and another domain (currently under construction) which will be the online store.

I would like to ask you the following:

How much is the ozpost module subscription? Is it payable monthly or annually?

In my case I would like to test the module first (testing domain) before installing it and fully subscribing in the live environment (online store).

Can you please let me know if I could install it on the test domain and subscibe for a month, before installing and fully subscribing on the live website (online shop) and how to go about it?

And also, can you please send me the link where i can download the latest ozpost module?

Many thanks in advance

Pete

3 Jul 2011, 5:55 AM
#1567
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: ozpost shipping module

Pete011:

I have a domain which I use for testing and another domain (currently under construction) which will be the online store.

I would like to ask you the following:

How much is the ozpost module subscription? Is it payable monthly or annually?

Between $5-$10pm, depending on the length of the subscription. (1mnth - 3years)

Pete011:

Can you please let me know if I could install it on the test domain and subscibe for a month, before installing and fully subscribing on the live website (online shop) and how to go about it?

There is an automatic 60 day free subscription that starts from the first day the server sees a new store. There is no distinction made between a 'test' site and a 'live' site.

Pete011:

And also, can you please send me the link where i can download the latest ozpost module?

http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=1286

Cheers
Rod.

3 Jul 2011, 6:42 AM
#1568
pete011 avatar

pete011

New Zenner

Join Date:
Jul 2011
Posts:
3
Plugin Contributions:
0

Re: ozpost shipping module

Thanks heaps for your promt reply. Really appreciate it.

19 Jul 2011, 3:27 AM
#1569
makatak88 avatar

makatak88

New Zenner

Join Date:
Feb 2010
Posts:
26
Plugin Contributions:
0

Re: ozpost shipping module

hello,
im a real rookie at this but we have managed to get everything else like eway etc working on our site. this is our last hurdle. quite simply, regardless of the weight or size of the product it come up with $0.00. I enabled debugging and it came back with this so im assuming it is talking to the server.

what stupid thing am i doing wrong?

heres a couple of screen shots too if thats any help
http://www.donohues.com.au/images/sshot.png
http://www.donohues.com.au/images/sshot2.png

<?xml version='1.0' encoding='ISO-8859-1'?><quotes>

<quote><id>RPP</id><cost>19.15</cost><days>Mon 25th of Jul</days><description>Parcel up to 12 Kgs cubic weight</description></quote><quote><id>REG</id><cost>22.20</cost><days>Tue 26th of Jul</days><description>Registered Parcel up to 12 Kgs cubic weight</description></quote><quote><id>COD</id><cost>30.45</cost><days>Tue 26th of Jul</days><description>Cash On Delivery </description></quote><quote><id>EXP</id><cost>79.25</cost><days>Mon 25th of Jul (Outside Express network - fastest possible delivery)</days><description>Express Parcel up to 12 Kgs cubic weight</description></quote><quote><id>PLT</id><cost>84.45</cost><days>Mon 25th of Jul (Outside Express network - fastest possible delivery)</days><description>Platinum Parcel up to 12 Kgs cubic weight</description></quote><information>
<servername>svr1.ozpost.net</servername>
<serverIP>74.55.148.130</serverIP>
<timestamp>Tue Jul 19, 2011 12:46 (SA Server Time)</timestamp>
<requesttime>13:16 (QLD Store Time)</requesttime>
<postdate>Wed 20th of Jul</postdate>
<insurance>0.00</insurance>
<egoinsurance>0.00</egoinsurance>
<registration>3.05</registration>
<fromsuburb>HERMIT PARK</fromsuburb>
<destsuburb>ANNANDALE</destsuburb>
<expires>59</expires>
</information>
</quotes>

19 Jul 2011, 4:19 AM
#1570
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: ozpost shipping module

makatak88:

what stupid thing am i doing wrong?

I don't think YOU are doing anything wrong, but on the other hand I've no explanation for your problem either.

Your store is indeed connecting to the server and retrieving valid quotes, this is clearly seen from your screenshots.

I've just been doing a few tests and checks on your site and have managed to determine that for some reason or other the actual quote costs aren't being cached by your server (the rest of the data being correctly cached).

In theory, this cannot/should not happen, and about the only thing I can think that would cause this would be a bug in the code (I see you are using v3.1.1, which is the current version)

This version was only released a couple of days ago, so whatever the bug/problem is, you are the first person to report it (lucky you) :unsure:

Solving the problem is a whole new ballgame, because in order to fix it I need to be able to replicate it, and needless to say, "it works fine on my system".

So, what to do. Firstly, if you don't mind I'll get you to set your 'icons type' to 'none' (this will cause part of the code to be skipped, thus narrowing down the search).

Also, could you please try adding a handling fee to one or more of the methods, because I'd be interested to see if the quotes remain at zero or not.

Finally, I'll get you to enable all shipping methods, except TNT (which requires a login account), because I'd like to determine whether the problem is carrier specific or not.

I think this should be enough to give me a better idea as to what I'm looking for, but if you can think of any other useful information then lease let me know.

Cheers
Rod

19 Jul 2011, 11:27 AM
#1571
peter_homann avatar

peter_homann

Zen Follower

Join Date:
Jun 2006
Location:
Melbourne, VIC
Posts:
106
Plugin Contributions:
0

Re: ozpost shipping module

Hi Rod,

This isn't really an Ozpost question, but;

I'm using the Ty Package Tracker addon to Zencart. It allows the customer to track their packages.
http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=167

What I want to do is provide a link to the Australian Post tracking site with the tracking number as an argument like;

http://auspost.com.au/track/?action=submit&trackIds=RP1234567890AU

Do you know if this is possible?

Cheers,

Peter.

19 Jul 2011, 12:00 PM
#1572
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: ozpost shipping module

Peter Homann:

What I want to do is provide a link to the Australian Post tracking site with the tracking number as an argument like;

http://auspost.com.au/track/?action=submit&trackIds=RP1234567890AU

Do you know if this is possible?

It's certainly possible, in fact even though I haven't looked, I suspect it would be a trivial task to modify the Ty Package Tracker code to include/support austpost.

Alas, it may not do you much good because the AustPost tracking site only tracks eParcels (not registered, insured, or any other type of parcel).

Even if you do have an eParcel account, there is no way (that I know of) that will allow the tracking numbers to be inserted into the zencart database automatically, so this will need to be done manually.

I also don't know of any zencart (or other eCommerce software) module that supports the eParcel system. The code they supply to customers is locked down pretty tight and they don't offer any support to 3rd party developers.

So, to summarise, yes it will be easy to add, but basically pretty pointless.

Cheers
Rod

19 Jul 2011, 1:58 PM
#1573
peter_homann avatar

peter_homann

Zen Follower

Join Date:
Jun 2006
Location:
Melbourne, VIC
Posts:
106
Plugin Contributions:
0

Re: ozpost shipping module

Hi Rod,

Thanks for the reply.

I'm primarily going to be using it to to manually enter the express post and registered parcels number into the Zencart database.

At the moment I'm writing them into a notepad, incasea parcel goes missing.

Keeping the tracking number with the order in the database is quite convienient.

There is no change needed to add it in. Ty Package Tracker has 5 set of fields where you can add in a shipping carrier name and a URL to the tracking page.

Cheers,

Peter.

20 Jul 2011, 5:59 AM
#1574
makatak88 avatar

makatak88

New Zenner

Join Date:
Feb 2010
Posts:
26
Plugin Contributions:
0

Re: ozpost shipping module

gday rod,

i really appreciate you trying to help us. your module looks like what we're after and we'll happily subscribe if we can get it working. i've enabled all things except tnt. switched the icons to none. there were already default handling fees for all items filled in, however I have changed all the amounts just in case - ive gone a dollar higher or lower randomly. still having no luck though. let me know what else I can do to help.

Thanks
Mak

20 Jul 2011, 6:17 AM
#1575
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: ozpost shipping module

Peter Homann:

There is no change needed to add it in. Ty Package Tracker has 5 set of fields where you can add in a shipping carrier name and a URL to the tracking page.

So what was it wanted me for? :unsure:

Cheers
Rod

20 Jul 2011, 6:32 AM
#1576
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: ozpost shipping module

makatak88:

i really appreciate you trying to help us. your module looks like what we're after and we'll happily subscribe if we can get it working.

That's why we offer the 60 day free trial. :smile:

makatak88:

i've enabled all things except tnt. switched the icons to none. there were already default handling fees for all items filled in, however I have changed all the amounts just in case - ive gone a dollar higher or lower randomly. still having no luck though. let me know what else I can do to help.

I assume that 'no luck' means that everything you tried still produced the same $0.00 results?

makatak88:

let me know what else I can do to help.

There are two more things that come to mind.

  1. Try changing the settings for "**Use Core Weight" ** (it should be set to 'no') unless you are sure you need it set to 'yes')

  2. Try setting the** 'Tax Class'** to 'none', unless you are sure you have your tax rates and zones correctly configured.

Both of these are the default settings anyway, but they are both areas of code that can/will affect the quote costs (after they have been retrieved by the server), and therefore important things to check in order to help isolate the problem.

Cheers
Rod

20 Jul 2011, 7:26 AM
#1578
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: ozpost shipping module

makatak88:

yea still no luck rod

From here things are going to get a liitle bit tricky.

If I could get you to load the file
/includes/modules/shipping/ozpost.php into a** text** editor

The locate lines #810 - 812, which currently read:


$_SESSION['ozpostQuotes'] = $this->quotes ; // save as session to avoid reprocessing when single method required

return $this->quotes; // all done //

Now, insert into line#811 this:

print_r($this->quotes) ; exit ;

I suggest you cut/paste :smile:

The final code should read like:

$_SESSION['ozpostQuotes'] = $this->quotes ; // save as session to avoid reprocessing when single method required
print_r($this->quotes) ; exit ;
return $this->quotes; // all done //

Please provide a screenshot of the output when obtaining a quote.

The purpose of this check is to see if the $$$ amounts still exist at this point of the code, or whether they are still zero.

If it shows valid dollar amounts we are going to be looking at some sort of cache related problem, but if they show zero at this point it will narrow things down to just a dozen lines of code.

This test will be a huge help.

Cheers
Rod

20 Jul 2011, 8:13 AM
#1579
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: ozpost shipping module

makatak88:

yea still no luck rod as in im still getting $0.00.

I think I may know what your problem is... Well, at least I've managed to duplicate it.

Anyway, please check your /localization/currencies settings.

The must be an entry for Aussie Dollars with a code "AUD".

Lemme know how it goes.

Cheers
Rod

27 Jul 2011, 3:15 AM
#1580
makatak88 avatar

makatak88

New Zenner

Join Date:
Feb 2010
Posts:
26
Plugin Contributions:
0

Re: ozpost shipping module

Hi Rod,

Sorry I've been away for a week.
Ok I added that line of code reuploaded it and went to estimate shipping in my shopping cart (is that right?):unsure:

I've added a screen shot of the shipping estimation as well as the final checkout screen again. I also tried the localisation currency setting. I had code AUS in there for australian dollar I tried changing that to AUD but got a message when I hit update saying Warning: The primary exchange rate server (oanda) failed for Australian (AUD) - trying the secondary exchange rate server.
Error Error: The exchange rate for Australian (AUD) was not updated via xe. Is it a valid currency code?

However changing it back to AUS it updates fine. I've alse included a screen shot of that.

https://donohues.com.au/images/est.png
https://donohues.com.au/images/est2.png
https://donohues.com.au/images/est3.png
https://donohues.com.au/images/est4.png
https://donohues.com.au/images/est5.png

cheers mate