Hi EvaF, thank you for your reply.
I overrode the getProductsDetail function with your code, but the "supplier reference code" column is still empty. I think that the root of the problem is here:
On 7/17/2020 at 10:46 AM, Royal said:I used the var dump, and it turns out all the relevant variables are empty:
["id_supplier"]=> string(1) "0" ["product_supplier_reference"]=> string(0) "" ["supplier_reference"]=> string(0) ""
even though the supplier parameters are set correctly in the product page.
I don't get why product_supplier_reference and supplier_reference are empty. When I open an order, I get the errors "Undefined index" and "Trying to get property 'value' of non-object".