...
Codeblock |
---|
{block name="module_product_info_standard_manufacturers"} {if $PRODUCTS_MANUFACTURERS_DESC !=''} <div class="row" id="mandesc"> <h3>{$txt.manufacturers}</h3> {$PRODUCTS_MANUFACTURERS_DESC} </div> {/if} {/block} |
Neu:
Codeblock |
---|
{block name="module_product_info_standard_manufacturers"} {if $PRODUCTS_MANUFACTURERS_DESC !='' || $PRODUCTS_MANUFACTURERS_NAME !='$smarty.const.PRODUCT_DETAILS_TAB_MANUFACTURERS == 'true'} <div class="row" id="mandesc"> <h3>{$txt.manufacturers}</h3> {if $PRODUCTS_MANUFACTURERS_NAME != ''} <div class="flex-item flex100"> <div class="w100 text-center"> {if $PRODUCTS_MANUFACTURERS_URL != ''} <a href="{$PRODUCTS_MANUFACTURERS_URL}" rel="noopener" target="_blank"> {/if} {$PRODUCTS_MANUFACTURERS_NAME} {if $PRODUCTS_MANUFACTURERS_URL != ''}</a>{/if} </div> </div> <br> {/if} {if $PRODUCTS_MANUFACTURERS_CONTACT != ''} <div class="flex-item flex100"> <div class="w50 text-right"> {$txt.manufacturers_contact} </div> <div class="w50 text-left"> {$PRODUCTS_MANUFACTURERS_CONTACT}<br> </div> </div> {/if} {if $PRODUCTS_MANUFACTURERS_COUNTRY != ''} <div class="flex-item flex100"> <div class="w50 text-right"> {$txt.manufacturers_country} </div> <div class="w50 text-left"> {$PRODUCTS_MANUFACTURERS_COUNTRY}<br> </div> </div> {/if} {if $PRODUCTS_MANUFACTURERS_STREET != ''} <div class="flex-item flex100"> <div class="w50 text-right"> {$txt.manufacturers_street} </div> <div class="w50 text-left"> {$PRODUCTS_MANUFACTURERS_STREET}<br> </div> </div> {/if} {if $PRODUCTS_MANUFACTURERS_STREET_ADD != ''} <div class="flex-item flex100"> <div class="w50 text-right"> {$txt.manufacturers_street_add} </div> <div class="w50 text-left"> {$PRODUCTS_MANUFACTURERS_STREET_ADD}<br> </div> </div> {/if} {if $PRODUCTS_MANUFACTURERS_ZIP != '' || $PRODUCTS_MANUFACTURERS_CITY != ''} <div class="flex-item flex100"> <div class="w50 text-right"> {$txt.manufacturers_zip}{$PRODUCTS_MANUFACTURERS_ZIP} {/if} </div> {if $PRODUCTS_MANUFACTURERS_CITY != ''} <div class="w50 text-left"> {$PRODUCTS_MANUFACTURERS_ZIP} {$PRODUCTS_MANUFACTURERS_CITY}<br> </div> </div> {/if} {if $PRODUCTS_MANUFACTURERS_STATE != ''} <div class="flex-item flex100"> <div class="w50 text-right"> {$txt.manufacturers_state} </div> <div class="w50 text-left"> {$PRODUCTS_MANUFACTURERS_STATE}<br> </div> </div> {/if} {if $PRODUCTS_MANUFACTURERS_PHONE != ''} <div class="flex-item flex100"> <div class="w50 text-right"> {$txt.manufacturers_phone} </div> <div class="w50 text-left"> {$PRODUCTS_MANUFACTURERS_PHONE}<br> </div> </div> {/if} {if $PRODUCTS_MANUFACTURERS_MAIL != ''} <div class="flex-item flex100"> <div class="w50 text-right"> {$txt.manufacturers_mail} </div> <div class="w50 text-left"> {$PRODUCTS_MANUFACTURERS_MAIL}<br> </div> </div> {/if} {if $PRODUCTS_MANUFACTURERS_SECURITY != ''} <div class="flex-item flex100"> <div class="w50 text-right"> {$txt.manufacturers_security} </div> <div class="w50 text-left"> {$PRODUCTS_MANUFACTURERS_SECURITY}<br> </div> </div> {/if} {if $PRODUCTS_MANUFACTURERS_ADDITION != ''} <div class="flex-item flex100"> <div class="w50 text-right"> {$txt.manufacturers_addition} </div> <div class="w50 text-left"> {$PRODUCTS_MANUFACTURERS_ADDITION}<br> </div> </div> {/if} {if $PRODUCTS_MANUFACTURERS_DESC != ''} <div class="flex-item flex100"> <div class="w50 text-right"> {$txt.manufacturers_desc} </div> <div class="w50 text-left"> {$PRODUCTS_MANUFACTURERS_DESC} {/if} </div> </div> {/if} {/if} {/block} |