php prestashop cookie


how to access prestashop cookie?
the directory structure
islike
this
/
|
|-index.php
|
|-prestashop/
   |
   |-(presta
shop files)

I manage to do a login from the index.php.
but
i cannot access the cookie to check if the user logged in or not. />any way to check it or get the user name

how to access prestashop cookie?
the directory structure
islike
this
/
|
|-index.php
|
|-prestashop/
   |
   |-(presta
shop files)

I manage to do a login from the index.php.
but
i cannot access the cookie to check if the user logged in or not. />any way to check it or get the user name

Programming Languages

i have prestashop 1.5 installed on server A, on server B there is
prestashop 1.4 installed with thousands of products and database size
is about 500mb. I want to import all those products, categories,
customers and their addresses from 1.4 installation to 1.5
installation. I have access to both servers. CSV export for products
is taking like forever what should i do to import this all to 1.5.

Programming Languages

I would like to get the var $param from file blockcart.php in the
module block cart and put it in a cookie. I'm not so good in POO so
can anyone tell me what is wrong with my code.


public
function hookAjaxCall($params)
{
global $cookie;
//mycode
if (Configuration::get('PS_CATALOG_MODE'))

return;
$this->assignContentVars($params);
$res =
$this->display(__FILE__, 'blockcart-json.tpl');

$cookie->__set('test', $param); //my code
return $res; />}
Programming Languages

In order to setup an A/B testing (through GG Analytics), I planned
to duplicate my current theme (for organisations purposes) in order to
use the duplicated theme to do the alternate versions of the test. I
use Prestashop 1.4.9.2 .


What I already did,
and works:


Added this to
/classes/FrontController.php, in
displayHeader() function (I know I should override, but
not the point ;)):


if(isset($_GET['alternate'])) />{
$cookie->alternate = "1";

$cookie->write();
}

Replaced in
/config/settings.

Programming Languages

i wondering if it's possible to create a full theme for prestashop
using only PHP, without Smarty.
Thanks

PHP
Hi everyone.....
I read out the topic of how to
pass a variable into another page using session.And mr.moderator have
explained it with beauty.I apply this and it is working for me..Can
anyone give such a good explaianation for cookie also..How to store
data in cookie,destoy cookie etc un ,php page .I read out it from
w3schools.com but i dont know how to implement that.Like session(how
to pass varible through page) plz also give link(if already created i
have searched) or explain it so that newbies can get help from
this...Thank you..
PHP

- Technology - Languages
+ Webmasters
+ Development
+ Development Tools
+ Internet
+ Mobile Programming
+ Linux
+ Unix
+ Apple
+ Ubuntu
+ Mobile & Tablets
+ Databases
+ Android
+ Network & Servers
+ Operating Systems
+ Coding
+ Design Software
+ Web Development
+ Game Development
+ Access
+ Excel
+ Web Design
+ Web Hosting
+ Web Site Reviews
+ Domain Name
+ Information Security
+ Software
+ Computers
+ Electronics
+ Hardware
+ Windows
+ PHP
+ ASP/ASP.Net
+ C/C++/C#
+ VB/VB.Net
+ JAVA
+ Javascript
+ Programming
Privacy Policy - Copyrights Notice - Feedback - Report Violation 2018 © BigHow