Jump to content
Affan Fals

(ASK) Cara menampilkan Nama Kurir Beserta Lama Estimasi/Delay

Recommended Posts

Mohon bantuannya gimana caranya agar di halaman AdminOrders tidak cuma menampilkan nama kurirnya saja tapi juga info delay-nya. 

di file mana saja yg harus diedit?

 

capture-20191004-214320.jpg.2c5e7c51ab1e14db4cac754e3eadbfec.jpg

 

Soalnya di kolom "Delay" saya isi keterangan jenis servis yang berbeda-beda jadi harus tampil. 

dari tadi saya coba cari-cari masih belum ketemu, sedangkan yang di halaman lain seperti PDF dan history sudah berhasil saya ubah.

Btw saya pakai Prestashop versi 1.6.1.24 .

Terima kasih sebelumnya.

capture-20191004-221141.thumb.jpg.64af5d42904cb07dbbea14120688b659.jpg

Share this post


Link to post
Share on other sites

dirubah formatnya
Name = JNE OKE, JNE REG, JNE YES, dst..
Delay = 3-6 Hari, 2-5 Hari, 1 Hari, dst.. 

Share this post


Link to post
Share on other sites
On 10/11/2019 at 11:57 PM, dosbiner said:

dirubah formatnya
Name = JNE OKE, JNE REG, JNE YES, dst..
Delay = 3-6 Hari, 2-5 Hari, 1 Hari, dst.. 

sebenarnya sudah saya temukan solusinya setelah ngutak-atik berjam-jam.

di file AdminAddressesController.php pada fungsi public function renderView() ditambah dikit kodenya:

 sebelum:

Quote

capture-20191028-162352.png.71d38fea7113cf6bebb9e2c9a620485d.png

 

sesudah:

Quote

capture-20191028-162619.png.0a2455716f2d1497167d03fc8020a3d6.png

 

dan jangan lupa file tpl yg ini diubah juga-> \public_html\adminfolder\themes\default\template\controllers\orders\_shipping.tpl

 

hasilnya:

capture-20191028-162808.png.80a400ecc53a0f8ab4e960dfdd49378b.png

 

kalo pake cara itu mungkin bisa juga tapi modulenya musti dirombak.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More