Let me elaborate on some details about how you can get the real cost of goods for your products. I'm here to guide you on how.
If you're referring to the shipping fee that you want to charge to your customer, you can create a service item on your product and services page. To do so, you can follow the steps below:
Go to the Gear icon, and select the Product and service page.
Select New.
Select Service.
Enter a Name for the service.
Enter the necessary information such as the Category, Sales price/rate, and income account.
Click Save and close.
Once done, you can use this service item when you make an invoice for your customer.
However, if you're allocating the shipping cost to a specific product, this isn't possible at this time. You'll want to search for a third-party application online that you can use to integrate with your QuickBooks Online (QBO) account.