- Posts: 8
- Thank you received: 0
Print Car enabled, but not displaying on front end
13 years 9 months ago #79048
by mocana
Print Car enabled, but not displaying on front end was created by mocana
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!
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.
13 years 9 months ago #79074
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 Print Car enabled, but not displaying on front end
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,
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.
13 years 9 months ago #79136
by mocana
Replied by mocana on topic Print Car enabled, but not displaying on front end
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!
Thank you for the quick response!
Please Log in or Create an account to join the conversation.
13 years 9 months ago #79366
by Ch3vr0n
Replied by Ch3vr0n on topic Print Car enabled, but not displaying on front end
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
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.
13 years 9 months ago #79391
by Xavier
Replied by Xavier on topic Print Car enabled, but not displaying on front end
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:
Around the foreach on the line 1465 of that file.
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:
Code:
if(isset($cart->products) && $cart->products != null){
// foreach{ ... }
}
Please Log in or Create an account to join the conversation.
Time to create page: 0.186 seconds