caparuni Posted April 4, 2009 Share Posted April 4, 2009 secara default kita ga bisa cari deskripsi produk di back-office. harus modify dikit .../classes/Product.php cari function searchByNamecari : SELECT p.`id_product`, pl.`name`, pl.`link_rewrite`, p.`weight`, p.`active`, p.`ecotax`, i.`id_image`, p.`reference`, ganti dengan : SELECT p.`id_product`, pl.`name`, pl.`description`, pl.`link_rewrite`, p.`weight`, p.`active`, p.`ecotax`, i.`id_image`, p.`reference`, terus cari : WHERE pl.`name` LIKE \'%'.pSQL($query).'%\' OR p.`reference` LIKE \'%'.pSQL($query).'%\' OR p.`supplier_reference` LIKE \'%'.pSQL($query).'%\' ganti dengan : WHERE pl.`name` LIKE \'%'.pSQL($query).'%\' OR p.`reference` LIKE \'%'.pSQL($query).'%\' OR p.`supplier_reference` LIKE \'%'.pSQL($query).'%\' OR pl.`description` LIKE \'%'.pSQL($query).'%\' :: semoga berguna :: Link to comment Share on other sites More sharing options...
Ardian Yuli Setyanto Posted April 4, 2009 Share Posted April 4, 2009 itu bisa di bo saja / fo juga bro ? thanks. Link to comment Share on other sites More sharing options...
caparuni Posted April 4, 2009 Author Share Posted April 4, 2009 duh lupa... waktu itu nyoba search nya di bo soal nya.. hihihi... tp skrng nyoba nya di fo juga search nya ke descriptions 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