Jump to content
xt:Commerce Community Forum

Lieferadresse während Checkout kann nicht gewählt werden


guldukat

Recommended Posts

Vor dem 4013 Uodate konnte der Kunde sich anmelden und während der Auswahl der Versandart im Pulldownmenü eine alternative Adresse auswählen (vorausgesetzt, der Kunde hatte schonmal eine alternative Versandadresse ausgewählt). Diese Option ist seit dem Update nicht mehr verfügbar.

Kann mir da einer bitte helfen?

Danke

Link to comment
Share on other sites

Hat sich auch erledigt.

Hab unter subpage_shipping.html

folgende Einträge geändert:


{if $shipping_address.allow_change == true}

	<p><a href="{link page='customer' paction=edit_address params='adType=shipping&abID' params_value=$shipping_address.address_book_id conn=SSL}">[{txt key=TEXT_EDIT}]</a></p>

	{/if}

	</td>

	<td width="60%">

	{if $shipping_address.allow_change == true}

	<p><strong>{txt key=TEXT_SELECT_SHIPPING_ADDRESS}:</strong></p>

	{form type=form name=shipping_address action='dynamic' link_params='page_action=shipping' method=post conn=SSL}

	{form type=select name=adID value=$address_data params='onChange="this.form.submit();"'}

	{form type=hidden name=adType value=shipping}

	{form type=hidden name=action value=select_address}

	{form type=formend}

	{if $add_new_address eq 1}

	<p>{txt key=TEXT_NEW_SHIPPING_ADDRESS}:</p>

	<p><a href="{link page='customer' paction='edit_address' params='adType=shipping' conn=SSL}">{button text=$smarty.const.BUTTON_ADD_ADDRESS file='add_address.gif'}</a></p>

	{/if}

	{/if}

	</td>

	</tr>

</table>


in


	<p><a href="{link page='customer' paction=edit_address params='adType=shipping&abID' params_value=$shipping_address.address_book_id conn=SSL}">[{txt key=TEXT_EDIT}]</a></p>


	</td>

	<td width="60%">


	<p><strong>{txt key=TEXT_SELECT_SHIPPING_ADDRESS}:</strong></p>

	{form type=form name=shipping_address action='dynamic' link_params='page_action=shipping' method=post conn=SSL}

	{form type=select name=adID value=$address_data params='onChange="this.form.submit();"'}

	{form type=hidden name=adType value=shipping}

	{form type=hidden name=action value=select_address}

	{form type=formend}

	{if $add_new_address eq 1}

	<p>{txt key=TEXT_NEW_SHIPPING_ADDRESS}:</p>

	<p><a href="{link page='customer' paction='edit_address' params='adType=shipping' conn=SSL}">{button text=$smarty.const.BUTTON_ADD_ADDRESS file='add_address.gif'}</a></p>


	{/if}

	</td>

	</tr>

</table>

Link to comment
Share on other sites

Und für die Auswahl der Rechnungsadresse die Datei subpage_payment.html wie folgt anpassen:


<h1>{txt key=TEXT_PAYMENT_ADDRESS}:</h1>

<table width="100%" class="payment_address">

  <tr>

    <td width="40%" valign="top">

	<p>

	{if $payment_address.customers_company} {$payment_address.customers_company}<br />{/if}

	{$payment_address.customers_firstname} {$payment_address.customers_lastname}<br />

	{$payment_address.customers_street_address}<br />

	{if $payment_address.customers_suburb} {$payment_address.customers_suburb}<br />{/if}

	{$payment_address.customers_postcode} {$payment_address.customers_city}<br />

	{$payment_address.customers_country}<br />

	</p>


	<p><a href="{link page='customer' paction=edit_address params='adType=payment&abID' params_value=$payment_address.address_book_id conn=SSL}">[{txt key=TEXT_EDIT}]</a></p>


	</td>

	<td width="60%">


	<p><strong>{txt key=TEXT_SELECT_PAYMENT_ADDRESS}:</strong></p>

	{form type=form name=payment_address action='dynamic' link_params='page_action=payment' method=post conn=SSL}

	{form type=select name=adID value=$address_data params='onChange="this.form.submit();"'}

	{form type=hidden name=adType value=payment}

	{form type=hidden name=action value=select_address}

	{form type=formend}

	{if $add_new_address eq 1}

	<p>{txt key=TEXT_NEW_PAYMENT_ADDRESS}:</p>

	<p><a href="{link page='customer' paction='edit_address' params='adType=payment' conn=SSL}">{button text=$smarty.const.BUTTON_ADD_ADDRESS file='add_address.gif'}</a></p>


	{/if}

	</td>

	</tr>

</table>

<br />

<h1>{txt key=TEXT_SELECT_PAYMENT}:</h1>

{txt key=TEXT_SELECT_PAYMENT_DESC}

{form type=form name=payment action='checkout' method=post conn=SSL}

{form type=hidden name=action value=payment}

<br />

{foreach name=aussen item=pdata from=$payment_data}

{$pdata.payment}

{/foreach}



<h1>{txt key=TEXT_COMMENTS}:</h1>

{txt key=TEXT_COMMENTS_DESC}<br />

{form type=textarea name=comments cols=130 rows=10}



<h1>{txt key=TEXT_CONDITIONS}:</h1>

{content cont_id=3 is_id='false'}

<p>{$_content_3.content_popup_link}</p>

<div id="checkout_agb">{$_content_3.content_body}</div>

<p>{form type=checkbox name=conditions_accepted} <strong>{txt key=TEXT_ACCEPT_CONDITIONS}</strong></p>


{if $rescission == 'true'}

<h1>{txt key=XT_RESCISSION_HEADING}:</h1>

{content cont_id=8 is_id='false'}

<p>{$_content_8.content_popup_link}</p>

<div id="checkout_rescission">{$_content_8.content_body}</div>

<p>{form type=checkbox name=rescission_accepted} <strong>{txt key=XT_RESCISSION_ACCEPT}</strong></p>

{/if}


{hook key=checkout_tpl_payment}

<p>{button text=$smarty.const.BUTTON_NEXT file='next.gif' type='form'}</p>

{form type=formend}

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...