Fashion casual loose pants
SP9MCWU166D
${function() {
const variantData = data.variant || {"id":"186e70d3-9119-4444-98c2-86907b144524","product_id":"231c3920-712e-47a3-8820-fbe1c7e6117d","title":"K28 black [high quality cotton]-S","weight_unit":"g","inventory_quantity":0,"sku":"68881565-4373-486a-8abc-8699dd10a48a","barcode":"","position":1,"option1":"K28 black [high quality cotton]","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/77abf8bb4262be4f5a11149a4722e69c.jpeg","path":"77abf8bb4262be4f5a11149a4722e69c.jpeg","width":800,"height":800,"alt":"Fashion casual loose pants Techwear Shop","aspect_ratio":1},"wholesale_price":[{"price":29.85,"min_quantity":1}],"weight":"410","compare_at_price":"0","price":"29.85","retail_price":"0","available":true,"url":"\/products\/fashion-casual-loose-pants_0v3y?variant=186e70d3-9119-4444-98c2-86907b144524","available_quantity":999999999,"options":[{"name":"Color","value":"K28 black [high quality cotton]"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":311};
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":"186e70d3-9119-4444-98c2-86907b144524","product_id":"231c3920-712e-47a3-8820-fbe1c7e6117d","title":"K28 black [high quality cotton]-S","weight_unit":"g","inventory_quantity":0,"sku":"68881565-4373-486a-8abc-8699dd10a48a","barcode":"","position":1,"option1":"K28 black [high quality cotton]","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/77abf8bb4262be4f5a11149a4722e69c.jpeg","path":"77abf8bb4262be4f5a11149a4722e69c.jpeg","width":800,"height":800,"alt":"Fashion casual loose pants Techwear Shop","aspect_ratio":1},"wholesale_price":[{"price":29.85,"min_quantity":1}],"weight":"410","compare_at_price":"0","price":"29.85","retail_price":"0","available":true,"url":"\/products\/fashion-casual-loose-pants_0v3y?variant=186e70d3-9119-4444-98c2-86907b144524","available_quantity":999999999,"options":[{"name":"Color","value":"K28 black [high quality cotton]"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":311};
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 `
`;
}()}