Retro Fashion Print Round Neck Short Sleeve Slit Dress
${function() {
const variantData = data.variant || {"id":"a1cd5a5d-ab12-4bcd-a07d-2201133e67a2","product_id":"826603c2-2d67-4e26-9417-1944b7f0255f","title":"Red-S","weight_unit":"kg","inventory_quantity":1000,"sku":"450173qmwyqz-Red-S","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/29adde46da3b0af12c9f0ad27f8b86ae.jpeg","path":"29adde46da3b0af12c9f0ad27f8b86ae.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":36.99,"min_quantity":1}],"weight":"0.5","compare_at_price":"0","price":"36.99","retail_price":"0","available":true,"url":"\/products\/retro-fashion-print-round-neck-short-sleeve-slit-dress?variant=a1cd5a5d-ab12-4bcd-a07d-2201133e67a2","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":4};
const saveType = "percentage";
const productLabelDiscountOn = true;
const map = {
B: ``,
C: ``,
A: `
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`
}
const price_group_arr = ["B","C","A"];
const price_str_arr = price_group_arr.map(type => map[type]);
return `
-
${price_str_arr.join('')}
`;
}()}
${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 does not exist
${function(){
const variantData = data.variant || {"id":"a1cd5a5d-ab12-4bcd-a07d-2201133e67a2","product_id":"826603c2-2d67-4e26-9417-1944b7f0255f","title":"Red-S","weight_unit":"kg","inventory_quantity":1000,"sku":"450173qmwyqz-Red-S","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/29adde46da3b0af12c9f0ad27f8b86ae.jpeg","path":"29adde46da3b0af12c9f0ad27f8b86ae.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":36.99,"min_quantity":1}],"weight":"0.5","compare_at_price":"0","price":"36.99","retail_price":"0","available":true,"url":"\/products\/retro-fashion-print-round-neck-short-sleeve-slit-dress?variant=a1cd5a5d-ab12-4bcd-a07d-2201133e67a2","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":4};
return `
SKU : ${variantData && variantData.sku}
Barcode : ${variantData && variantData.barcode}
`
}()}