Dogs love it and if you have to get your dog to stop eating its poop, give it some pineapple. It does something that will make their dookie repulsive and they will stop. But they usually eat their crap when the food they are eating isn’t meeting their needs. So maybe try different food.
If you have a dog so stupid it’s chokes on a pineapple core, well idk what to say but you should probably consider it a sign.