Isis cake
Walmart was forced to apologise after it made an Isis cake for a man who was refused a Confederate flag cake. Chuck Netzhammer/YouTube

A Walmart in Louisiana was forced to apologise after its bakery made a cake decorated with the flag of Isis was made for a man who had initially requested a Confederate flag cake.

According to ABC News, Chuck Netzhammer ordered the cake with the image of the Confederate flag and the words "Heritage Not Hate" on 25 June from a Wal-Mart in Slidell, Louisiana. However, Netzhammer's request was denied by the store's bakery.

The man later ordered a cake with the image of the flag synonymous with the terrorist group Isis. This time he request was granted. "I went back yesterday and managed to get an Isis battle flag printed. Isis happens to be somebody who we're fighting against right now who are killing our men and boys overseas and are beheading Christians," Netzhammer said.

In a video posted to YouTube, where he showed the sheetcake, Netzhammer said, "That's an Isis battle flag cake that anybody can go buy at Walmart. But you can't buy a Confederate flag toy, with like, say, a 'Dukes of Hazzards' car."

Walmart later issued an apology for the incident, ABC News reported. "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 apologise."

Following the shooting death of nine African American churchgoers in Charleston, South Carolina on 17 June, several companies have announced they were banning the sale of merchandise with the Confederate flag. The alleged gunman, identified as 21-year-old Dylann Roof, was seen in pictures posted on his website wearing the controversial flag.

Walmart, along with Amazon, Etsy and eBay, announced it was banning Confederate flags last week. "We never want to offend anyone with the products that we offer," Walmart said in a statement. "We have taken steps to remove all items promoting the Confederate flag from our assortment—whether in our stores or on our website."