César Posted August 13, 2018 Share Posted August 13, 2018 Hola, tengo un selector de sucursales mediante un lightbox y multitienda. Quiero que cuando el usuario seleccione una tienda ya no tenga que volver a seleccionar la sucursal ¿Cómo puedo definir las cookies en PrestaShop? ¿Hay forma de combinar PHP y Smarty para definirlo? Link to comment Share on other sites More sharing options...
Knowband Plugins Posted August 14, 2018 Share Posted August 14, 2018 Hi, Just send an ajax request by clicking on the store button OR (Just pass a GET parameter in the store URL) & set the cookie via Ajax OR GET Parameter passed in the URL. On the basis of the cookie, you can decide whether you need to display the store selection page again OR not. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now