Is there some way that when an existing customer is logged in and places something in their cart, that it would autofill their billing information from their existing data, instead of having to re-fill in that information?


My billing/shipping fields are coded like this and the info is autofilled:

<div class="field {if error:billing_phone}error{/if}">
    <label for="billing_phone">Phone *</label>
    <div class="controls">

OR, as per the Checkout Tag "Billing Details" docs, you can code like this:

<input type="text" name="billing_name" value="{billing_name}" />
  • 1
    Anna's answer is spot on the only thing that I would add is that you need to goto Store > Settings > Order Fields and map the checkout fields to either custom member fields or channel fields if you are using ZooVisitor. Jun 27 '14 at 19:23
  • Also you must empty your cart to reset your sessions if you make template changes and are not seeing the previously stored data properly in your templates. Jun 27 '14 at 19:25
  • 1
    I see what the issue was. I thought Expression Engine already had those fields for members. I didn't realize I needed to create them. Now that I've created the specific member fields, and mapped them to the Expresso Store fields, it is auto filling. Jul 8 '14 at 15:59
  • Ah, indeed they must be manually created!
    – Anna_MediaGirl
    Jul 14 '14 at 17:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.