Stack Exchange network consists of 178 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
I have a cookie like this:
How can i get value and name of this in phtml file?
Any help? Thank in advance.
You cannot get cookie in a Block and hence cannot use it in phtml file as a PHP variable.
var cookie = $.cookie("example");
Required, but never shown