[Skip to main content](#vessel-content)

#   Using Easy Social to log into Hika Shop Cart System?

##

- **[paurray](/forum/user/46395-paurray "View paurray's Profile")**
- [![paurray's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar46395.png)](/forum/user/46395-paurray "View paurray's Profile") Topic Author
- [ Offline](/forum/user/46395-paurray)

Less More

- Posts: 139
- Thank you received: 10
-
-

8 years 6 months ago -  8 years 6 months ago [\#291793](#291793) by [paurray](/forum/user/46395-paurray "View paurray's Profile")  *[Using Easy Social to log into Hika Shop Cart System?](/forum/27-checkout/894541-using-easy-social-to-log-into-hika-shop-cart-system#291793 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.7 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : N/A  Hi Hika Shop  I had a developer modify the following files:  i) components&#92;com&#95;hikashop&#92;views&#92;product&#92;tmpl&#92;add&#95;to&#95;cart&#95;ajax.php ii) components&#92;com&#95;hikashop&#92;views&#92;product&#92;tmpl&#92;quantity.php  So that when not logged a user would be forced to login via Easy Social and NOT the regular Joomla login.  This worked. There are two problems that I see with this.  a) I have to update there files manually every time there is a Hika Shop update. b) The potential buyer is taken away from the “Cart” to the ES login.  I am wondering 2 things.  1) Would it be in theory possible for my developer to set this up as a plugin. My technical understanding of a plugin is some what hazy. But essentially some thing that would work and be a satellite to HS and be in the rule HS update proof! i.e. Normally I would not have to update those files manually?  2) Would it be in theory possible for my developer to set this up as a plugin. Where the ES Login module is displayed in the first tab of the cart. i.e. you are not taken off to the login page but log into Easy Social in the HS Cart and after login/registration are taken to the next tab of the cart?  I hope this makes sense?  thanks  Paul")* was created by *[paurray](/forum/user/46395-paurray "View paurray's Profile")*

-- HikaShop version -- : 3.4.0
-- Joomla version -- : 3.8.7
-- Browser(s) name and version -- : Firefox
-- Error-message(debug-mod must be tuned on) -- : N/A

Hi Hika Shop

I had a developer modify the following files:

i) components\com_hikashop\views\product\tmpl\add_to_cart_ajax.php
ii) components\com_hikashop\views\product\tmpl\quantity.php

So that when not logged a user would be forced to login via Easy Social and NOT the regular Joomla login.

This worked.
There are two problems that I see with this.

a) I have to update there files manually every time there is a Hika Shop update.
b) The potential buyer is taken away from the “Cart” to the ES login.

I am wondering 2 things.

1) Would it be in theory possible for my developer to set this up as a plugin. My technical understanding of a plugin is some what hazy. But essentially some thing that would work and be a satellite to HS and be in the rule HS update proof! i.e. Normally I would not have to update those files manually?

2) Would it be in theory possible for my developer to set this up as a plugin. Where the ES Login module is displayed in the first tab of the cart. i.e. you are not taken off to the login page but log into Easy Social in the HS Cart and after login/registration are taken to the next tab of the cart?

I hope this makes sense?

thanks

Paul

Last edit: 8 years 6 months ago by [paurray](/forum/user/46395-paurray "View paurray's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5NDU0MS11c2luZy1lYXN5LXNvY2lhbC10by1sb2ctaW50by1oaWthLXNob3AtY2FydC1zeXN0ZW0/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86357
- Thank you received: 14289
-
-

8 years 6 months ago [\#291817](#291817) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Using Easy Social to log into Hika Shop Cart System?](/forum/27-checkout/894541-using-easy-social-to-log-into-hika-shop-cart-system#291817 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.7 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : N/A  Hi Hika Shop  I had a developer modify the following files:  i) components&#92;com&#95;hikashop&#92;views&#92;product&#92;tmpl&#92;add&#95;to&#95;cart&#95;ajax.php ii) components&#92;com&#95;hikashop&#92;views&#92;product&#92;tmpl&#92;quantity.php  So that when not logged a user would be forced to login via Easy Social and NOT the regular Joomla login.  This worked. There are two problems that I see with this.  a) I have to update there files manually every time there is a Hika Shop update. b) The potential buyer is taken away from the “Cart” to the ES login.  I am wondering 2 things.  1) Would it be in theory possible for my developer to set this up as a plugin. My technical understanding of a plugin is some what hazy. But essentially some thing that would work and be a satellite to HS and be in the rule HS update proof! i.e. Normally I would not have to update those files manually?  2) Would it be in theory possible for my developer to set this up as a plugin. Where the ES Login module is displayed in the first tab of the cart. i.e. you are not taken off to the login page but log into Easy Social in the HS Cart and after login/registration are taken to the next tab of the cart?  I hope this makes sense?  thanks  Paul")*

Hi,

1. You could do a plugin, but even simpler, you could have them as view overrides.
Simply copy these files in the folder templates/YOUR_TEMPLATE/html/com_hikashop/product/ and they will be used instead of the default ones and they won't be overwritten during updates.
That's the basics of view overrides in Joomla:
[ docs.joomla.org/How\_to\_override\_the\_outp...rom\_the\_Joomla!\_core](https://docs.joomla.org/How_to_override_the_output_from_the_Joomla!_core)

2. It's not impossible but much more complex. That's because the whole checkout is inside a form of HikaShop. And the easysocial module login has its own form. If you try to put a form into a form, the form inside won't work and it's even not valid HTML.
So it would require hacking in the checkout system of HikaShop to remove the form of the checkout on that step to have only the module form and then have it redirect back to the checkout once logged in. It's possible but will require a skilled developer knowing how Joomla works at least a bit. I'm afraid that if you're developer doesn't even know about view overrides, it will be difficult for him to do that.

The following user(s) said Thank You: [paurray](/forum/user/46395-paurray "View paurray's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5NDU0MS11c2luZy1lYXN5LXNvY2lhbC10by1sb2ctaW50by1oaWthLXNob3AtY2FydC1zeXN0ZW0/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[paurray](/forum/user/46395-paurray "View paurray's Profile")**
- [![paurray's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar46395.png)](/forum/user/46395-paurray "View paurray's Profile") Topic Author
- [ Offline](/forum/user/46395-paurray)

Less More

- Posts: 139
- Thank you received: 10
-
-

8 years 6 months ago [\#291842](#291842) by [paurray](/forum/user/46395-paurray "View paurray's Profile")  Replied by *[paurray](/forum/user/46395-paurray "View paurray's Profile")* on topic *[Using Easy Social to log into Hika Shop Cart System?](/forum/27-checkout/894541-using-easy-social-to-log-into-hika-shop-cart-system#291842 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.7 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : N/A  Hi Hika Shop  I had a developer modify the following files:  i) components&#92;com&#95;hikashop&#92;views&#92;product&#92;tmpl&#92;add&#95;to&#95;cart&#95;ajax.php ii) components&#92;com&#95;hikashop&#92;views&#92;product&#92;tmpl&#92;quantity.php  So that when not logged a user would be forced to login via Easy Social and NOT the regular Joomla login.  This worked. There are two problems that I see with this.  a) I have to update there files manually every time there is a Hika Shop update. b) The potential buyer is taken away from the “Cart” to the ES login.  I am wondering 2 things.  1) Would it be in theory possible for my developer to set this up as a plugin. My technical understanding of a plugin is some what hazy. But essentially some thing that would work and be a satellite to HS and be in the rule HS update proof! i.e. Normally I would not have to update those files manually?  2) Would it be in theory possible for my developer to set this up as a plugin. Where the ES Login module is displayed in the first tab of the cart. i.e. you are not taken off to the login page but log into Easy Social in the HS Cart and after login/registration are taken to the next tab of the cart?  I hope this makes sense?  thanks  Paul")*

Hi Nicolas

Thank you for your detailed and thorough reply.

Very enlightening.

All the best

Paul

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5NDU0MS11c2luZy1lYXN5LXNvY2lhbC10by1sb2ctaW50by1oaWthLXNob3AtY2FydC1zeXN0ZW0/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.098 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
