- Posts: 69
- Thank you received: 1
Cart Print Button Error Notice
13 years 8 months ago #84269
by BasketBox
Cart Print Button Error Notice was created by BasketBox
When I select the print button for my cart, inside the popup at the bottom I get this error:
Notice: Undefined property: CheckoutViewCheckout::$cart in /home/basket/public_html/components/com_hikashop/views/checkout/tmpl/cart.php on line 446
Fatal error: Call to a member function displayButton() on a non-object in /home/basket/public_html/components/com_hikashop/views/checkout/tmpl/cart.php on line 446
Notice: Undefined property: CheckoutViewCheckout::$cart in /home/basket/public_html/components/com_hikashop/views/checkout/tmpl/cart.php on line 446
Fatal error: Call to a member function displayButton() on a non-object in /home/basket/public_html/components/com_hikashop/views/checkout/tmpl/cart.php on line 446
Please Log in or Create an account to join the conversation.
13 years 8 months ago #84377
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic Cart Print Button Error Notice
Hi,
Please edit the file "component/com_hikashop/views/checkout/view.html.php" and replace:
By:
In the function cart.
It should fix your problem.
Regards,
Please edit the file "component/com_hikashop/views/checkout/view.html.php" and replace:
Code:
$this->assignRef('additional',$cart->additional);
$this->assignRef('total',$cart->total);
$this->assignRef('rows',$cart->products);
$cart=hikashop_get('helper.cart');
$this->init();
Code:
$this->assignRef('additional',$cart->additional);
$this->assignRef('total',$cart->total);
$this->assignRef('rows',$cart->products);
$cart=hikashop_get('helper.cart');
$this->assignRef('cart',$cart);
$this->init();
It should fix your problem.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
13 years 8 months ago #84454
by BasketBox
Replied by BasketBox on topic Cart Print Button Error Notice
That solved the problem. I'm using the latest version but will I need to do this again after a Hikashop business upgrade?
Please Log in or Create an account to join the conversation.
13 years 8 months ago #84473
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic Cart Print Button Error Notice
Hi,
The fix has been submitted, it would be include in the next HikaShop package.
Regards,
The fix has been submitted, it would be include in the next HikaShop package.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: BasketBox
Please Log in or Create an account to join the conversation.
Time to create page: 0.166 seconds