Skip to main content

Teslimat Ülkesi

Teslimat Ülkesi (Delivery Country)#

Teslimat ülkesi seçiminde aşağıdaki yapı kullanılabilir.
smarty
{if $EEXPORT_COUNTRIES|@count>0}
<select class="bg-transparent pl-0 form-control text-body" onchange="fetch('/srv/shopping/shopping/set-country/'+this.options[this.selectedIndex].value);location.reload()">
{foreach from=$EEXPORT_COUNTRIES item=COUNTRY }
<option value="{$COUNTRY.code}" {if $COUNTRY.selected} selected {/if}>{$COUNTRY.name}</option>
{/foreach}
</select>
{/if}