Stylish casual flag print shorts
${function() {
const variantData = data.variant || {"id":"e39099e6-8cf7-4153-b656-e3b949ce452e","product_id":"f9d13f16-e313-4c6b-a539-38c9c4cdaaf7","title":"White-S","weight_unit":"g","inventory_quantity":999,"sku":"XHsRyjILo-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/921913738cc5a572fb37c2ab2ee5000b.jpeg","path":"921913738cc5a572fb37c2ab2ee5000b.jpeg","width":433,"height":433,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.89,"min_quantity":1}],"weight":"200","compare_at_price":"34","price":"22.89","retail_price":"34","available":true,"url":"\/products\/stylish-casual-flag-print-shorts?variant=e39099e6-8cf7-4153-b656-e3b949ce452e","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":33,"flashsale_info":[],"sales":0};
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}
`
}()}
${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":"e39099e6-8cf7-4153-b656-e3b949ce452e","product_id":"f9d13f16-e313-4c6b-a539-38c9c4cdaaf7","title":"White-S","weight_unit":"g","inventory_quantity":999,"sku":"XHsRyjILo-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/921913738cc5a572fb37c2ab2ee5000b.jpeg","path":"921913738cc5a572fb37c2ab2ee5000b.jpeg","width":433,"height":433,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.89,"min_quantity":1}],"weight":"200","compare_at_price":"34","price":"22.89","retail_price":"34","available":true,"url":"\/products\/stylish-casual-flag-print-shorts?variant=e39099e6-8cf7-4153-b656-e3b949ce452e","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":33,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
`
}()}