palermuke Posted January 28, 2014 Share Posted January 28, 2014 Product with stock=0 not possible to sell despite allow it in preferences( in preferences>products I set "Allow ordering of out-of-stock products" = ON ). When trying to purchase product is says: "this combination is out of stock" Checked: In DB out_of_stock field is set to 2 for all the lines (default). In preferences>products the option "on" keeps activated in its green bullet, so it must be saved in DB. $allow_oosp is set 0 in product.tpl Checked adding: {if isset($allow_oosp)} <p>{$allow_oosp}</p> it prints "0" As I understand if $allow_oosp is set 0 in product page it may meanA) that the default option for out-of-stock product I set as "on" is not being properly read from somewhere B)it is not properly managed by tpl files (this is over my prestashop-smarty knoledge) C)... PS version 1.5.6.1 I use Attribute wizard pro AWP Link to comment Share on other sites More sharing options...
selectshop.at Posted January 29, 2014 Share Posted January 29, 2014 Perhaps a module problem ? If you have correctly set stock management, so it works well. Are you using advanced stock management ? Link to comment Share on other sites More sharing options...
palermuke Posted January 31, 2014 Author Share Posted January 31, 2014 (edited) No, Advanced stock manager is not enabled.I have two shops. shop A I can sell product shop B I can´t sell product: "out of stock" Perhaps a module problem ? I am checking it. It is allowed to sell out of stock products: shop A, shop B , all shops and their group (Default) Edited February 1, 2014 by palermuke (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted February 1, 2014 Share Posted February 1, 2014 check that the actual product is set to order using reorder preferences setting here is an example of a product that is set to deny orders in preferences, is yours set instead to 'deny' orders? http://screencast.com/t/sB9Lkk6ar8 1 Link to comment Share on other sites More sharing options...
palermuke Posted February 1, 2014 Author Share Posted February 1, 2014 check that the actual product is set to order using reorder preferences setting here is an example of a product that is set to deny orders in preferences, is yours set instead to 'deny' orders? http://screencast.com/t/sB9Lkk6ar8 YES! I was just working on this. For the shop which the issue the products are set as "disabled". To try to solve, I used emagicone prestashop manager, but mass product changer doesnt work with this field *I am waitting for their support answer. Therefore I looked in database for the field that I may mass update. I found the information to deal with is in out_of_stock field, in `ps_stock_available` table. But I dont understand well how this table work. The info here seem to act like exceptions for use of products-shops.... Well,.. I just dont understand. I am thinking in having a long work changing hundred of products manually on BO. Link to comment Share on other sites More sharing options...
palermuke Posted February 5, 2014 Author Share Posted February 5, 2014 I changed reorder preferences setting of all the products in store.(one by one)Thanks Patron for the tip. But I have to do it also for any new product is set. (go to this particular shop>product>quantity) As by default, for this shop, the products are set to not to allow out of stock orders. Does any PS wise know where this info is stored in DB or why this shop doesnt behaviour like main one?. Link to comment Share on other sites More sharing options...
Recommended Posts