Stylish Solid Color Multi-Pocket Pants
${function() {
const variantData = data.variant || {"id":"a0929ae1-23bc-460f-9dc3-43714628ec95","product_id":"891502c8-a7a5-4940-8f84-cab22c60236a","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XH234NPGN-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/590d596d5715bf71f6ba598a265afd57.jpeg","path":"590d596d5715bf71f6ba598a265afd57.jpeg","width":1199,"height":1199,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.89,"min_quantity":1}],"weight":"0","compare_at_price":"49","price":"39.89","retail_price":"49","available":true,"url":"\/products\/stylish-solid-color-multi-pocket-pants?variant=a0929ae1-23bc-460f-9dc3-43714628ec95","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":19,"flashsale_info":[],"sales":18};
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":"a0929ae1-23bc-460f-9dc3-43714628ec95","product_id":"891502c8-a7a5-4940-8f84-cab22c60236a","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XH234NPGN-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/590d596d5715bf71f6ba598a265afd57.jpeg","path":"590d596d5715bf71f6ba598a265afd57.jpeg","width":1199,"height":1199,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.89,"min_quantity":1}],"weight":"0","compare_at_price":"49","price":"39.89","retail_price":"49","available":true,"url":"\/products\/stylish-solid-color-multi-pocket-pants?variant=a0929ae1-23bc-460f-9dc3-43714628ec95","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":19,"flashsale_info":[],"sales":18};
return `
Sku : ${variantData && variantData.sku}
`
}()}
people are viewing this right now
${function() {
const postageFreeAmount = 89;
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 `
`;
}()}