Trendy street style print T-shirt
${function() {
const variantData = data.variant || {"id":"5f750c2d-78dc-412c-bb37-e7ff7951dac0","product_id":"f5a9673f-5297-4f93-8f42-97e1f40e3b3b","title":"Same_As_Photo-S","weight_unit":"g","inventory_quantity":999,"sku":"XHHf10moF-Same_As_Photo-S","barcode":"","position":1,"option1":"Same_As_Photo","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bc36040db0ba633b638b2ebc4bdc4e11.jpeg","path":"bc36040db0ba633b638b2ebc4bdc4e11.jpeg","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.89,"min_quantity":1}],"weight":"200","compare_at_price":"31","price":"18.89","retail_price":"31","available":true,"url":"\/products\/trendy-street-style-print-t-shirt?variant=5f750c2d-78dc-412c-bb37-e7ff7951dac0","available_quantity":999999999,"options":[{"name":"Color","value":"Same_As_Photo"},{"name":"Size","value":"S"}],"off_ratio":39,"flashsale_info":[],"sales":3};
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 `
`;
}()}