Recent Topics

Lightbox on home page



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



  • 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


Log in to reply