Output purchased product url in thanks.html

Discussion in 'Templates customization' started by frieden, Feb 15, 2011.

  1. frieden

    frieden New Member

    Joined:
    Aug 22, 2006
    Messages:
    2
    I'm starting my new membership site for niche blog templates

    with 4 membership levels. As a member you can purchase products.

    My Problem:
    When a logged in member purchases a product the thank you page shows a link to login.php. Instead I would like to show a link to the product page.

    What would be the smarty code for that ?

    p.s. Just noticed I should have posted this in "Templates customization". Maybe Admin can move this.
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    You can use this variable in thanks.html template:
    {$product.url}

Share This Page