I'm not sure how you are missing it, but hardware and software both etymologically have ware (as in a manufactured article, product, or merchandise) built-in to them. Without ware, there would be no hardware or software, or warez. The root of these words, also silverware, cookware, courseware, Tupperware, Corningware, etc., indeed is "ware." And wares is merely the plural of ware.