<script> AddToCartModalContent = window.AddToCartModalContent || function(title, img){ var html = '' + '<section>' + '<span class="mw-icon-shop" style="font-size:50px;"></span>' + '<h5>' + title + '</h5>' + '<p><?php _e("has been added to your cart"); ?> </p></section>' + '<a href="javascript:;" onclick="addtocartmodal.remove();" class="mw-ui-btn"><?php _e("Continue shopping"); ?> </a>' + '<a href="<?php print checkout_url(); ?> " class="mw-ui-btn mw-ui-btn-invert"><?php _e("Checkout"); ?> </a>'; return html; } </script> <script> mw.require("<?php print TEMPLATE_URL; ?> js/owl/owl.carousel.css"); mw.require("<?php print TEMPLATE_URL;
$checkout_link_enanbled = get_option('data-checkout-link-enabled', $params['id']); } else { $checkout_link_enanbled = $params['checkout-link-enabled']; } ?> <?php if ($checkout_link_enanbled != 'n') { ?> <?php $checkout_page = get_option('data-checkout-page', $params['id']); ?> <?php if ($checkout_page != false and strtolower($checkout_page) != 'default' and intval($checkout_page) > 0) { $checkout_page_link = content_link($checkout_page) . '/view:checkout'; } else { $checkout_page_link = checkout_url(); } ?> <?php } ?> </a> <?php } else { ?> <div class="mw-ui-row-nodrop"> <span class="mw-ui-col icon-shopping-cart-holder"><span class="mw-cart-small-icon-shopping-cart"></span></span> <div class="mw-ui-col"> <span class="mw-cart-small-order-info"><span class="mw-cart-small-order-info-total no-items"><?php