OP One piece-Shirahoshi
${function() {
const variantData = data.variant || {"id":"e02a330c-60cb-4f37-90aa-0c12ca7d55f7","product_id":"74ff98a5-dea2-4f2b-abc8-43ba0e933df1","title":"1","weight_unit":"kg","inventory_quantity":1,"sku":"","barcode":"","position":1,"option1":"1","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c310221ad25a9e81c60751526334f986.jpg","path":"c310221ad25a9e81c60751526334f986.jpg","width":3024,"height":4032,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":5,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"5","retail_price":"0","available":true,"url":"\/products\/op-one-piece-shirahoshi?variant=e02a330c-60cb-4f37-90aa-0c12ca7d55f7","available_quantity":1,"options":[{"name":"Shirohoshi","value":"1"}],"off_ratio":0,"flashsale_info":[],"sales":5};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"e02a330c-60cb-4f37-90aa-0c12ca7d55f7","product_id":"74ff98a5-dea2-4f2b-abc8-43ba0e933df1","title":"1","weight_unit":"kg","inventory_quantity":1,"sku":"","barcode":"","position":1,"option1":"1","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c310221ad25a9e81c60751526334f986.jpg","path":"c310221ad25a9e81c60751526334f986.jpg","width":3024,"height":4032,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":5,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"5","retail_price":"0","available":true,"url":"\/products\/op-one-piece-shirahoshi?variant=e02a330c-60cb-4f37-90aa-0c12ca7d55f7","available_quantity":1,"options":[{"name":"Shirohoshi","value":"1"}],"off_ratio":0,"flashsale_info":[],"sales":5};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}