Topic-icon FB login button In hikashop 3.0 checkout page

Active Subscriptions:

None
9 years 2 months ago - 9 years 2 months ago #61134 by skyfranky
I have been using JFBconnect tag to show FB login button in hikashop checkout page, and it used to be working fine until I upgraded to hikashop ver 3.0 today. It's somehow not showing the FB button anymore. I asked Hikashop and they said it's Jfbconnect issue.

Here is where I added the Jfbconnect code via view>checkout>login_form
www.screencast.com/t/KKTZz0nj


the same FB login code is working in other extension except hikashop. how to troubleshoot this issue?
Last edit: 9 years 2 months ago by skyfranky.
The topic has been locked.
Support Specialist
9 years 2 months ago #61135 by mel
Please ensure that you're editing the correct view file in case they have changed for the latest version of HikaShop. I just upgraded my test site to version 3.0.1. I attempted to add your code change to /views/checkout/tmpl/login_form.php and it did not show up either. However, when creating a menu item to the checkout page, the link goes to index.php?option=com_hikashop&view=checkout&layout=show - thus when I edited the /views/checkout/tmpl/show.php file, the link showed up.

Additionally, if you did any template overrides for the old version, please verify that they're still valid for the new version.

-Melissa
The topic has been locked.
Active Subscriptions:

None
9 years 2 months ago #61141 by skyfranky
thanks for the update. You are right that other view file like show_block_login.php work. Hikashop document is not correct after upgrade to 3.0.

I now can have the button shown, but one issue. after login with FB, the FB login button still shows. the button should be hidden when already login with FB. How to do this?
The topic has been locked.
Support Specialist
9 years 2 months ago #61156 by mel
You can do this with some PHP code to check to see if the user is logged in.

[code]<?php if(JFactory::getUser()->guest) { ?> <a your link and image here>..</a> <?php } ?>
The topic has been locked.