I think your line is fine here, although him potting the flop and shoving after your raise is pretty strong. I think at that point you are kind of in a spot like,
"okay so his cbetting range is weak a fairly high amount of the time so I should have fold equity here, plus I have a mediocre draw that could give me the nuts or at least a strong hand on the turn or river if he calls, and if he shoves then I am pretty much committed but behind and forced to call"
If you think about it, he will fold a lot of the lower end of his range to your raise, he will call with some of his strong and mediocre range, and he shove some of strong draws and strong hands. It ends up that you get the worst result and he shoves but I still think you have to call because you probably have enough equity against his shoving range that raise/folding would be worse than raise/calling.
Nh, obv. you ran into some top part of his range, maybe AAxx with the nfd or KK or KQJT or w/e. Good hand anyway, PLO is a swingy game and hopefully you will run into a weaker part of his range next time!