I have created 4 stores in subdomains using the multi store feature. But the problem is if a user needs to purchase something from my main website to the 1st multi store, he needs to login again. The log process needs to be done on each and every subdomain.
isnt it possible to make the users 1 time and be logged in on all the sub domains? rather than asking them to login multiple times?
any help will be highly appreciated!
open new other domain and config sameone with default but not share cart and all info
enable session admincp
can you help me ?
1. OPEN FILE: system/library/session.php
2. FIND LINE: session_set_cookie_params(0, '/');
3. APPEND : session_set_cookie_params(0, '/','**.DOMAIN.COM**);
Make sure to include the period **"."** before DOMAIN.COM
That's it... Now login sessions started on **www.domain.com** is shared with **www.sub.domain.com**
hi,donisleno wrote:Very Easy Solution,
1. OPEN FILE: system/library/session.php
2. FIND LINE: session_set_cookie_params(0, '/');
3. APPEND : session_set_cookie_params(0, '/','**.DOMAIN.COM**);
Make sure to include the period **"."** before DOMAIN.COM
That's it... Now login sessions started on **www.domain.com** is shared with **www.sub.domain.com**
I wait for 1 year.thanks but I cant do it becouse my website total 3 and no subdomain other domain and other hosting.
openbasedir no permission for me.
now,
I want to share customer cart and login only. be couse database the same all my website and opencart 2 admin panel session share on.and created stores add link everything setting OK.but doesn't work share cart or logins ( try 4 openacrt version but doesn't work.try journal 2 thame 10 version but doesn't work.
with session.php and Can I? please help me ?
opencarrt version : 2.0.3.1
journal 2.7.0
One question I would have is why would you want to share the login along with the cart?saliverdim wrote:hi,donisleno wrote:Very Easy Solution,
1. OPEN FILE: system/library/session.php
2. FIND LINE: session_set_cookie_params(0, '/');
3. APPEND : session_set_cookie_params(0, '/','**.DOMAIN.COM**);
Make sure to include the period **"."** before DOMAIN.COM
That's it... Now login sessions started on **www.domain.com** is shared with **www.sub.domain.com**
I wait for 1 year.thanks but I cant do it becouse my website total 3 and no subdomain other domain and other hosting.
openbasedir no permission for me.
now,
I want to share customer cart and login only. be couse database the same all my website and opencart 2 admin panel session share on.and created stores add link everything setting OK.but doesn't work share cart or logins ( try 4 openacrt version but doesn't work.try journal 2 thame 10 version but doesn't work.
with session.php and Can I? please help me ?
opencarrt version : 2.0.3.1
journal 2.7.0
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
but login 1.stores after jump 2.store but logout (for customer)
help me ?
1. OPEN FILE: system/library/session.php
2. FIND LINE: session_set_cookie_params(0, '/');
3. APPEND : session_set_cookie_params(0, '/','.your DOMAIN');
4. Clear caches from the browser
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
The question is not why would you but why not share common log in and share a shopping cart.straightlight wrote: ↑Tue Aug 02, 2016 2:41 am[quote="One question I would have is why would you want to share the login along with the cart?
I can think of many reasons to do so.
imagine a large shop with multiple categories and loads of products,
create a miltistore shop with unigue domain names reprecenting product in particular caregories, customers can jump beteween shops order different products form "different shops" and through a shared checkout only once.
it would give a great seo advantage increase sales and all from within 1 singel admin interface.
Food for thought.
if anyone would create a mod that would do that and he/she would ask a € 100 for that mod i would gladly pay that.
Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com
It is great, indeed, to share new or existing ideas. Although, on what has been explained above, what happens when the cart needs to load the content and that the product ID being added to the cart is not among the stores that the customer did add previously? For instance, he remains on the last selected store but the product ID is owned by another store. How would all the stores be reunited together from the store if the order processing mechanism can only process one store - including the payment provider?victorj wrote: ↑Tue Dec 12, 2017 6:32 amThe question is not why would you but why not share common log in and share a shopping cart.straightlight wrote: ↑Tue Aug 02, 2016 2:41 am[quote="One question I would have is why would you want to share the login along with the cart?
I can think of many reasons to do so.
imagine a large shop with multiple categories and loads of products,
create a miltistore shop with unigue domain names reprecenting product in particular caregories, customers can jump beteween shops order different products form "different shops" and through a shared checkout only once.
it would give a great seo advantage increase sales and all from within 1 singel admin interface.
Food for thought.
if anyone would create a mod that would do that and he/she would ask a € 100 for that mod i would gladly pay that.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
fixed it for a subdomain multistore running ssl, but not multistore with unique domain names, and that what i want.
in holland there is 1 large extreem sucesfull company who did accomplish that, they have a multistore shop with over 300 domains all working as 1 singel shop and as far as i know they are the only one who did this
Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Im higly interested in this and wiling to pay.
if so just check my signature, easy to reach by mail.
Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Users browsing this forum: No registered users and 61 guests