Getting a ressource ID, from a WC_Order_Item_Product/Order

For existing orders, you need to use the wc_get_order() function.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)