Neuigkeiten
  • Die modified eCommerce Shopsoftware ist kostenlos, aber nicht umsonst.
    Spenden
  • Damit wir die modified eCommerce Shopsoftware auch zukünftig kostenlos anbieten können:
    Spenden
  • Thema: New fields in register form

    jey

    • Frisch an Board
    • Beiträge: 92
    • Geschlecht:
    New fields in register form
    am: 01. März 2016, 12:26:45
    we would like to add one more address field in customer register form, i create the db column and add the fields in create_account.php and template files.

    But still fields not displayed, we need to modify the changes somewhere?

    Linkback: https://www.modified-shop.org/forum/index.php?topic=34483.0

    noRiddle (revilonetz)

    • Experte
    • Beiträge: 13.992
    • Geschlecht:
    Re: New fields in register form
    Antwort #1 am: 01. März 2016, 15:46:31
    Did you assign the smarty in /create_account.php ?,
    and if yes, where exactly ?
    Give us some code please.

    Regards,
    Oli (aka noRiddle)

    jey

    • Frisch an Board
    • Beiträge: 92
    • Geschlecht:
    Re: New fields in register form
    Antwort #2 am: 02. März 2016, 06:52:58

    swolfram [templatix]

    • Fördermitglied
    • Beiträge: 1.169
    • Geschlecht:
    Re: New fields in register form
    Antwort #3 am: 02. März 2016, 09:14:31
    Did you add the $smarty into the appropriate template-files fpr accoutn creation?

    jey

    • Frisch an Board
    • Beiträge: 92
    • Geschlecht:
    Re: New fields in register form
    Antwort #4 am: 02. März 2016, 10:17:08
    Yes. i have added the code as follows

    Code: PHP  [Auswählen]
     {if $address=='1'}
      <tr>
        <td>{#text_address#}</td>
       <td>{$INPUT_ADDRESS}</td>
      </tr>
      {/if}
      {if $suburb=='1'}
      <tr>
        <td>{#text_suburb#}</td>
       <td>{$INPUT_SUBURB}</td>
      </tr>
      {/if}
     

    swolfram [templatix]

    • Fördermitglied
    • Beiträge: 1.169
    • Geschlecht:
    Re: New fields in register form
    Antwort #5 am: 02. März 2016, 11:32:47
    Can't see any new code? Don't use conditional if tags as well, they won't work for you.
    1 Antworten
    1988 Aufrufe
    01. November 2013, 16:22:58 von martinr
    6 Antworten
    3647 Aufrufe
    09. Juni 2011, 08:18:28 von GTB
    1 Antworten
    1800 Aufrufe
    20. Juli 2016, 19:06:34 von awids