IMPORTANT! End of Life for NCR Retail Online: 3/31/18 ~ Learn More
MY CART - $0.00

You have no items in your shopping cart.

NRO Extras Demo Store

Documentation - Age Gate

Configuration

System / Configuration / NCR Retail Online / Age Gate

Example 1: Sample Code for the Popup Window

<div class="age-verification">
<img src="http://extras.nrostores.com/media/wysiwyg/nro-extras.png" alt="" />
<h1 style="width:auto !important;">Are you of legal drinking age?</h1>
<p>We are committed to ensuring that our products are enjoyed responsibly. Please verify that you are 21 or over by clicking on the button below.</p>
<a class="button" href="#">YES, I am 21 or over</a>
<p class="fineprint">By clicking YES, you accept the Terms and Conditions and the Privacy Policies.</p>
</div>

Example 2: Sample Code for the Popup Window

<div class="content">
<div class="centrd"><img src="http://extras.nrostores.com/media/wysiwyg/logo.png" /></div>
<h3><em>We get it.</em><br />You look young for your age.</h3>
<p><em>We just need to verify that you're 21 years of age or older.</em></p>
<a class="action" href="#">CLICK HERE IF THAT'S TRUE &raquo;</a>
</div>

 

Testing Your Age Gate

You can configure Age Gate to display once per device, or once per session. However, when you are initially setting up and testing your add-on, you need to see the popup each time you make a change. Try FireFox's Private Browsing feature, or Google Chrome's Incognito mode, or IE's InPrivate browsing. These browsing options don't rely on caching or cookies, and will allow you to test add-ons that rely on cookie sessions.

Please wait...

{{var product.name}} has been added to your cart.

Continue shopping
View cart & checkout