Art Dove Sakura Pattern Casual Shorts
${function() {
const variantData = data.variant || {"id":"6ff34e80-b898-4216-afec-d74dfca51964","product_id":"cb1aacd6-4e8e-484d-8ec8-8085416b6799","title":"White-M","weight_unit":"g","inventory_quantity":999,"sku":"XHHp9Z3sX-White-M","barcode":"","position":1,"option1":"White","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/466f99ec3effcc782b7546997b15b3fa.jpeg","path":"466f99ec3effcc782b7546997b15b3fa.jpeg","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":21.89,"min_quantity":1}],"weight":"180","compare_at_price":"28","price":"21.89","retail_price":"28","available":true,"url":"\/products\/art-dove-sakura-pattern-casual-shorts?variant=6ff34e80-b898-4216-afec-d74dfca51964","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"M"}],"off_ratio":22,"flashsale_info":[],"sales":4};
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}
`
}()}
people are viewing this right now
Product was out of stock.
Product is unavailable.
${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 `
`;
}()}