Now, John specifically said "commandments" NOT laws. Then we have Jesus words.
Matthew 22:37 Jesus said unto him, Thou shalt love the Lord thy God with all thy heart, and with all thy soul, and with all thy mind. 38 This is the first and great commandment. 39 And the second is like unto it, Thou shalt love thy neighbour as thyself. 39 On these two commandments hang all the law and the prophets.
Now, He didn't say "hang all the laws". It's the ten commandments they are talking about NOT the laws in the Torah. Jesus said "love thy neighbour as theyself", John mentioned "The one who loves his brother". Again, they were talking about the ten commandments. Those who try to read something else into them are attempting to put us back under the old law and have separated themselves from Christ. Attempting to twist the words and make the Torah laws into the 10 commandments is the work of the enemy.
Keep on reading, the new commandment of verse 8 is shown to be contained in the original commandments; that is just John’s style of explanation, and why Peter didn’t accuse him as he did Paul, of writing things “hard to be understood.”
The terms Law an Commandments are essentially interchangeable in the NT, as all of the commandments of the NT are demands of obedience to the “first things.” (Torah)
Your attempt to differentiate Law and Commandments has to be facetious.
Finally, the only things “hung on the cross” were the Takanot and Ma’asim issued by the Pharisees, which were all contrary to Torah, and not to be born by his sheep. “All the Law and the prophets” encompasses all of what he called “Scripture.”
The entirety of Torah is love. To James, his brother, it was “the perfect law of liberty.” To John, his best friend, it contained nothing “egregious,” to Solomon it was “the total of man.”
To you, it “appears” to be the river undermining the sandy foundation of your contra-biblical theology presented here.
.