...
Notwendige Anpassungen in der v4 (product_info_v1.html):
statt:
Codeblock |
---|
{if $PRODUCTS_MANUFACTURERS_DESC} <div class="tab-pane fade" id="mandesc"> {$PRODUCTS_MANUFACTURERS_IMG}<br> {$PRODUCTS_MANUFACTURERS_DESC} </div> {/if} |
Neu:
Codeblock |
---|
{if $PRODUCTS_MANUFACTURERS_DESC !='' || $PRODUCTS_MANUFACTURERS_NAME !=''} <div class="tab-pane fade" id="mandesc"> {$PRODUCTS_MANUFACTURERS_IMG}<br> {if $PRODUCTS_MANUFACTURERS_NAME != ''} {if $PRODUCTS_MANUFACTURERS_URL != ''}<a href="{$PRODUCTS_MANUFACTURERS_URL}" rel="noopener">{/if} {$PRODUCTS_MANUFACTURERS_NAME} {if $PRODUCTS_MANUFACTURERS_URL != ''}</a>{/if} <br> {/if} {if $PRODUCTS_MANUFACTURERS_CONTACT != ''} {$txt.manufacturers_contact}{$PRODUCTS_MANUFACTURERS_CONTACT}<br> {/if} {if $PRODUCTS_MANUFACTURERS_COUNTRY != ''} {$txt.manufacturers_country}{$PRODUCTS_MANUFACTURERS_COUNTRY}<br> {/if} {if $PRODUCTS_MANUFACTURERS_STREET != ''} {$txt.manufacturers_street}{$PRODUCTS_MANUFACTURERS_STREET}<br> {/if} {if $PRODUCTS_MANUFACTURERS_STREET_ADD != ''} {$txt.manufacturers_street_add}{$PRODUCTS_MANUFACTURERS_STREET_ADD}<br> {/if} {if $PRODUCTS_MANUFACTURERS_ZIP != ''} {$txt.manufacturers_zip}{$PRODUCTS_MANUFACTURERS_ZIP} {/if} {if $PRODUCTS_MANUFACTURERS_CITY != ''} {$PRODUCTS_MANUFACTURERS_CITY}<br> {/if} {if $PRODUCTS_MANUFACTURERS_STATE != ''} {$txt.manufacturers_state}{$PRODUCTS_MANUFACTURERS_STATE}<br> {/if} {if $PRODUCTS_MANUFACTURERS_PHONE != ''} {$txt.manufacturers_phone}{$PRODUCTS_MANUFACTURERS_PHONE}<br> {/if} {if $PRODUCTS_MANUFACTURERS_MAIL != ''} {$txt.manufacturers_mail}{$PRODUCTS_MANUFACTURERS_MAIL}<br> {/if} {if $PRODUCTS_MANUFACTURERS_SECURITY != ''} {$txt.manufacturers_security}{$PRODUCTS_MANUFACTURERS_SECURITY}<br> {/if} {if $PRODUCTS_MANUFACTURERS_ADDITION != ''} {$txt.manufacturers_addition}{$PRODUCTS_MANUFACTURERS_ADDITION}<br> {/if} {if $PRODUCTS_MANUFACTURERS_DESC != ''} {$txt.manufacturers_desc}{$PRODUCTS_MANUFACTURERS_DESC} {/if} </div> {/if} |
Notwendige Anpassungen in der v5 (product_info_v1.html):
statt:
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 !=''} <div class="row" id="mandesc"> <h3>{$txt.manufacturers}</h3> {if $PRODUCTS_MANUFACTURERS_NAME != ''} {if $PRODUCTS_MANUFACTURERS_URL != ''}<a href="{$PRODUCTS_MANUFACTURERS_URL}" rel="noopener">{/if} {$PRODUCTS_MANUFACTURERS_NAME} {if $PRODUCTS_MANUFACTURERS_URL != ''}</a>{/if} <br> {/if} {if $PRODUCTS_MANUFACTURERS_CONTACT != ''} {$txt.manufacturers_contact}{$PRODUCTS_MANUFACTURERS_CONTACT}<br> {/if} {if $PRODUCTS_MANUFACTURERS_COUNTRY != ''} {$txt.manufacturers_country}{$PRODUCTS_MANUFACTURERS_COUNTRY}<br> {/if} {if $PRODUCTS_MANUFACTURERS_STREET != ''} {$txt.manufacturers_street}{$PRODUCTS_MANUFACTURERS_STREET}<br> {/if} {if $PRODUCTS_MANUFACTURERS_STREET_ADD != ''} {$txt.manufacturers_street_add}{$PRODUCTS_MANUFACTURERS_STREET_ADD}<br> {/if} {if $PRODUCTS_MANUFACTURERS_ZIP != ''} {$txt.manufacturers_zip}{$PRODUCTS_MANUFACTURERS_ZIP} {/if} {if $PRODUCTS_MANUFACTURERS_CITY != ''} {$PRODUCTS_MANUFACTURERS_CITY}<br> {/if} {if $PRODUCTS_MANUFACTURERS_STATE != ''} {$txt.manufacturers_state}{$PRODUCTS_MANUFACTURERS_STATE}<br> {/if} {if $PRODUCTS_MANUFACTURERS_PHONE != ''} {$txt.manufacturers_phone}{$PRODUCTS_MANUFACTURERS_PHONE}<br> {/if} {if $PRODUCTS_MANUFACTURERS_MAIL != ''} {$txt.manufacturers_mail}{$PRODUCTS_MANUFACTURERS_MAIL}<br> {/if} {if $PRODUCTS_MANUFACTURERS_SECURITY != ''} {$txt.manufacturers_security}{$PRODUCTS_MANUFACTURERS_SECURITY}<br> {/if} {if $PRODUCTS_MANUFACTURERS_ADDITION != ''} {$txt.manufacturers_addition}{$PRODUCTS_MANUFACTURERS_ADDITION}<br> {/if} {if $PRODUCTS_MANUFACTURERS_DESC != ''} {$txt.manufacturers_desc}{$PRODUCTS_MANUFACTURERS_DESC} {/if} </div> {/if} {/block} |