=###</strong></code></p> <p>Where all <code>#</code>'s would be replaced with the appropriate values. Read this article to <a href="http://membermouse.uservoice.com/knowledgebase/articles/319248-create-an-affiliate-link" target="_blank">learn more about creating an affiliate link</a>.</p> </div> <?php } ?> <div id="mm-form-container" style="width:460px;"> <div style="font-size:11px;"> <p><span class="mm-section-header">Purchase Links for '<?php echo $p->accessTypeName; ?> '</span></p> <?php if (!$bundle->isFree()) { ?> <p>MemberMouse offers two methods for creating purchase links. First, select the product you want to create a purchase link for and then use one of the links below to allow customers to purchase access to the '<?php echo $p->accessTypeName; ?> ' bundle.</p> <input id="mm-last-selected-product-id" type="hidden" value="0" /> <select id="mm-product-selector" onchange="mmjs.productChangeHandler();"> <option value='0'>Select a product</option> <?php foreach ($p->productIds as $id) { $product = new MM_Product($id); if ($product->isValid()) {
<?php /** * * MemberMouse(TM) (http://www.membermouse.com) * (c) MemberMouse, LLC. All rights reserved. */ $bundle = new MM_Bundle($p->id); if (!$bundle->isFree() && $bundle->getAssociatedProducts() > 0 && !$bundle->hasSubscribers()) { $productsDisabled = ""; } else { $productsDisabled = "disabled='disabled'"; } if ($bundle->hasSubscribers()) { $subTypeDisabled = "disabled='disabled'"; } else { $subTypeDisabled = ""; } $provider = MM_EmailServiceProviderFactory::getActiveProvider(); $provider_token = strtolower($provider->getToken()); ?> <script> function unlockBundle() { jQuery("#expiry-setting").prop('disabled', false); } </script> <style> .noticeMessage { background-color: #FFFFE0;