Rose Skull Pattern Short Sleeve Button-Up Shirt
${function() {
const variantData = data.variant || {"id":"0f6e7fbc-d371-429f-8b0c-f6faf4f61499","product_id":"abd851a5-d604-451b-b02f-a6815e737559","title":"Photo Color-S","weight_unit":"g","inventory_quantity":653,"sku":"SKU102749810001","barcode":"","position":1,"option1":"Photo Color","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/479b6f498a56756e87cce54d47bc92a0.jpeg","path":"479b6f498a56756e87cce54d47bc92a0.jpeg","width":564,"height":752,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":28,"min_quantity":1}],"weight":"250","compare_at_price":"50","price":"28","retail_price":"50","available":true,"url":"\/products\/rose-skull-pattern-short-sleeve-button-up-shirt?variant=0f6e7fbc-d371-429f-8b0c-f6faf4f61499","available_quantity":653,"options":[{"name":"Color","value":"Photo Color"},{"name":"Size","value":"S"}],"off_ratio":44,"flashsale_info":[],"sales":54};
const saveType = "percentage";
const productLabelDiscountOn = false;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function() {
const postageFreeAmount = 70;
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 `
`;
}()}
${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.