Receipt in Thankyou

Discussion in 'Templates customization' started by tgobuzas, Apr 11, 2009.

  1. tgobuzas

    tgobuzas aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    11
    Hi,

    Payment details are not showing in my thanks page when the order is on a free or $0 product.

    However, when anything greater than $0 is purchased, the thanks page correctly displays the payment and processing detail.

    My code is shown below. If I remove the first line, the payment detail appears correctly for $0 (Free) purchases.

    Before I whip out my sandbox, can someone tell me if payments on purchases greater than $0 will continue to display with the following code removed?


    Code:
    {if $payment.amount > "0.0"}
    .
    .
    .
    ..
    {/if}
    
    
    Thank you!
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    Yep, remove the
    {if $payment.amount > "0.0"}
    and
    {/if}

    and the receipt will always show.

    David
  3. jenolan

    jenolan aMember Coder

    Joined:
    Nov 3, 2006
    Messages:
    510
    Before the {/if} put {else} and include a 'zero' amount receipt might look better?
  4. tgobuzas

    tgobuzas aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    11

    Thanks, that's what I thought.

Share This Page