Display Product Name

Discussion in 'Templates customization' started by pritesh, Mar 12, 2011.

  1. pritesh

    pritesh New Member

    Joined:
    Feb 4, 2011
    Messages:
    5
    I want to display product name above the sign up form. I have tried doing something like this and this does not work.

    Code:
    {$p.title}
    <form id="signup" method="post" action="{$smarty.server.PHP_SELF|escape}">
    Please help.
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    {foreach from=$products item=p}
    {$p.title}
    {/foreach}

    David
  3. pritesh

    pritesh New Member

    Joined:
    Feb 4, 2011
    Messages:
    5
    Cool Thanks :)
  4. lena

    lena New Member

    Joined:
    Aug 24, 2011
    Messages:
    5
    Awesome! This helped me understand how to add a bit of extra CSS to each product. THANK YOU!!!!!!

Share This Page