French-style Hairpin
${function() {
const variantData = data.variant || {"id":"ba5dadbc-f2a8-4f71-865f-f86306cfa3af","product_id":"db9dd256-326c-4474-b0af-ff91dac9005d","title":"01","weight_unit":"kg","inventory_quantity":1000,"sku":"FH-01","barcode":"","position":1,"option1":"01","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/200efaab0f376428a79def2b19ba8b96.jpeg","path":"200efaab0f376428a79def2b19ba8b96.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0","compare_at_price":"55.99","price":"23.99","retail_price":"55.99","available":true,"url":"\/products\/pearl-tassel-double-chain-hair-fork-hairpin-retro-hair-accessories-chinese-han-clothes-headdress-two-hair-sticks-hairpin?variant=ba5dadbc-f2a8-4f71-865f-f86306cfa3af","available_quantity":999999999,"options":[{"name":"Metal color","value":"01"}],"off_ratio":57,"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}
`
}()}
Product was out of stock.
Product is unavailable.