gonebdg - webindoshop.com Posted April 11, 2010 Share Posted April 11, 2010 Berkaitan dengan shipping scenario-2 untuk Indonesia yang saya post disini : http://www.prestashop.com/forums/viewthread/50169/instalasi_konfigurasi_dan_upgrade/3_skenario_pengaturan_shippingTernyata Skenario 2 tidak atau belum dapat dijalankan dengan sempurna. Karena terdapat suatu gejala yang Aneh saat proses perubahan alamat atau penambahan alamat baru.Hal ini sudah Saya post di bug tracker :http://www.prestashop.com/bug_tracker/view/4130/dan di forum english :http://www.prestashop.com/forums/viewthread/51038/installing_prestashop/prestashop_doesnt_support_unlimited_states___support__dot__dot__dot__with_strange_behavior__dot__dot__dot__/Mudah2xan segera mendapat tanggapan dari developer dan ada solusinya ....Uda kerja keras bikin database baru untuk shipping scenario ini dan modifikasi core file : authentication.tpl , address.tpl & addresses.tplBegitu selesai ... di ujicoba .... eeeeh ada yang aneh di Prestashopnya Link to comment Share on other sites More sharing options...
caparuni Posted April 11, 2010 Share Posted April 11, 2010 kalo di server lokal gw nemu limit juga di zones, malah cuman ampe 193 zones doang (http://www.prestashop.com/forums/viewthread/49216/development/zones_limit) tp pas gw uplod ke hosting... maknyus 563 zones bisa terupdate dgn baik. kayanya ada masalah di httpd.conf atow php.ini di server lokal gw... tp blom gw ulik2 seh... males.... ) Link to comment Share on other sites More sharing options...
gonebdg - webindoshop.com Posted April 13, 2010 Author Share Posted April 13, 2010 @ CAPARUNI : Saya belum pernah menemukan masalah dengan Zones, baik di localhost maupun di Live serverMengenai Problem yang saya alami, nampaknya sudah Saya temukan jawabannya ..... (punten ... males ngetik ulang dalam bahasa Indonesia )YES ! YES ! YES ! ......... I Finally found what the problem is ....Here the authentication.tpl script line-4 to line-17 :PAY ATTENTION TO // LOOK [at] HERE! \\ MARKING [removed] // <![CDATA[ idSelectedCountry = {if isset($smarty.post.id_state)}{$smarty.post.id_state|intval}{else}false{/if}; countries = new Array(); {foreach from=$countries item='country'} {if isset($country.states)} countries[{$country.id_country|intval}] = new Array(); {foreach from=$country.states item='state' name='states'} countries[{$country.id_country|intval}]['{$state.id_state|intval}'] = '{$state.name|escape:'htmlall':'UTF-8'}'; // LOOK [at] HERE ! \\ {/foreach} {/if} {/foreach} //]]> [removed] And Here the address.tpl script line-7 to line-23 :PAY ATTENTION TO // LOOK [at] HERE! \\ MARKING [removed] // <![CDATA[ idSelectedCountry = {if isset($smarty.post.id_state)}{$smarty.post.id_state|intval}{else}false{/if}; countries = new Array(); {foreach from=$countries item='country'} {if isset($country.states)} countries[{$country.id_country|intval}] = new Array(); {foreach from=$country.states item='state' name='states'} countries[{$country.id_country|intval}]['{$state.id_state|intval}'] = '{$state.name}'; // LOOK [at] HERE !\\ {/foreach} {/if} {/foreach} $(function(){ldelim} $('.id_state option[value={if isset($smarty.post.id_state)}{$smarty.post.id_state}{else}{$address->id_state|escape:'htmlall':'UTF-8'}{/if}]').attr('selected', 'selected'); {rdelim}); //]]> [removed] Change the code inside address.tpl : '{$state.name}'; With code, Exactly the same as authentication.tpl : '{$state.name|escape:'htmlall':'UTF-8'}'; And The Problem Solved !I'll check again to make sure if all the problem about this topic is really ... really Solved Link to comment Share on other sites More sharing options...
Recommended Posts