Fire Goddess Print Vintage Short Sleeve T-Shirt
${function() {
const variantData = data.variant || {"id":"48b68057-191b-4ca6-9887-d1ae1dc156b4","product_id":"01ad9bb1-b633-48e5-96e7-0315d1919a47","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XH1bd8mGH-Black-S","barcode":"","position":6,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c44e34829e7b7dcf3f21aa7151acbad1.jpeg","path":"c44e34829e7b7dcf3f21aa7151acbad1.jpeg","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.89,"min_quantity":1}],"weight":"200","compare_at_price":"26","price":"19.89","retail_price":"26","available":true,"url":"\/products\/fire-goddess-print-vintage-short-sleeve-t-shirt?variant=48b68057-191b-4ca6-9887-d1ae1dc156b4","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":24,"flashsale_info":[],"sales":2};
const saveType = "percentage";
const productLabelDiscountOn = false;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
Sku : XH1bd8mGH-Black-S
Weight : 200g
${function(){
const variantData = data.variant || {"id":"48b68057-191b-4ca6-9887-d1ae1dc156b4","product_id":"01ad9bb1-b633-48e5-96e7-0315d1919a47","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XH1bd8mGH-Black-S","barcode":"","position":6,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c44e34829e7b7dcf3f21aa7151acbad1.jpeg","path":"c44e34829e7b7dcf3f21aa7151acbad1.jpeg","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.89,"min_quantity":1}],"weight":"200","compare_at_price":"26","price":"19.89","retail_price":"26","available":true,"url":"\/products\/fire-goddess-print-vintage-short-sleeve-t-shirt?variant=48b68057-191b-4ca6-9887-d1ae1dc156b4","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":24,"flashsale_info":[],"sales":2};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}
${function() {
const postageFreeAmount = 79;
const custom_text = "Buy {amount} more to enjoy FREE Shipping";
const totalPrice = +data.total_price;
const diffPrice = postageFreeAmount - totalPrice;
const percentDiff = (diffPrice > 0 ? (totalPrice / postageFreeAmount * 100) : 100) + '%';
let tipText = "Your order is free delivery";
if (diffPrice > 0) {
tipText = custom_text.replace('{amount}', `
`);
}
return `
`;
}()}