issue happens when saving attribute quantity_and_stock_status

Created by Katie Bui, Modified on Tue, 11 Sep, 2018 at 4:20 PM by Katie Bui

Question:

I have an attribute that is a core Attribute for Magento 2 that is not sorting on the front end SORT BY:

The attribute is Quantity and Stock Status….. I import to it by using ( qty) in import field header.

It seems that it is not configured properly. I am not sure if it was changed when importing and exporting the attribute. 

Magento version: 2.1.7


Answer:

This is not a module's bug. The issue happens in Magento 2.1.7 when saving attribute quantity_and_stock_status.

Since the attribute gets the data from the source model, the issue happens when saving attribute without checking enough conditions.

If you have this issue, please override controller validate of core Magento to fix



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article