[ic] Patch to differentiate between free shipping and unavailable shipping methods
Stefan Hornburg
racke at linuxia.de
Wed May 27 11:00:54 UTC 2009
Mark Lipscombe wrote:
> Hi,
>
> Here is a small patch which lets Vend::Ship::shipping return undefined
> when a cost cannot be calculated for shipping. This allows ITL code
> like this:
>
> [either][shipping][or]Not enough info[/either]
>
> This allows you to have free shipping options, but not show them if a
> shipping calculation cannot be done (for example if that shipping method
> isn't available to that location).
>
> It applies cleanly against CVS HEAD, and also applies with fuzz to 5.4
> and 5.6 versions of IC.
OK, sounds reasonable to me. Any objections (besides the debug code which
needs to be removed) ?
Regards
Racke
--
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team
More information about the interchange-users
mailing list