-- --------------------------------------------------------------------- -- Mail templates for wiretransfer -- --------------------------------------------------------------------- -- First, delete existing entries SET @var := 0; SELECT @var := `id` FROM `message` WHERE name="order_confirmation_wiretransfer"; DELETE FROM `message` WHERE `id`=@var; -- Try if ON DELETE constraint isn't set DELETE FROM `message_i18n` WHERE `id`=@var; -- Then add new entries SELECT @max := MAX(`id`) FROM `message`; SET @max := @max+1; -- insert message INSERT INTO `message` (`id`, `name`, `secured`) VALUES (@max, 'order_confirmation_wiretransfer', '0' ); -- and mail templates INSERT INTO `message_i18n` (`id`, `locale`, `title`, `subject`, `text_message`, `html_message`) VALUES (@max, 'en_US', 'Wire transfer confirmation', 'Payment of order {$order_ref}', 'Dear customer,\r\nThis is a confirmation of the payment of your order {$order_ref} via bank transfert on our shop.\r\nYour invoice is now available in your customer account at {config key="url_site"}\r\nThank you again for your purchase.\r\nThe {config key="store_name"} team.', '\r\n\r\n
\r\n \r\n\r\n Your invoice is now available in your customer account on\r\n {config key="store_name"}.\r\n
\r\nThank you for your order !
\r\nThe {config key="store_name"} team.
\r\n\r\n Le suivi de votre commande est disponible dans la rubrique mon compte sur\r\n {config key="url_site"}\r\n
\r\nMerci pour votre achat !
\r\nL''équipe {config key="store_name"}
\r\n