klausburger Posted May 19, 2012 Report Share Posted May 19, 2012 Hallo, in der address_book.html wird nur der Firmenname 1 und dann der Ansprechpartner angezeigt. Ich bräuchte hier den Firmennamen 2 und 3 zusätzlich, aber $addresses.customers_company2 funktioniert nicht. Kann mir einer die Bezeichnung geben ? Danke Link to comment Share on other sites More sharing options...
schapfi Posted October 4, 2013 Report Share Posted October 4, 2013 Hallo, dasselbe Problem haben wir auch. Wird der {if Befehl entfernt, funktioniert es, die Zeile in der Lieferinformation soll aber nur angedruckt werden, wenn eine Inhalt vorhanden ist. Hier der Code: <h1>{txt key=TEXT_SHIPPING_ADDRESS}:</h1> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="40%" valign="top"> <p><b> // Das Funktioniert {$shipping_address.customer_company} {$shipping_address.customers_company}<br /> // Wird aber folgende Befehl verwendet, funktioniert es nicht: {if $shipping_address.customer_company} {$shipping_address.customers_company}<br />{/if} // ENDE {$shipping_address.customers_firstname} {$shipping_address.customers_lastname}<br /> {$shipping_address.customers_street_address}<br /> {if $shipping_address.customers_suburb} {$shipping_address.customers_suburb}<br />{/if} {$shipping_address.customers_postcode} {$shipping_address.customers_city}<br /> {$shipping_address.customers_country}<br /> </b> </p> <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> </table> <br /> <h1>{txt key=TEXT_SELECT_SHIPPING}:</h1> {txt key=TEXT_SELECT_SHIPPING_DESC} <br /> <br /> {form type=form name=shipping action='checkout' method=post conn=SSL} {form type=hidden name=action value=shipping} {foreach name=aussen item=sdata from=$shipping_data} {$sdata.shipping} {/foreach} {hook key=checkout_tpl_shipping} <p>{button text=$smarty.const.BUTTON_NEXT file='next.gif' type='form'}</p> {form type=formend} Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.