Product availability preferences
open

By Mariusz Mielnik, 5 years ago

Hi,

Is there a way to change behavior when product out of stock. I found variable allowOrderOutOfStock but is not editable. 

Availability preferences

Behavior when out of stock

 Deny orders

 Allow orders

 Use default behavior (Deny orders)

By Mariusz Mielnik, 5 years ago

Hi,

any ideas?

By Petr Hucik, 5 years ago

Hi,

I don't understand what do you mean - change behaviour when product out of stock. Could you please explain what you are trying to achieve?

By Mariusz Mielnik, 5 years ago

Product can be allowed to order when is out of stock or deny order. I need to change this settings by supplier or manufacturer.

By Mariusz Mielnik, 5 years ago

should i explain more?

By Petr Hucik, 5 years ago

I understand now. No, it's not possible to edit this using datakick. allowOrderOutOfStock product variable is a not editable, because it is actually a calculated expression using multiple input values.

To make this editable, I would have to expose underlying data first.

Is this something you urgently need?

By Mariusz Mielnik, 5 years ago

I currently have my own module, but in the new version of the store (prestashop 1.7) I prefer to use mainly datakick. I plan to update it next week.