roz Posted May 7, 2014 Posted May 7, 2014 hi again. anyone here have tried or knows how to display the features in the product list in the back office? thanks Share this post Link to post Share on other sites More sharing options...
NemoPS Posted May 7, 2014 Posted May 7, 2014 Hi! ...hm! Interesting question. What about fiddling with AdminProductsController, the getList() method, and using Product::getFeaturesStatic($id_product) to grab them there? Then you can simply add a new column in the construct method (fields list) Share this post Link to post Share on other sites More sharing options...
roz Posted May 7, 2014 Posted May 7, 2014 hey Nemo1! your suggestion looks good. however, i don't speak PHP. lol! so i have no idea how to do what you are saying Share this post Link to post Share on other sites More sharing options...
NemoPS Posted May 7, 2014 Posted May 7, 2014 D'oh! Well you should probably give up then It's not that easy to do it! Share this post Link to post Share on other sites More sharing options...
roz Posted May 8, 2014 Posted May 8, 2014 D'oh! Well you should probably give up then It's not that easy to do it! i know it's not easy that's why i'm trying to look for help Share this post Link to post Share on other sites More sharing options...
NemoPS Posted May 8, 2014 Posted May 8, 2014 Well yes, but it's near to impossible to guide you from a forum topic, especially if you don't know php Share this post Link to post Share on other sites More sharing options...
roz Posted May 9, 2014 Posted May 9, 2014 Well yes, but it's near to impossible to guide you from a forum topic, especially if you don't know php well i can always try.. i know some basics.. i can be very patient.. i just need this done Share this post Link to post Share on other sites More sharing options...
sportivo147 Posted September 15, 2014 Posted September 15, 2014 Any help will be thankfull as i am searching also for the same thing. Share this post Link to post Share on other sites More sharing options...
NemoPS Posted September 17, 2014 Posted September 17, 2014 Try and adapt this method, but using getFeaturesStatic as mentioned above: http://blog.arvixe.com/add-bought-products-to-the-prestashop-order-list-in-the-back-office/ Share this post Link to post Share on other sites More sharing options...
sportivo147 Posted September 17, 2014 Posted September 17, 2014 Try and adapt this method, but using getFeaturesStatic as mentioned above: http://blog.arvixe.com/add-bought-products-to-the-prestashop-order-list-in-the-back-office/ Ok thank you Nemo. I will try to read it and see if i can create this column. Just ask a question : How can i call from the at the adminproductscontroler.php the sql table of features?? Thank you Share this post Link to post Share on other sites More sharing options...
NemoPS Posted September 18, 2014 Posted September 18, 2014 It depends from where you want to do it. If from the main list you can use the standard variables, like $this->_select for example. Otherwise I suggest you create a bridge module to serve as Model, to avoid adding sql directly in the controller without the default method Share this post Link to post Share on other sites More sharing options...
sportivo147 Posted September 21, 2014 Posted September 21, 2014 It depends from where you want to do it. If from the main list you can use the standard variables, like $this->_select for example. Otherwise I suggest you create a bridge module to serve as Model, to avoid adding sql directly in the controller without the default method Ok i nemo i have read the article but i'm confused with all these information... I don't know much about coding So if you could explain what kind of code i must write to adminproductscontroller.php to show up the Product features?? i just need one column to show specific one feature of the products. i will be very thankfull !!!! Share this post Link to post Share on other sites More sharing options...
sportivo147 Posted September 23, 2014 Posted September 23, 2014 any help ??? Share this post Link to post Share on other sites More sharing options...
Recommended Posts