Previously on Opencart 2.x was made some modification in system/librabry/session.php,
but in Opencart 3.x is different and cannot do it.
My problem comes from that my main page is onepage with only link to several stores in different languages but that main page is set to english and when click on some other store get the language from the default store not the language itself:
mytore.com -> English
gr.mystore.com -> Greek
ro.mystore.com -> Romanian
...
When the clients visit mystore.com they see only the logo of the store and several options for countries that we work and want when client click on the country that want to open that store in the language set in the admin panel, for gr.mystore.com to be Greek.
But when visit at first place mystore.com the browser save cookie with language content EN and then all other sub stores open in that language.
What I'm try till now:
Just modify two files to not store in database any sessions and in the file:
system/library/session/db.php
and
system/library/session/file.php
but still save that cookies.
Maybe will help if make only language cookie to be expire in less then 1 sec or just make to not store that cookie!?
Please if someone can help I'll very happy
