Quote Originally Posted by dw08gm View Post
It would be super convenient if a basic version of such an IF statement was pre-written into Ozpost, whereby admins only had to insert their special category(s) or product(s) to disable the mod.

If such an IF statement already exists in Ozpost, can you please tell where it is, as I have yet to find it.
Like all good shipping modules, the ozpost module makes use of and honors the $this-enabled variable.

The IF statements that you are inserting into the individual modules is the *correct* thing to do, as the same code will be applicable to all modules.. a simple insert and you are done.
If the ozpost module had this line added with just the category variables that need to be changed I believe this would complicate things because then the ozpost module would need to be treated *differently* to the other modules.

Having said that, if you have a number of shipping modules that you need to modify, why not consider modifying the code that calls up the shipping modules in the first place? This way you can enable/disable any combination of modules in a single place, and you'll only need to update when the zencart core code gets updated.

Cheers
Rod