Hip-hop rock print T-shirt
${function() {
const variantData = data.variant || {"id":"4ed44951-8e23-421d-930b-0ac612026f58","product_id":"6eaeff56-07bf-4d40-8e9f-e05cdd610f9d","title":"White-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHD63Di7Z-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5c0d3ce3d6a8cdbd7866b89280cfd282.jpeg","path":"5c0d3ce3d6a8cdbd7866b89280cfd282.jpeg","width":1414,"height":1413,"alt":"","aspect_ratio":1.0007077140835103},"wholesale_price":[{"price":18.89,"min_quantity":1}],"weight":"222","compare_at_price":"33","price":"18.89","retail_price":"33","available":true,"url":"\/products\/hip-hop-rock-print-t-shirt?variant=4ed44951-8e23-421d-930b-0ac612026f58","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":20};
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 `
`;
}()}