Magento

“Tier prices data should be array, but actually other type is received ” Magento Error

Tier prices data should be array, but actually other type is received

Steps to reproduce (*)

  1. catalog>product>select the product
  2. trying to change the quantity but facing error Tier prices data should be array, but actually other type is received

Expected result (*)

  1. Quantity should be updated when i click save button from the backend

Actual result (*)

  1. not able to save as it shows error “Tier prices data should be array, but actually other type is received”

Tier prices data should be array, but actually other type is received

 

Solution (*)

To check tier_price attribute_id from “eav_attribute” table, search
"SELECT * FROM eav_attribute WHERE attribute_code="tier_price"
Which is 92.

And then search entry for 91 attribute_id value from catalog_product_entity_decimal

SELECT * FROM catalog_product_entity_decimal WHERE attribute_id=92

And then delete the entry from the table.

Leave a Reply