M
M
Mikhail Smirnov2016-09-12 11:25:26
1C-Bitrix
Mikhail Smirnov, 2016-09-12 11:25:26

How to not display products that are out of stock for a specific group of customers?

Hello!
How do I set up the display of products that are out of stock?
There are two groups of users, some can order products that are out of stock, others should not see these products at all.
the following settings are set in the catalog module settings:
Allow purchase when there are no goods (including allowing a negative quantity of goods) - YES
, there is a parameter in the component call:
HIDE_NOT_AVAILABLE - [Y|N] If this option is checked, goods for which the total quantity in warehouses is less than or equal to zero, quantitative accounting is enabled and purchase is not allowed in the absence of goods.
I made the value of this parameter depending on the group, that is, one N to another Y, but products with a quantity of 0 are displayed for everyone.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Ukolov, 2016-09-12
@fortoster83

Allow purchase when item out of stock (including allowing negative item quantity) - YES

HIDE_NOT_AVAILABLE - [Y|N] If this option is checked, goods for which the total quantity in warehouses is less than or equal to zero will be hidden, quantity accounting will be enabled, and purchase in the absence of goods will not be allowed .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question