46
Extension Support / Re: UPS shipping problem
« on: May 11, 2021, 02:05:04 AM »
You're welcome Gary.
Now we just need to wait for core devs result and their fix.
Now we just need to wait for core devs result and their fix.
https://onlinetools.ups.com/ups.app/xml/Rate
https://www.ups.com/ups.app/xml/Rate
onACart_ProccessData()
and the method is ACart::buildProductDetails
onControllerPagesProductProduct_UpdateData
. $that->view->batchAssign( $this->data );
and using $that->processTemplate( 'pages/xxxx/xxxx.tpl' );
Unknown Error: AbanteCart core v.1.3.0 Call to a member function batchAssign() on null
and Unknown Error: AbanteCart core v.1.3.0 Call to undefined method ACart::processTemplate()
foreach ($total_extns as $extn) {
$sf_total_mdl = $this->load->model('total/'.$extn['key'], 'storefront');
/**
* parameters are references!!
*
* @var ModelTotalTotal $sf_total_mdl
*/
$sf_total_mdl->getTotal($total_data, $total, $taxes, $this->cust_data);
//trick to change data via hooks
$this->data = [
'total_key' => $extn['key'],
'total_data' => $total_data,
'total' => $total,
'taxes' => $taxes,
];
$this->registry->get('extensions')->hk_ProcessData($this, __FUNCTION__, ['total_text_id' => $extn]);
$total_data = $this->data['total_data'];
$total = $this->data['total'];
$taxes = $this->data['taxes'];
unset(
$this->data['total_key'],
$this->data['total_data'],
$this->data['total'],
$this->data['taxes']
);
$sf_total_mdl = null;
}
$this->registry->get('extensions')->hk_ProcessData($this, __FUNCTION__, ['total_text_id' => $extn]);
within the cart.php too.