How can I adjust product price at checkout?

How can I attribute Custom Sales to COGS? Not really inventory but def COGS.