rxss Posted June 30 Share Posted June 30 Hi all, I'd like to display an additional column in the back office 'Product' page. Next to ID, I'd like to display the EAN13 code. The idea being that I can scan an items barcode when I'm in this column and search for it easily. Can someone tell me the necessary code to enter? I believe I need to edit 'Controllers/Admin/AdminProductsController.php' but I'm not sure on the exact code. Link to comment Share on other sites More sharing options...
ZHSoft Posted July 1 Share Posted July 1 (edited) You can also choose to use SQL. Just add p.`ean13` AS `ean13`, Edited July 1 by ZHSoft (see edit history) Link to comment Share on other sites More sharing options...
rxss Posted July 1 Author Share Posted July 1 ok thanks, but how can i filter ean13 on product pag what is the file which i have to edit to see the ean13 filter? Link to comment Share on other sites More sharing options...
ZHSoft Posted July 3 Share Posted July 3 There is a search box at the top where you can search. Link to comment Share on other sites More sharing options...
rxss Posted July 5 Author Share Posted July 5 ok, but if i want add a fields to search by ea n code? i have create a module, and i add the fields but i dont know how to do the logic search in php displayproductmanufacturer.zip Link to comment Share on other sites More sharing options...
rxss Posted July 5 Author Share Posted July 5 the code work, when i search by code ean, i find the product but how can i display the code? if you see in the columnt doesnt appaer the code 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