问题
my website information : opencart 2.0.2
vqmod :current last.
databese information:
store 1 and 2 no database.its redirect default site.(with config.php)
htaccess :
default Store : same, store 1:same, strore 2 :same
admincp: admincp server setting : Use Shared Sessions activated.
(SEO URLs Active : yes)
ı want to share cart and logins ı wait for this 4 month help me please
回答1:
Easy Solution,
- OPEN FILE: system/library/session.php
- FIND LINE: session_set_cookie_params(0, '/');
- 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
来源:https://stackoverflow.com/questions/32998968/how-to-make-opencart-multi-store-share-same-cart-and-other