Cart Print Button Error Notice

  • Posts: 69
  • Thank you received: 1
11 years 10 months ago #84269

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

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
11 years 10 months ago #84377

Hi,

Please edit the file "component/com_hikashop/views/checkout/view.html.php" and replace:

		$this->assignRef('additional',$cart->additional);
		$this->assignRef('total',$cart->total);
		$this->assignRef('rows',$cart->products);
		$cart=hikashop_get('helper.cart');
		$this->init();
By:
		$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();
In the function cart.

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.

  • Posts: 69
  • Thank you received: 1
11 years 10 months ago #84454

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.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
11 years 10 months ago #84473

Hi,

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.049 seconds
Powered by Kunena Forum