Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Lightbox on home page

    General Discussion
    2
    2
    187
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tamilvanan last edited by

      want to show lightbox before home page with asking customer Pincode and need to store on cookies.. any idea? examples? guide?

      1 Reply Last reply Reply Quote 0
      • R
        rahul last edited by

        Hi @tamilvanan

        You can listen event 'bagisto.shop.home.content.before' to your package's service provider to add your page for light box.

        \Event::listen('bagisto.shop.home.content.before', function($viewRenderEventManager) {
             $viewRenderEventManager->addTemplate('type-hint::folder1.folder2.file-name');
        });
        

        Write your light box code in this file according to your need.

        Thanks

        1 Reply Last reply Reply Quote 0
        • First post
          Last post