31
API Development / Unknown Error: AbanteCart core v.1.3.0 Call to a member function batchAssign()
« on: May 01, 2021, 06:19:02 AM »
Hi core devs,
I am using trying to add some product info in cart lib by using the
I also hook into storefront product page by using
I pass the additional data by using
When i open the product page i get
I wonder if i missed anything in my code?
Thanks
I am using trying to add some product info in cart lib by using the
Code: [Select]
onACart_ProccessData()
and the method is Code: [Select]
ACart::buildProductDetails
I also hook into storefront product page by using
Code: [Select]
onControllerPagesProductProduct_UpdateData
. I pass the additional data by using
Code: [Select]
$that->view->batchAssign( $this->data );
and using Code: [Select]
$that->processTemplate( 'pages/xxxx/xxxx.tpl' );
When i open the product page i get
Code: [Select]
Unknown Error: AbanteCart core v.1.3.0 Call to a member function batchAssign() on null
and Code: [Select]
Unknown Error: AbanteCart core v.1.3.0 Call to undefined method ACart::processTemplate()
I wonder if i missed anything in my code?
Thanks