EvoCivic:
Setting them as "Free Shipping" does the trick, but only locally. If I want to be able to send them O/S but charge postage then I want the ozpost module to kick in and work it out.
What I found is that if I ONLY select free shipping products then the ozpost module is never even run.
This is normal/expected behaviour. No point in ozpost (or any other shipping module) doing all the processing if the shipping is free anyway.
EvoCivic:
If I have a mixture of free and paid shipping products then it is and works things out correctly for the free zone (AUS).
If I have a mixture and want to send O/S ozpost still considers the free ones to be free and ignores them.
Free is Free. Ozpost is designed to ignore products with free postage.
EvoCivic:
I've figured out where the ozpost module is disabled when ALL products are free (includes/functions/functions_general.php) and tweaked that so that other modules are no longer disabled when all products are free.
Ok, this places you one step ahead of me.
EvoCivic:
The next step is to make ozpost include the free products when the destination is not in the free zone.
OK, I suspect this will need custom coding coding somewhere or other.
EvoCivic:
By inserting a bit of code from the freeshipper module that does its zone checking into ozpost and adding an extra condition to the free shipping check I believe it has the desired result (testing seems to give the right sort of output).
Ok...
EvoCivic:
Now the ozpost module kicks in no matter what and gives a cost for O/S postage for every product, even if it's set to free locally. It ignores locally free products and gives a cost for charged ones and still doesn't show up at all if ALL products are fee and sent locally.
OK....
EvoCivic:
It's not perfect in that I want to give slightly discounted international post for the locally free items, but I can do that by manipulating their weights (it'll end up close enough).
This goes against the principles on which the ozpost module is based. The product weights entered need to be the exact weight of the actual products. If you wish to make adjustments to the quotes you should do so using the 'handling fee' settings. Negative values are allowed to provide this functionality.
EvoCivic:
I'm not sure if this is a modification you'd want to include, Rod,
No. It isn't. In fact at the very early design stage of the ozpost module I opted to ignore the 'zone' settings on the basis that for shippng/quote purposes only two zones are needed for australian merchants, namely, Australia and Overseas. It is true that ozzies may/will require the use of the zones settings when using other shipping modules (unless they plan to use a static rate Australia Wide), but the ozpost module correctly calculates the rates to different states and countries with needing the State/Country zones configured.
Although what you are wanting to do is perfectly correct/valid, it isn't something most Aussie merchants will ever need. The main reason I removed the zone related code from the ozpost module (besides not being needed by most) is because when it was included it resulted in an endless number of support questions from people that either didn't set them up correctly in the 1st place ("Why aren't I getting quotes for destination WA" ) or simply didn't have a clue what a 'shipping zone' meant in relation to the way the ozpost module functioned, which left me with a lot of trying to explain why even though the setting existed, it wasn't actually needed (for most).
You are actually the 1st and only person that has 'discovered' (or at least reported) that ozpost is about the only shipping module that is 'lacking' in this regard.
I'm not saying that this negates your needs in any way, its just that your needs are too 'unique' to consider (re)adding the code that results in more support questions for me, and more confusion for the majority of users.
EvoCivic:
(especially as it also requires modifying another file outside ozpost)
Doubly so when it involves the functions_general.php file, which tends to get modified by a lot of other addons as well.
EvoCivic:
but it's a possible idea to add to the list (you're probably sick of me wanting changes after I beat you over the head for weeks with the SkippyPost bit :wink:). Even if it's not something to be included, it might help someone else or maybe somebody can come up with a better or more comprehensive solution.
As you should probably know, I do take all suggestions to improve or enhance the ozpost system seriously, but this is one case where I feel that the changes suggested is not in the best interests of the majority.
Having said that, it is quite possible that I'm actually missing some important point here. If you can see what that may be could you please follow this up in email.
Cheers
RodG