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,