Materials that have hysteretic response to an external field are essential in modern information storage and processing technologies. A myriad of magnetization curves of several natural and artificial materials have previously been measured and each has found a particular mechanism that accounts for it. However, a phenomenological model that captures all the hysteresis loops and at the same time provides a simple way to design the magnetic response of a material while remaining minimal is missing. Here, we propose and experimentally demonstrate an elementary method to engineer hysteresis loops in metamaterials built out of dipolar chains. We show that by tuning the interactions of the system and its geometry we can shape the hysteresis loop which allows for the design of the softness of a magnetic material at will. Additionally, this mechanism allows for the control of the number of loops aimed to realize multiple-valued logic technologies. Our findings pave the way for the rational design of hysteretical responses in a variety of physical systems such as dipolar cold atoms, ferroelectrics, or artificial magnetic lattices, among others.