FunctionalSocks
${function() {
const variantData = data.variant || {"id":"d57d12ae-874c-4c19-aea5-fe481fe1a63f","product_id":"6b73a21e-850f-4957-8bbd-3124884ef9d8","title":"S\/M","weight_unit":"kg","inventory_quantity":1000,"sku":"YK24010000028-0","barcode":"","position":1,"option1":"S\/M","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"39.99","price":"26.99","retail_price":"39.99","available":true,"url":"\/products\/functional-socks?variant=d57d12ae-874c-4c19-aea5-fe481fe1a63f","available_quantity":999999999,"options":[{"name":"Sizes","value":"S\/M"}],"off_ratio":33,"flashsale_info":[],"sales":5471};
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.