How do you prevent some product order capability from showing up on member page?

Discussion in 'Customization & add-ons' started by novon1, Aug 2, 2004.

  1. novon1

    novon1 Guest

    I have three main products and some add-ons. I want them to only be able to subscribe to one of the main products at a time, but also be able to subscribe to add-on products once they signup for one of the main three. How should I configure aMember for this?

    Thanks
  2. alex

    alex Administrator Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,020
    unfortunately, there is no easy solution.
  3. HarmonyMajor

    HarmonyMajor Guest

    Difficult, yes ... if this'll even work for you.

    Hi Avicy.

    What I'm doing for a similar situation is to assign a unique price group
    number to each of my main products. Then to offer a sort of upsell on
    the signup page, I want to change the text on an area of the (signup)
    page dependent upon the price group a prospect has chosen. (Though
    in my case, it's to get them to choose a DIFFERENT product -- not to
    add onto what they're already ordering. Unsure if this would work in
    your case.)

    I accomplish this by adding the following code example to
    /amember/templates/signup.html:


    Code:
    {if $smarty.request.price_group eq "-#" }
    YOUR HTML CODE FOR THIS PRICE GROUP PRODUCT HERE.
    {/if}
    
    {if $smarty.request.price_group eq "-#" }
    YOUR HTML CODE FOR THE *NEXT* PRICE GROUP PRODUCT HERE.
    {/if}
    And so on.

    Just be sure to replace the "-#" above with the actual price
    group number for each product! (i.e., -1, -2, etc.)

    As for your add-on option, maybe you could have the custom HTML
    code for each price group be an order link/price chart/whatever for
    your add-on product? Meaning, just creating another product in
    aMember for each add-on and putting ITS order link and related text
    as the custom code on member.html?

    If this would even work at all without causing conflicts, I think you'd
    have to enable the "allow member to subscribe to multiple products"
    setting (not exact title) in your aMember admin. But I don't know how
    aMember would handle a prospect selecting two different products at
    different times
    ... which is probably why Alex said this was difficult!
    --------

    Please forgive the fact that I haven't tested my idea on YOUR specific
    situation -- just trying to help out. If you still want to do this, it might
    be worth a shot, I s'pose.

    Good luck!

Share This Page