[Handel] subclassing Handel::Order in Catalyst
Christopher H. Laco
claco at chrislaco.com
Fri Oct 20 17:08:04 CEST 2006
Ryan Lauterbach wrote:
> Christopher H. Laco wrote:
>> Ryan Lauterbach wrote:
>>
>>> Yaaaa, its working!
>>>
> Ok maybe that was a bit premature, but its close now, really!
>
> When i go to checkout, the orders.total and orders.tax fields aren't
> updated. The order_items table has the price and total fields updated
> ok. Now i can understand the tax being empty as I haven't set this
> anywhere. What is the preferred method for doing this. I read
> something about default_values->() somewhere but is that what I should
> be using? I was thinking I needed to load a plugin (like I did with
> AssignOrderNumber) to update orders.total but I figured that wouldn't be
> the case. At what point in the pipeline (CHECKOUT_PHASE_FINALIZE) would
> these values be set? Maybe there is an error with my subclassing below?
>
> Thanks for any hints!
And off topic, but in case you haven't seen it (since you inspired it)...
http://handelframework.com/blog/new_features/modulestarterhandel/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.rawmode.org/pipermail/handel/attachments/20061020/1b418046/attachment.pgp
More information about the Handel
mailing list