EE 2.7.2 Store 2.0.3
It doesn't look like the hook (store_order_recalculate_end) is happening as advertised. Works fine when adding the first item to the cart. But upon cart update or adding more items, not happening.
Here is a dead simple test in my extension. (via template logging)
...
'hook' => 'store_order_recalculate_end',
'method' => 'barfoo',
...
public function barfoo(){
$this->EE->load->library('Template', null, 'TMPL');
$this->EE->TMPL->log_item("Hello World");
}
What else can I be doing? Where should I be looking? This method definitely does not happen after the first item is added to the cart.
Thanks for the help.
exit("hello")
in your hook do? – Adrian Macneil Oct 18 '13 at 20:02