${function() {
if (data === undefined || typeof data !== 'string' || data == '') return '';
const searchEmpty = ("Your search for \"{test}\" did not yield any results.").replace('{test}', data);
return `
The company will manage any personal information entered in the site by users as outlined in the Privacy Policy. For further information regarding such policies please view the site's Privacy Policy.
${
data == 1
? ("1 product was added to your cart!")
: ("{count} products were added to your cart!").replace('{count}', data)
}
${function() {
const freeShippingAmount = 0;
const totalPrice = data.data.total_price;
const diffAmount = freeShippingAmount - totalPrice;
const freeShippingText = diffAmount > 0
? "Spend {amount} more and get free shipping!"
: "Your order is free delivery";
return `