Buy me a coffee

Add Terms of Service Popup

Description: Click on Option: Terms of Service Popup >> Open a Popup

Add Terms Of Service Popup 01 Min

Add Terms Of Service Popup 02 Min

#1. First, you need to install Lightbox Plugin

#2. Next, create a Form with Radio Field Terms of Service

Add Terms Of Service Popup 03 Min

In Option, you enter nothing

Add Terms Of Service Popup 04 Min

#3. Create a page with Name/URL: Terms – URL: terms

Add Terms Of Service Popup 07 Min

and add your terms content to this page

Add Terms Of Service Popup 02 Min

#4. Use this code to Code injection – Footer, under Lightbox code
(red is lightbox plugin code)

< script src = "https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js" > < /script> <
script >
  window.addEventListener("load", (event) => {
    $('<span>Please select check box to confirm agreement with the <a href="#lightbox_terms">Terms of Service</a></span>').appendTo('fieldset#checkbox-9caf60c5-3473-4680-adee-9d129933ad8f .option');
    pluginLightbox();
  }); <
/script> <
style >
  a.lightbox - link {
    border - bottom: 1 px solid #fff;
  } <
  /style>

Add Terms Of Service Popup 08 Min

#5. Note

This is the radio field ID. Currently, there is no tool to find this ID, you can follow this guide to find Radio Field ID.

Add Terms Of Service Popup 09 Min