andrewcroberts Posted August 5, 2014 Share Posted August 5, 2014 Hi, Have just been looking to see if I could get a column showing whether a product is "Available for order" next to the active column. I looked at the following thread which saw this done on PS 1.5: http://www.prestashop.com/forums/topic/302007-solved-bo-product-listing-available-for-order-online-only-fields-to-show-in-column-listing/ I've managed to adapt the code to the best of my ability to work with PS 1.6 as follows: $this->fields_list['available_for_order'] = array( 'title' => $this->l('Available'), 'active' => 'available_for_order', 'filter_key' => $alias.'!available_for_order', 'type' => 'bool', 'align' => 'text-center', 'class' => 'fixed-width-sm', 'orderby' => false ); however there is a slight issue. It works, but clicking the checkboxes does nothing, and filtering the value throws an error. Screenshots attached. I was wondering if anybody might be able to help. I am not using stock control, so use the "available for order" option. Hence a column would be very handy. Thanks, Link to comment Share on other sites More sharing options...
IronSiteAirsoftShop Posted June 9, 2015 Share Posted June 9, 2015 I've got the same problem, clicking the button does load the page, but doesn't change the boolean, it stays the same.Anybody got a solution? Link to comment Share on other sites More sharing options...
Calatravo Posted November 19, 2015 Share Posted November 19, 2015 up 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