Project - S Black Harem Street Style Loose Jogger Pants
SP2333L7W2B
${function() {
const variantData = data.variant || {"id":"d3770cb7-dd91-47c7-b0a2-db1d86559f5c","product_id":"9664ca88-160a-4d55-9b47-09fd49f232d5","title":"black-S","weight_unit":"g","inventory_quantity":0,"sku":"a841cd60-8321-4046-b948-236113fa4af1","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/98863bf7e17e5fa7fed71eac25c30b8a.jpeg","path":"98863bf7e17e5fa7fed71eac25c30b8a.jpeg","width":800,"height":800,"alt":"Project - S Black Harem Street Style Loose Jogger Pants Techwear Shop","aspect_ratio":1},"wholesale_price":[{"price":20.1,"min_quantity":1}],"weight":"200","compare_at_price":"38","price":"20.1","retail_price":"38","available":true,"url":"\/products\/project-s-black-harem-street-style-loose-jogger-pants_zqau?variant=d3770cb7-dd91-47c7-b0a2-db1d86559f5c","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":47,"flashsale_info":[],"sales":63};
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":"d3770cb7-dd91-47c7-b0a2-db1d86559f5c","product_id":"9664ca88-160a-4d55-9b47-09fd49f232d5","title":"black-S","weight_unit":"g","inventory_quantity":0,"sku":"a841cd60-8321-4046-b948-236113fa4af1","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/98863bf7e17e5fa7fed71eac25c30b8a.jpeg","path":"98863bf7e17e5fa7fed71eac25c30b8a.jpeg","width":800,"height":800,"alt":"Project - S Black Harem Street Style Loose Jogger Pants Techwear Shop","aspect_ratio":1},"wholesale_price":[{"price":20.1,"min_quantity":1}],"weight":"200","compare_at_price":"38","price":"20.1","retail_price":"38","available":true,"url":"\/products\/project-s-black-harem-street-style-loose-jogger-pants_zqau?variant=d3770cb7-dd91-47c7-b0a2-db1d86559f5c","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":47,"flashsale_info":[],"sales":63};
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 `
`;
}()}