// Cookies subdomain & bug fix on stocks
This commit is contained in:
1 parent
21939edce0
commit
06c56b34d7
4 files changed
+43
-9
No files matched your search
@@ -116,10 +116,9 @@ if (defined('_PS_ADMIN_DIR_'))
|
||||
else
|
||||
{
|
||||
if (Context::getContext()->shop->getGroup()->share_order)
|
||||
$cookie = new Cookie('ps-sg'.Context::getContext()->shop->getGroup()->id, '', $cookieLifetime);
|
||||
$cookie = new Cookie('ps-sg'.Context::getContext()->shop->getGroup()->id, '', $cookieLifetime, Context::getContext()->shop->getUrlsSharedCart());
|
||||
else
|
||||
$cookie = new Cookie('ps-s'.Context::getContext()->shop->id, '', $cookieLifetime);
|
||||
|
||||
}
|
||||
|
||||
Context::getContext()->cookie = $cookie;
|
||||
|
||||
Reference in new issue
Block a user