Vintage Casual V Neck Solid Dresses
${function() {
const variantData = data.variant || {"id":"36edb942-437b-4cbe-89f6-e22e6748657b","product_id":"0dd30bd7-16f3-4f72-b3f8-90b187123ace","title":"Gray-S","weight_unit":"kg","inventory_quantity":999,"sku":"Lin21011311-gray-s","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ea97a3523cd5b2b26d9b88d92995f4fb.jpeg","path":"ea97a3523cd5b2b26d9b88d92995f4fb.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":29.65,"min_quantity":1}],"weight":"0.2","compare_at_price":"35.99","price":"29.65","retail_price":"35.99","available":true,"url":"\/products\/vintage-casual-v-neck-solid-dresses?variant=36edb942-437b-4cbe-89f6-e22e6748657b","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":18,"flashsale_info":[],"sales":3};
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":"36edb942-437b-4cbe-89f6-e22e6748657b","product_id":"0dd30bd7-16f3-4f72-b3f8-90b187123ace","title":"Gray-S","weight_unit":"kg","inventory_quantity":999,"sku":"Lin21011311-gray-s","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ea97a3523cd5b2b26d9b88d92995f4fb.jpeg","path":"ea97a3523cd5b2b26d9b88d92995f4fb.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":29.65,"min_quantity":1}],"weight":"0.2","compare_at_price":"35.99","price":"29.65","retail_price":"35.99","available":true,"url":"\/products\/vintage-casual-v-neck-solid-dresses?variant=36edb942-437b-4cbe-89f6-e22e6748657b","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":18,"flashsale_info":[],"sales":3};
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 `
`;
}()}