${function() {
const variantData = data.variant || {"id":"362484b1-da51-4d39-8121-d02aa7992eed","product_id":"07efa172-f5b2-4cc5-8f46-0347c8038074","title":"Yellow-S","weight_unit":"g","inventory_quantity":999,"sku":"XH8o9bMa6-Yellow-S","barcode":"","position":1,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/06918f300fe006ff28d6a1e0c4102451.jpeg","path":"06918f300fe006ff28d6a1e0c4102451.jpeg","width":843,"height":843,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.89,"min_quantity":1}],"weight":"400","compare_at_price":"43","price":"29.89","retail_price":"43","available":true,"url":"\/products\/retro-style-street-style-skull-print-hoodie?variant=362484b1-da51-4d39-8121-d02aa7992eed","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":1};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = false;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
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 : XH8o9bMa6-Yellow-S
Weight : 400g
${function(){
const variantData = data.variant || {"id":"362484b1-da51-4d39-8121-d02aa7992eed","product_id":"07efa172-f5b2-4cc5-8f46-0347c8038074","title":"Yellow-S","weight_unit":"g","inventory_quantity":999,"sku":"XH8o9bMa6-Yellow-S","barcode":"","position":1,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/06918f300fe006ff28d6a1e0c4102451.jpeg","path":"06918f300fe006ff28d6a1e0c4102451.jpeg","width":843,"height":843,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.89,"min_quantity":1}],"weight":"400","compare_at_price":"43","price":"29.89","retail_price":"43","available":true,"url":"\/products\/retro-style-street-style-skull-print-hoodie?variant=362484b1-da51-4d39-8121-d02aa7992eed","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}