In a grouped product, associated simple products default quantity not saving. The values are saved in database in catalog_product_link_attribute_decimal table, but not showing in admin (blank input on product save) or frontend.

  • Which magento version you used? Have you check concole or magento log file? Is there any error? – Dhiren Vasoya Nov 22 '18 at 13:54
  • Magento version There's no errors in system or exception.log – Marius Boia Nov 22 '18 at 14:01
  • If you install any custom extension, please disable that and then check. – Dhiren Vasoya Nov 22 '18 at 14:23

I found the problem. The shop owner created a product attribute with 'qty' attribute_code.

getQty() method was calling that attribute value instead of default magento qty.

After deleting that attribute the default qty values for simple products were saved in admin and appear on frontend

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.