Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div id="custom-popup-modal">
- <div class="col-sm-6">
- <div class="static_content">
- <h5 class="min-title">JOIN THE PARTY</h5>
- <h2 class="min-title">GET 15% OFF YOUR FIRST ORDER*</h2>
- <p class="content">Subscribers only discounts, first look at new products, and cutting-edges tips</p>
- <?php echo $newsletterHtml; ?>
- <p class="micro-text">*Promo code will be emailed to the address you enter, New subscribers only</p>
- </div>
- </div>
- <div class="col-sm-6 img-section">
- <img src='<?php echo $this->getUrl('pub/media/').'cms/image-email.gif'; ?>' />
- </div>
- </div>
- <script type="text/javascript" xml="space">
- require(['jquery','Magento_Ui/js/modal/modal'],
- function($,modal) {
- var options = {
- type: 'popup',
- responsive: true,
- };
- var popup = modal(options, $('#custom-popup-modal'));
- $( document ).ready(function() {
- $('#custom-popup-modal').modal('openModal');
- });
- }
- );
- </script>
Add Comment
Please, Sign In to add comment