Urban Multicolor Harem Overalls
${function() {
const variantData = data.variant || {"id":"ba6b4714-2a53-413d-8ecc-2afeb85cae77","product_id":"d344d4bd-01ee-4e72-9672-63079ca8b7e6","title":"style 2-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"66220809480-FZDYSstyle 2-2XL","barcode":"","position":9,"option1":"style 2","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b650a50a2438d03e57c9087a6e6732cf.jpeg","path":"b650a50a2438d03e57c9087a6e6732cf.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":36.88,"min_quantity":1}],"weight":"0","compare_at_price":"46.67","price":"36.88","retail_price":"46.67","available":true,"url":"\/products\/urban-multicolor-harem-overalls?variant=ba6b4714-2a53-413d-8ecc-2afeb85cae77","available_quantity":999999999,"options":[{"name":"color","value":"style 2"},{"name":"size","value":"2XL"}],"off_ratio":21,"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}
`
}()}
${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":"ba6b4714-2a53-413d-8ecc-2afeb85cae77","product_id":"d344d4bd-01ee-4e72-9672-63079ca8b7e6","title":"style 2-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"66220809480-FZDYSstyle 2-2XL","barcode":"","position":9,"option1":"style 2","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b650a50a2438d03e57c9087a6e6732cf.jpeg","path":"b650a50a2438d03e57c9087a6e6732cf.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":36.88,"min_quantity":1}],"weight":"0","compare_at_price":"46.67","price":"36.88","retail_price":"46.67","available":true,"url":"\/products\/urban-multicolor-harem-overalls?variant=ba6b4714-2a53-413d-8ecc-2afeb85cae77","available_quantity":999999999,"options":[{"name":"color","value":"style 2"},{"name":"size","value":"2XL"}],"off_ratio":21,"flashsale_info":[],"sales":0};
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 `
`;
}()}