${function() {
const variantData = data.variant || {"id":"10d1cd07-aff1-4e02-a32d-f5ec59def402","product_id":"f06a9098-a8a6-4c90-890c-4c658605d15c","title":"Red-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHGJaALsh-Red-S","barcode":"","position":6,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bd8acc9c8a5c969273cb5c7ed9a10da4.jpeg","path":"bd8acc9c8a5c969273cb5c7ed9a10da4.jpeg","width":1528,"height":1529,"alt":"","aspect_ratio":0.999345977763244},"wholesale_price":[{"price":34.89,"min_quantity":1}],"weight":"666","compare_at_price":"66","price":"34.89","retail_price":"66","available":true,"url":"\/products\/lucky-star-puff-print-full-zip-hoodie?variant=10d1cd07-aff1-4e02-a32d-f5ec59def402","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":47,"flashsale_info":[],"sales":14};
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 : XHGJaALsh-Red-S
Weight : 666g
${function(){
const variantData = data.variant || {"id":"10d1cd07-aff1-4e02-a32d-f5ec59def402","product_id":"f06a9098-a8a6-4c90-890c-4c658605d15c","title":"Red-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHGJaALsh-Red-S","barcode":"","position":6,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bd8acc9c8a5c969273cb5c7ed9a10da4.jpeg","path":"bd8acc9c8a5c969273cb5c7ed9a10da4.jpeg","width":1528,"height":1529,"alt":"","aspect_ratio":0.999345977763244},"wholesale_price":[{"price":34.89,"min_quantity":1}],"weight":"666","compare_at_price":"66","price":"34.89","retail_price":"66","available":true,"url":"\/products\/lucky-star-puff-print-full-zip-hoodie?variant=10d1cd07-aff1-4e02-a32d-f5ec59def402","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":47,"flashsale_info":[],"sales":14};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}