Jump to content

Addresses not shown in checkout


Recommended Posts

Hi
After my upgrade from 1.3.5 to 1.4.1, invoice address and delivery address are no longer visible in step 3 when checking out. If you click change address, the address that you entered when you created the account is shown. You can still continue the checkout and everything goes fine, but why aren't the addresses shown?

I've attached the full code from order-address.tpl and a screenshot on the step 3 in checkout.

Any ideas are appreciated.

BR
Henrik
http://www.madeforkids.se

[removed][removed]

{capture name=path}{l s='Addresses'}{/capture}
{include file=$tpl_dir./breadcrumb.tpl}

{assign var='current_step' value='address'}
{include file=$tpl_dir./order-steps.tpl}
{l s='Addresses'}
{include file=$tpl_dir./errors.tpl}
<form action="{$base_dir_ssl}order.php" method="post">



{l s='Choose a delivery address:'}

           {foreach from=$addresses key=k item=address}
id_address_delivery}selected="selected"{/if}>{$address.alias|escape:'htmlall':'UTF-8'}
           {/foreach}





           <input type="checkbox" name="same" id="addressesAreEquals" value="1">id_address_invoice == $cart->id_address_delivery || $addresses|@count == 1}checked="checked"{/if} />
{l s='Use the same address for billing.'}


id_address_invoice == $cart->id_address_delivery}style="display: none;"{/if}>
       {if $addresses|@count > 1}
{l s='Choose a billing address:'}

           {section loop=$addresses step=-1 name=address}
id_address_invoice && $cart->id_address_delivery != $cart->id_address_invoice}selected="selected"{/if}>{$addresses[address].alias|escape:'htmlall':'UTF-8'}
           {/section}

           {else}
{l s='Add a new address'}
           {/if}



{l s='Your delivery address'}






{l s='Update'}


{l s='Your billing address'}






{l s='Update'}






{l s='Add a new address'}






{l s='If you want to leave us comment about your order, please write it below.'}

<textarea cols="60" rows="3" name="message">{$oldMessage}</textarea></p>




       <input type="hidden" class="hidden" name="step" value="2" />
       <input type="hidden" name="back" value="{$back}" />
{l s='Previous'}
       <input type="submit" name="processAddress" value="{l s='Next'}" class="exclusive" style="height:23px;width:140px;padding:1px 10px 0px 10px;"/>

</form>

46243_wSmRPMyxEOorWvDIJqak_t

Link to comment
Share on other sites

  • 3 weeks later...
  • 1 year later...

Have the same problem with this

 

After importing addresses the above also happens using pretashop 4.8

 

i.e the address does not show on the one page checkout (step 3) but it is in their if you go to addresses

 

And if you update and save addresses it will then show on the checkout

 

Must be some criteria here that the upload does not properly do, but the save button updates.

 

Cant work out what it is though?

Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...