Casual statement retro tapestry hoodie
${function() {
const variantData = data.variant || {"id":"82431ddc-3b3d-426b-be5e-349439f08252","product_id":"353dbd9f-4186-4e31-9e0e-b7f6c0a283f0","title":"Same_As_Photo-S","weight_unit":"g","inventory_quantity":999,"sku":"XHefv7EcJ-Same_As_Photo-S","barcode":"","position":1,"option1":"Same_As_Photo","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9f6658061331342e9257ab2e874c2eb2.jpeg","path":"9f6658061331342e9257ab2e874c2eb2.jpeg","width":1390,"height":1390,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":34.89,"min_quantity":1}],"weight":"400","compare_at_price":"45","price":"34.89","retail_price":"45","available":true,"url":"\/products\/casual-statement-retro-tapestry-hoodie?variant=82431ddc-3b3d-426b-be5e-349439f08252","available_quantity":999999999,"options":[{"name":"Color","value":"Same_As_Photo"},{"name":"Size","value":"S"}],"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 `
`;
}()}