Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2009
    Location
    Sydney, Australia
    Posts
    43
    Plugin Contributions
    0

    Default echo customer data without field

    Please forgive me this is probably a really stupid question.

    But how do I echo customer data in "account_edit".
    I have tried many ways but if doesn't seem to work.

    Any suggestions?

    Thanks

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: echo customer data without field

    Elaborate on WHAT data you are seeking???
    Normal customer info should be displayed by default
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Feb 2009
    Location
    Sydney, Australia
    Posts
    43
    Plugin Contributions
    0

    Default Re: echo customer data without field

    Thanks for your reply.

    I have added extra customer fields which work fine in "admin" but I would also like to display them to the customer in account_edit

    For example I have created a field called customer_status which is set in admin. I want to display this to the customer but I don't want them to be able to edit the content/field. Basically like a simple echo statement from the database.

    Thanks again for your help.

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: echo customer data without field

    That file consists mostly of a form but is enclosed in a div named accountEditDefault -

    You should include your calls in the div but before or after the form or is a separate div all together
    Opps see yopu have tried - - you might have to have the module associated with this function get the data available to be used
    Last edited by kobra; 7 Mar 2009 at 02:38 AM.
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Feb 2009
    Location
    Sydney, Australia
    Posts
    43
    Plugin Contributions
    0

    Default Re: echo customer data without field

    so would the call be:

    <?php echo $customers->info['customers_firstname']; ?>

    if I wanted to echo first name?

    Thanks again

    Sam

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: echo customer data without field

    Have a peek at includes/modules/pages/account_edit/header_php.php
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. Replies: 2
    Last Post: 21 Aug 2014, 04:24 PM
  2. v151 Problem & solution to additional customer status emails without customer info
    By delia in forum Managing Customers and Orders
    Replies: 8
    Last Post: 11 Jul 2013, 02:12 AM
  3. v150 Reinstall without losing the data
    By joimbob444 in forum General Questions
    Replies: 1
    Last Post: 5 Apr 2013, 02:39 PM
  4. Custom Customer Data To Order Data
    By fotofx in forum General Questions
    Replies: 1
    Last Post: 22 Aug 2010, 08:10 PM
  5. Specific Data Field Export
    By micmed in forum General Questions
    Replies: 2
    Last Post: 25 Mar 2010, 05:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg