Print Car enabled, but not displaying on front end

  • Posts: 8
  • Thank you received: 0
11 years 11 months ago #79048

Hello Hika community!

We have a website at : farmerthydro.com and are working to be close to completion. We are having an issue though with the 'Print Cart' function. It is enabled through the configuration but is not showing up on the front end. the client does indeed want this to be set up so that a user can print out their cart and perform a will call order.

Please help!

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

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

Hi,

If you want to print your cart, you have to open the cart page.
farmerthydro.com/index.php?option=com_hikashop&ctrl=cart

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: 8
  • Thank you received: 0
11 years 11 months ago #79136

That was it! Thank you! Also, for your reference too, I was able to Copy the link location and make a Custom HTML Module above the cart itself!!! More user friendly – FarmerTHydro.com

Thank you for the quick response!

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

  • Posts: 259
  • Thank you received: 10
11 years 11 months ago #79366

Just for the sake of checking i clicked on that url & went to the site & tried to print an empty cart by clicking on the link. Doing so resulted in the following error

Warning: Invalid argument supplied for foreach() in /home/content/m/a/r/marksidea/html/farmert/administrator/components/com_hikashop/classes/cart.php on line 1467
The cart is empty

It seems that this is similar to mine

www.hikashop.com/forum/3-bug-report/7622...d.html?lang=en#79363

Warning: Invalid argument supplied for foreach() in /home/xxxxx/domains/xxxx.xx/public_html/administrator/components/com_hikashop/classes/cart.php on line 1465

looks like there is something wrong with the cart file

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

  • Posts: 13201
  • Thank you received: 2322
11 years 11 months ago #79391

Hi,

I don't have the same things on the line 1465, so I hope that my solution is for the good problem, try to add a if like that:

if(isset($cart->products) && $cart->products != null){
  // foreach{ ... }
}
Around the foreach on the line 1465 of that file.

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

Time to create page: 0.081 seconds
Powered by Kunena Forum