i'll keep this short and simple; I need help with using command blocks to achieve custom trades. Two ideas I'm working with at the moment are as follows:
First, simply summoning Villagers with custom trade tables. I have found nothing but java edition info on this and would like to know if anything beyond summoning a random villager is even possible in Bedrock. If so, how the eff do you do it?
Second, possibly using a chest with testfor to check if the required components exist, then replace with the "bought" result.
Again, everything I've found on either solution was for java edition. This thread is for Bedrock Edition so please refrain from trying to answer this question by using java logic. It would just make everyone angry.