Welcome (to) Yerlin, I recommend you not to use images and place the code, this for better understanding and ease of help, since you would have to transcribe the code.
In principle, the ajax seems correct. I suggest you start using witnesses. I explain. Open the browser inspector (I suggest chrome) and go to the network tab. To load coolers, put a line that makes you a var_dump ($ _ POST). In the inspector, you will see if the id value is coming or not. If it arrives, put an echo of the query and a var_dump of the result. Everything that happens, you will see in the inspector. It has helped me many times. I hope it serves you.