Adding Lightbox Form on Magento

  • Profile Image
    Asked on March 24, 2014 at 10:38 AM

    Could you advise on how to get it to work within magento, the pop up part works fine having trouble with sessioncookie.php part. Thanks

    This is a re-post of a comment on Using Cookies to Auto-Open a Lightbox Form per Browser Session

  • Profile Image
    Answered on March 24, 2014 at 12:41 PM

    You will have to create a PHP file and add the cookie script on it. This script: Now, simply upload this PHP file to your server. This script would check your submitters session cookie.

    Second step, would be to embed the codes to your webpage. This codes: The formId should be your form's actual ID, you have to replace this value by your forms actual ID. Form ID is the string of numbers found at the end of your form URL.


    Note that when you embed the Lightbox Codes, you have to make sure that HTML formatting is selected or enabled to your Magento page.

    Let us know if you further assistance.