Turtleneck Knitted Two Pieces Pants Suits
${function() {
const variantData = data.variant || {"id":"e8b06658-753e-456c-828c-0bc5cfb23ea3","product_id":"f17f8069-2d35-4778-bd44-bd81c3904333","title":"Black-L","weight_unit":"lb","inventory_quantity":99999821,"sku":"20102122-black-l","barcode":"","position":7,"option1":"Black","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7475ab6c09abcdc000385f3754965234.jpeg","path":"7475ab6c09abcdc000385f3754965234.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":46.66,"min_quantity":1}],"weight":"0","compare_at_price":"56.9","price":"46.66","retail_price":"56.9","available":true,"url":"\/products\/turtleneck-knitted-two-pieces-pants-suits?variant=e8b06658-753e-456c-828c-0bc5cfb23ea3","available_quantity":99999821,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"L"}],"off_ratio":18,"flashsale_info":[],"sales":1};
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":"e8b06658-753e-456c-828c-0bc5cfb23ea3","product_id":"f17f8069-2d35-4778-bd44-bd81c3904333","title":"Black-L","weight_unit":"lb","inventory_quantity":99999821,"sku":"20102122-black-l","barcode":"","position":7,"option1":"Black","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7475ab6c09abcdc000385f3754965234.jpeg","path":"7475ab6c09abcdc000385f3754965234.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":46.66,"min_quantity":1}],"weight":"0","compare_at_price":"56.9","price":"46.66","retail_price":"56.9","available":true,"url":"\/products\/turtleneck-knitted-two-pieces-pants-suits?variant=e8b06658-753e-456c-828c-0bc5cfb23ea3","available_quantity":99999821,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"L"}],"off_ratio":18,"flashsale_info":[],"sales":1};
return `
`
}()}
${function() {
const postageFreeAmount = 69;
const custom_text = "Buy {amount} more to enjoy FREE Shipping";
const totalPrice = +data.total_price;
const diffPrice = postageFreeAmount - totalPrice;
const percentDiff = (diffPrice > 0 ? (totalPrice / postageFreeAmount * 100) : 100) + '%';
let tipText = "Your order is free delivery";
if (diffPrice > 0) {
tipText = custom_text.replace('{amount}', `
`);
}
return `
`;
}()}