KalimAz Posted November 28, 2018 Share Posted November 28, 2018 Hi, I'm checking on how to modify the product filter to enable in backend list products with a quantity greater than X. At least will be enough to list the ones that has stock at that moment. I'm using prestashop 1.6.1.23 and I have found that the affected colum is: if (Configuration::get('PS_STOCK_MANAGEMENT')) { $this->fields_list['sav_quantity'] = array( 'title' => $this->l('Quantity'), 'type' => 'int', 'align' => 'text-right', 'filter_key' => 'sav!quantity', 'orderby' => true, 'badge_danger' => true, //'hint' => $this->l('This is the quantity available in the current shop/group.'), ); Any TIP on this? Thank in advance Rafael Link to comment Share on other sites More sharing options...
KalimAz Posted November 30, 2018 Author Share Posted November 30, 2018 As far as I canseethe list object has MAX/MIN if the date is DATE type. Does anyone knows where is this object build so I can add MAX/MIN also to Integer columns? 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