${function() {
const variantData = data.variant || {"id":"d9573ebd-e2b4-4c3e-a182-0dd83f8058ac","product_id":"d9620897-9b2d-4c3d-a623-9e47d144acb8","title":"green-S","weight_unit":"kg","inventory_quantity":482,"sku":"GCCWT0148-green-S","barcode":"","position":1,"option1":"green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c98bdbcdfb34a749b55e224a60f05398.jpeg","path":"c98bdbcdfb34a749b55e224a60f05398.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":6.99,"min_quantity":1}],"weight":"0.45","compare_at_price":"0","price":"6.99","retail_price":"0","available":true,"url":"\/products\/fashion-casual-solid-color-long-sleeved-round-neck-sweater?variant=d9573ebd-e2b4-4c3e-a182-0dd83f8058ac","available_quantity":999999999,"options":[{"name":"color","value":"green"},{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
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 : GCCWT0148-green-S
Weight : 0.45kg
${function(){
const variantData = data.variant || {"id":"d9573ebd-e2b4-4c3e-a182-0dd83f8058ac","product_id":"d9620897-9b2d-4c3d-a623-9e47d144acb8","title":"green-S","weight_unit":"kg","inventory_quantity":482,"sku":"GCCWT0148-green-S","barcode":"","position":1,"option1":"green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c98bdbcdfb34a749b55e224a60f05398.jpeg","path":"c98bdbcdfb34a749b55e224a60f05398.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":6.99,"min_quantity":1}],"weight":"0.45","compare_at_price":"0","price":"6.99","retail_price":"0","available":true,"url":"\/products\/fashion-casual-solid-color-long-sleeved-round-neck-sweater?variant=d9573ebd-e2b4-4c3e-a182-0dd83f8058ac","available_quantity":999999999,"options":[{"name":"color","value":"green"},{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}