I bought ordered a desk from Amazon that was in "Used - Very Good" condition and was struggling to figure out why the lamp wasn't staying up. A bit of looking around and I realised why it was returned. I'm thinking to ask for compensation and repairing it myself as it's 19kg and I chopped up the box and packing material already. I'm not sure what is the best way to bond the pink ABS cap to the MDF cutout. I'm thinking maybe glue gun, gorilla glue or epoxy. I figure a modding community is the best place to ask.
I wish "the best/most suitable adhesive" was easier to understand. I ordered some sandpaper to rough up the plastic.
Two part epoxy. Light sand of the ABS, thorough degrease with IPA (or Acetone, but be fast or it will melt the ABS!). Gorilla Glue (Polyurethane) will also work, but you will need to clamp the plastic piece in place to stop the expanding glue pushing it out.
I've only ever had good results with JB weld, although it flattens out more than I would have expected, it sets solid and with a real bite. For this application, I expect that any two part epoxy properly applied will be more than strong enough.
JB-weld is fine, not the absolute greatest bond strength or price/volume, but easily available and no fancy prep/storage/handling needed. This.