Ripped Strap Jeans
${function() {
const variantData = data.variant || {"id":"182d87d3-e479-4993-bb5d-fe648afd1fec","product_id":"67618613-1a37-4371-b70b-88eadcfa15e7","title":"black-S","weight_unit":"g","inventory_quantity":999,"sku":"c36a97f5-164f-4e9f-a311-0b99636c2720","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/413b257982f7ee1ce795a5037d5bd297.jpeg","path":"413b257982f7ee1ce795a5037d5bd297.jpeg","width":629,"height":911,"alt":"Ripped Strap Jeans Techwear Shop","aspect_ratio":0.6904500548847421},"wholesale_price":[{"price":69.95,"min_quantity":1}],"weight":"0","compare_at_price":"86.95","price":"69.95","retail_price":"86.95","available":true,"url":"\/products\/ripped-strap-jeans-om0l?variant=182d87d3-e479-4993-bb5d-fe648afd1fec","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":20,"flashsale_info":[],"sales":3};
const saveType = "percentage";
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":"182d87d3-e479-4993-bb5d-fe648afd1fec","product_id":"67618613-1a37-4371-b70b-88eadcfa15e7","title":"black-S","weight_unit":"g","inventory_quantity":999,"sku":"c36a97f5-164f-4e9f-a311-0b99636c2720","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/413b257982f7ee1ce795a5037d5bd297.jpeg","path":"413b257982f7ee1ce795a5037d5bd297.jpeg","width":629,"height":911,"alt":"Ripped Strap Jeans Techwear Shop","aspect_ratio":0.6904500548847421},"wholesale_price":[{"price":69.95,"min_quantity":1}],"weight":"0","compare_at_price":"86.95","price":"69.95","retail_price":"86.95","available":true,"url":"\/products\/ripped-strap-jeans-om0l?variant=182d87d3-e479-4993-bb5d-fe648afd1fec","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":20,"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 `
`;
}()}