Jump to content

Store address in the delivery address


Recommended Posts

  • 3 weeks later...

hello

 

by default there is no possibility to change it automatically, but after some modification it will be possible.

you will need add new address to ps_address table and then - change it in the order specification

 

Hello,

 

I created an address in ps_address and I've added it in the select where you choose the delivery address, but if the id_customer not match the client doesn't update the address.

 

My code:

 
<select name="id_address_delivery" id="id_address_delivery" class="address_select" onchange="updateAddressesDisplay();{if $opc}updateAddressSelection();{/if}">


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


<option value="649">Store</option>
</select>

Thank you.

Edited by ant6n (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...