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



Reply With Quote
