Custom Thank You Page

Discussion in 'Templates customization' started by Asa, Dec 9, 2004.

  1. Asa

    Asa New Member

    Joined:
    Jun 24, 2004
    Messages:
    17
    Hello,

    I am wanting to display a custom thank you page, if a user uses a particular signup page to purchase a product. Here is the scenario. Basically I have a custom signup page for this particular product, but cant find the redirect message in the code to make it point to a page other than thanks.php when payment is completed. Please let me know if anyone has a clue on where this is, or how to do it.

    Thanks!
    Asa
  2. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Asa, unfortunately, there is no redirect. However, you can display different blocks of code in thanks.html template like this:


    {if $payment.product_id eq "8"}
    special text for product #8

    {/if}
  3. terriz

    terriz Member

    Joined:
    Nov 17, 2003
    Messages:
    37
    I'd like to make a similar change in thanks.html, but I'd like it to show different content based on whether it is a signup or a renewal. Is there a variable that can be used in an IF to do this?

    Thanks,
    Terri Z
    www.Solo-E.com
  4. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Terri,
    unfortunately, there is no such a variable.
  5. somethingelse

    somethingelse New Member

    Joined:
    Jan 13, 2004
    Messages:
    6
    what about auto emails?

    having this info about custom PAGES for thank yous is great...
    is there a way to control custom EMAILS for different products? Ie. we have paid & free subscriptions - i would rather that folks who make a payment get a different email receipt/confirmation, than folks that choose the free ones...

    i've never had any success getting the autoresponder to work, but maybe that's the solution?

    any thoughts?:confused:
  6. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Yes, autoresponder with 0 days is a solution.
    How to configure?
    Enter into autoresponder product settings:
    0 - email1.txt
    then create and upload file named "email.txt" into amember/templates/ folder.

    then try to signup.
  7. sellers_circle

    sellers_circle New Member

    Joined:
    Oct 8, 2008
    Messages:
    10
    Sort of the same problem but with a twist

    I am using the if statment to call this pixel code..

    {if $payment.product_id eq "11"}
    <SCRIPT language="javascript" src="http://www.infinityfemmes.com/redirconsume.aspx?CID=17107&UID={$payment.payment_id}"></SCRIPT>
    <NOSCRIPT><IMG src="http://www.infinityfemmes.com/redirconsume.aspx?CID=17107&UID={$payment.payment_id}&p=img" width="1" height="1" border="0"></NOSCRIPT>
    {/if}

    everything works as far as the if statment writing the pixel code when product 11 is purchased - however {$payment.payment_id} writes out the actual payment id in the second part of the tracking pixel IE( <NOSCRIPT><IMG src="http://www.infinityfemmes.com/redirconsume.aspx?CID=17107&UID={$payment.payment_id}&p=img" width="1" height="1" border="0"></NOSCRIPT>

    But not in the first part it just writes {$payment.payment_id} rather than the actual payment id -- I need both to work what can I do... So to clarify its the first section IE (<SCRIPT language="javascript" src="http://www.infinityfemmes.com/redirconsume.aspx?CID=17107&UID={$payment.payment_id}"></SCRIPT>) that is not working but rather just returns the {$payment.payment_id} rather than the # for payment ID..

    Thank you in advance for your assistance
  8. codeispoetry

    codeispoetry aMember Pro Customer

    Joined:
    Jan 12, 2009
    Messages:
    336
    Hi sellers_circle,

    Where did you insert your javascript code?

    Lee

Share This Page