[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] Shipping Call From Perl


On Fri, 9 Nov 2007, Cameron B. Prince wrote:

I've noticed this in the past and have just worked around it, but now it's really becoming a pain. The problem is when I call $Tag->shipping({ mode => 'RAGCA' }) versus [shipping mode="RAGCA"].

The ITL call works fine. The perl call produces this error:

Shipping mode 'RAGCA': bad formula. Returning 0.

Hi, Cameron.

I'm pretty sure that's just Safe getting in your way. You may be able to get around it by opening the tables you need earlier on the page, e.g. [perl tabes="products variants ..."][/perl].

Sometimes, though, the only reliable way is to avoid Safe:

[tmp shipping][shipping mode="RAGCA"][/tmp]

Jon

--
Jon Jensen
End Point Corporation
http://www.endpoint.com/
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.