How to apply statuses only to products with specific quantity?
The module works with the Magento product attributes as a basis for forming the product collection that receives a custom stock status. In Magento, quantity is a system attribute that cannot be used in rules' conditions. Due to this, setting a status only to products that have specific quantities is not possible.
Though, the module has a feature of setting qty-based stock statuses. With a corresponding configuration, a product will have the default status and different statuses for each range. The default status is used when real quantity doesn't fall under any range. Ranges are set as a "from...to..." quantity and could be combined with the conditions (to form a separate group of products that it will apply to) or be set to all products in the store. This way, the statuses can be applied to products that have X items in stock.
To add ranges for stock statuses, navigate to Catalog → Products → Amasty Custom Stock Status → Manage Stock Status Rules. Then choose or create a rule and enable the Activate Qty Based Ranges option and set ranges.
Related Articles
Is it possible to assign different statuses for child products of a configurable/bundle/grouped product?
The extension allows setting different statuses to products based on their attributes (like color, size, SKU, stock availability, etc) and dynamically change the status depending on the available quantity of the product. The feature is available for ...
In my instance, all options for Custom Stock Status attribute are greyed out and I’m not able to edit them or add new ones
The issue arises due to the reset entity in the DB that happens during module update/installation. In order to fix it, you need to modify the value of the is_user_defined entity in the DB.
This could be done with the following command:
UPDATE ...
Can I output products based on the source or stock in the feed?
In order to include the available quantity of products from a specific source in your feed, kindly navigate to Amasty > Product Feed > Profiles > Feed and select the needed attribute (the name of the existing source) from the MSI Sources Qty group: ...
Is it possible to hide the out of stock subscription block for specific products?
Yes, there's an option to hide the stock alert block for particular products. To achieve that, follow the steps below. Step 1. Navigate to Catalog → Products. Step 2. Pick the product you wish to hide the Stock Alert block for and open its ...
Can I create a discount that will/won't be applied to certain products?
This article contains instructions on how you can limit discount application to specific products. This approach is universal, and can be used not only in promotions from Amasty modules, but also in default cart prices rules. If you can't find the ...