erwinbudiarto Posted March 13, 2013 Share Posted March 13, 2013 Permisi... mau tanya nih, butuh pencerahan dari agan2... Saya menggunakan PS 1.5.3.1. mau mengubah isi dari featured products menjadi new products pada home. sangat mengharapkan pencerahan dari agan2... sudah ubek2 koq ga dapat solusinya. Makasih sebelumnya Link to comment Share on other sites More sharing options...
Zaid Posted March 14, 2013 Share Posted March 14, 2013 (edited) homefeatured.php line 106 --> delete / comment lalu insert : $products = Product::getNewProducts((int)Context::getContext()->language->id, 0, ($nb ? $nb : 10)); if (!$products) return; Edited March 14, 2013 by Zaid (see edit history) 1 Link to comment Share on other sites More sharing options...
erwinbudiarto Posted March 14, 2013 Author Share Posted March 14, 2013 Makasih banyak atas responnya Agan Zaid sudah langsug saya coba saran Agan di homefeatured.php line 106, tetapi yang terjadi malah 500. (HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request. Link to comment Share on other sites More sharing options...
XtreM726 Posted March 14, 2013 Share Posted March 14, 2013 Pake module aja gan,... namanya : homenewproducts - sya lupa downloadnya dmn, search di google aja Link to comment Share on other sites More sharing options...
Zaid Posted March 14, 2013 Share Posted March 14, 2013 Makasih banyak atas responnya Agan Zaid sudah langsug saya coba saran Agan di homefeatured.php line 106, tetapi yang terjadi malah 500. (HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request. di test di localhost berhasil kok gan... line 106 ini gan: $products = $category->getProducts((int)Context::getContext()->language->id, 1, ($nb ? $nb : 10)); ganti dengan ini $products = Product::getNewProducts((int)Context::getContext()->language->id, 0, ($nb ? $nb : 10)); if (!$products) return; Link to comment Share on other sites More sharing options...
erwinbudiarto Posted March 14, 2013 Author Share Posted March 14, 2013 saya coba di saya gagal tetapi klo saya langsung timpa saja tanpa delete/comment, tidak ada perubahan sama sekali. featured produk di home tidak berubah menjadi new products mungkin ada baiknya saya coba searching module untuk itu. smoga bisa didapat. nanti saya akan share apabila saya dapatkan download url nya Link to comment Share on other sites More sharing options...
Zaid Posted March 14, 2013 Share Posted March 14, 2013 Silakan searching dulu... Cara di atas sebenarnya sudah berhasil menampilkan produk terbaru, tinggal translate aja --> New Product Link to comment Share on other sites More sharing options...
Lightyear Posted March 22, 2013 Share Posted March 22, 2013 saya ikut menyimak ya agan2 terima kasih,, saya masih banyak belajar soalnya Link to comment Share on other sites More sharing options...
catharina Posted March 23, 2013 Share Posted March 23, 2013 (edited) barusan dicoba di PS 1.5.3.1 dan berhasil jangan lupa: 1. force compile 2. ubah nama title block di homefeatured.tpl line 28 karena modul ini sebenarnya milik homefeature hanya data yg diambil adalah new product <p class="title_block">{l s='Featured products' mod='homefeatured'}</p> menjadi <p class="title_block">{l s='New products' mod='homefeatured'}</p> sekarang yg bikin saya pusing, gimana caranya mengecilkan jarak antara row 1 dan 2 udah coba utak atik file .css tetep ga bisa mohon bantuannya bagi yg tau attached screenshot Edited March 23, 2013 by catharina (see edit history) 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now