OTO for 10 memberships

Discussion in 'Installation' started by ccwjames, Oct 5, 2015.

  1. ccwjames

    ccwjames Member

    Joined:
    Sep 11, 2014
    Messages:
    430
    How do i do the pop up for 10 memberships?

    when i go into the settings, it only seems to allow to offer one membership?

    I want to do a deal for bulk membership, aka 10
  2. ccwjames

    ccwjames Member

    Joined:
    Sep 11, 2014
    Messages:
    430
  3. caesar

    caesar aMember Pro Developer Staff Member

    Joined:
    Oct 16, 2009
    Messages:
    1,659
    Do you mean OTO plugin? Do you want to offer 10 different memberships after purchase?

    Unfortunately OTO plugin allow you to offer only one additional membership at once.

    You can either set up new product that combine all your 10 products and offer this new product or setup chain of OTO eg.
    purchase Product A -> offer Product B
    purchase Product B -> offer Products C
    purchase Products C -> offecr Product D
    etc.

    Can it work for your use case?
  4. ccwjames

    ccwjames Member

    Joined:
    Sep 11, 2014
    Messages:
    430
    i wanted a pop up saying something like

    buy 10 memberships today at x amount ( ie year memberships )
  5. caesar

    caesar aMember Pro Developer Staff Member

    Joined:
    Oct 16, 2009
    Messages:
    1,659
    Just set up separate signup form with your offer and display your popup on default signup form with link to this special offer form. You can put code for popup window to your template or use HTML brick in form editor for it.

    Here is simple approach to do it.

    1. create new public page at aMember Cp -> Protect Content -> Pages
    and put your special offer text here with link to sign up form.

    2. Edit your default signup form and add HTML brcik edit. Click 'configure' link on this brcik
    and to brick content put:
    Code:
    <div id="special-offer"></div>
    <script type="text/javascript">
    jQuery(function(){
       jQuery('#special-offer').load('/amember/page/agreement', function() {
            jQuery('#special-offer').amPopup({title: 'Special Offer'});
       })
    })
    </script>
    Replace /amember/page/agreement with url of your offer page that you set up before.

    Save your signup form and then test it.
  6. ccwjames

    ccwjames Member

    Joined:
    Sep 11, 2014
    Messages:
    430
    thanks, i see a box pop up aying special offer, but no text ect under it?
    just a white box
  7. caesar

    caesar aMember Pro Developer Staff Member

    Joined:
    Oct 16, 2009
    Messages:
    1,659
    Did you create page for your special offer? Did you change path
    /amember/page/agreement to actual path of your special offer page in code I gave you?

    Do you mind to give me url of you signup page? I will check it.
  8. ccwjames

    ccwjames Member

    Joined:
    Sep 11, 2014
    Messages:
    430
    i called into OTO
    the page did show in the list on left in members area
    but when i added it as html, as you said

    all i got was a pop up saying special offer and a small white box under it and x

    if i added the full http in the part as above, the whoole site and admin side went white

    so i called it /amember/page/oto and nothing
  9. caesar

    caesar aMember Pro Developer Staff Member

    Joined:
    Oct 16, 2009
    Messages:
    1,659
    Do you mind to give me url of you signup page (You can send in private message). I will check it.
  10. ccwjames

    ccwjames Member

    Joined:
    Sep 11, 2014
    Messages:
    430
    removed at prestn, this weekend we try again
  11. ccwjames

    ccwjames Member

    Joined:
    Sep 11, 2014
    Messages:
    430
    will test again to day

    this is what i did

    clicked OTO in the admin
    made it that when a user buys a month membeship it will be checked and should offer a year deal with a coupon added a little less price than anormal year
    whats the best way for me to test it working? showing
  12. caesar

    caesar aMember Pro Developer Staff Member

    Joined:
    Oct 16, 2009
    Messages:
    1,659
    The best way is try to do test signup.

Share This Page