Dukaan Themes
  • Introduction to Dukaan Themes
  • Building your own custom theme
  • Getting the basics right
  • Making your first edit
  • Theme folder structure
  • How does it all work?
  • Nunjucks Templating Language
  • Basic code editing
    • Adding the HTML
    • Adding the CSS
    • Adding the Javascript
    • Adding Nunjucks
  • Customising Dukaan Templates
  • Dukaan Data
  • Advance code editing
    • Customising core functionality
  • Dukaan Functions
  • Integrating Dukaan Plugins
    • Wishlist plugin
    • Countdown timer plugin
    • Product scarcity plugin
  • Testing and Deploying Your Theme
  • Code Snippets
    • Changing text of Add to bag button
    • Adding shadow to product cards
    • Adding auto-scrolling text in homepage
Powered by GitBook
On this page

Was this helpful?

Integrating Dukaan Plugins

Active plugin list can be access from window object

window.ACTIVE_APPS_LIST - It gives an object containing data about the status of plugins, its an object of key value pairs where the key is the plugin name and the value is boolean value representing the status.

Sample data

{
    "REVIEWS_AND_RATINGS": true,
    "COUNTDOWNTIMER": false,
    "WISHLIST": false,
    "STORE_LOCATOR": false
}

We will learn about how to integrate these plugins in your theme in the following chapters.

PreviousDukaan FunctionsNextWishlist plugin

Last updated 2 years ago

Was this helpful?