Letter Splicing Color Print Flared Trousers
${function() {
const variantData = data.variant || {"id":"a450d5a2-4105-407c-b33d-937edb76b59a","product_id":"f579e532-64ad-47fd-90b2-057c8ef53509","title":"Orange-S","weight_unit":"g","inventory_quantity":999,"sku":"XHXV3TUC3-Orange-S","barcode":"","position":1,"option1":"Orange","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a02af3322182d466d8fce23ba29872ad.jpeg","path":"a02af3322182d466d8fce23ba29872ad.jpeg","width":1012,"height":1012,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.89,"min_quantity":1}],"weight":"300","compare_at_price":"39","price":"29.89","retail_price":"39","available":true,"url":"\/products\/letter-splicing-color-print-flared-trousers?variant=a450d5a2-4105-407c-b33d-937edb76b59a","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"},{"name":"Size","value":"S"}],"off_ratio":23,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = false;
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.
Sku : XHXV3TUC3-Orange-S
Weight : 300g
${function(){
const variantData = data.variant || {"id":"a450d5a2-4105-407c-b33d-937edb76b59a","product_id":"f579e532-64ad-47fd-90b2-057c8ef53509","title":"Orange-S","weight_unit":"g","inventory_quantity":999,"sku":"XHXV3TUC3-Orange-S","barcode":"","position":1,"option1":"Orange","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a02af3322182d466d8fce23ba29872ad.jpeg","path":"a02af3322182d466d8fce23ba29872ad.jpeg","width":1012,"height":1012,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.89,"min_quantity":1}],"weight":"300","compare_at_price":"39","price":"29.89","retail_price":"39","available":true,"url":"\/products\/letter-splicing-color-print-flared-trousers?variant=a450d5a2-4105-407c-b33d-937edb76b59a","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"},{"name":"Size","value":"S"}],"off_ratio":23,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}
${function() {
const postageFreeAmount = 79;
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 `
`;
}()}