I always bring home bottles or olive oil and glass jars of things like jam and various spreads...
I've never purchased a special device for these, just do as others wrote, above--wrap in clothing.
When I pack at home, I put layers of bubble wrap in the bottom of my check-in bag. I also travel with a roll of strong tape and a pair of scissors. (scissors only in checked bags and never on trains).
I once brought home ten bottles of wine this way, from France.
If I've bought a lot of food items, I sometimes ship these from my last stop. I'v done this a couple of times recently, from Sicily....hotel found a carton for me and we packed up the oils, pistachio spreads, dried pastas, etc. Hotel called DHL and arranged shipping. It was worth it not to have to drag it all home. From Madrid the bellman actually came to my room to help me pack the carton and tape it up for shipping..they also used DHL.
I always received these cartons within a few days of shipment date...so far, no breakages. Never had to pay any import fees.