SLIDELL, La. (MEDIA GENERAL) – Wal-Mart has apologized after a man from Louisiana posted a video to YouTube explaining how a local store refused to make a cake with a Confederate flag design but baked a cake featuring the ISIS battle flag.

Chuck Netzhammer said he tried to order a cake featuring the image of the Confederate battle flag adorned with the words “Heritage Not Hate” on Thursday, June 25, 2015. The bakery denied his request, as the store, along with several retailers over the past week have announced they are banning sales of Confederate flag merchandise in the wake of the Charleston church shooting on June 17.

Later in the week, Netzhammer ordered a cake with an image of the ISIS battle flag, which the store made.

In the YouTube video, Netzhammer shows the ISIS cake as well as the rejected form of the Confederate flag cake that appears to have been marked with the words “cannot do cake.”

A spokesman for Wal-Mart told ABC News: “An associate in a local store did not know what the design meant and made a mistake. The cake should not have been made and we apologize.”

Netzhammer’s cake controversy is the latest chapter in a sparked discussion surrounding the Confederate flag. Many in the south claim the flag is a symbol for southern heritage and those who fought bravely in the Civil War. The flag’s critics say the emblem is a symbol for hatred and bigotry because one of the main motivations for the south’s secession was to keep slavery legal. After the Civil War, the Confederate battle flag emblem was adopted by several white supremacist groups, including the Ku Klux Klan.