• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
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 31 Aug 2019, 11:38

    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
    • 12 days later
    • R
      rahul last edited by 12 Sept 2019, 08:09

      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
      1 out of 2
      • First post
        1/2
        Last post