Valkyrie Vintage Spell Raven Totem T-Shirt
1328
${function() {
const variantData = data.variant || {"id":"686edd61-f413-4e49-9954-dc123413b3f1","product_id":"7f542790-6bf9-445c-a6c5-80bb6cc58a06","title":"white-S","weight_unit":"g","inventory_quantity":999,"sku":"1689163756235468801","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2235880c83a46ff26c0fed78ca354b23.jpeg","path":"2235880c83a46ff26c0fed78ca354b23.jpeg","width":1955,"height":2500,"alt":"Valkyrie Vintage Spell Raven Totem T-Shirt Techwear Shop","aspect_ratio":0.782},"wholesale_price":[{"price":22.95,"min_quantity":1}],"weight":"200","compare_at_price":"25.95","price":"22.95","retail_price":"25.95","available":true,"url":"\/products\/valkyrie-vintage-spell-raven-totem-t-shirt?variant=686edd61-f413-4e49-9954-dc123413b3f1","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"S"}],"off_ratio":12,"flashsale_info":[],"sales":11};
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}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"686edd61-f413-4e49-9954-dc123413b3f1","product_id":"7f542790-6bf9-445c-a6c5-80bb6cc58a06","title":"white-S","weight_unit":"g","inventory_quantity":999,"sku":"1689163756235468801","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2235880c83a46ff26c0fed78ca354b23.jpeg","path":"2235880c83a46ff26c0fed78ca354b23.jpeg","width":1955,"height":2500,"alt":"Valkyrie Vintage Spell Raven Totem T-Shirt Techwear Shop","aspect_ratio":0.782},"wholesale_price":[{"price":22.95,"min_quantity":1}],"weight":"200","compare_at_price":"25.95","price":"22.95","retail_price":"25.95","available":true,"url":"\/products\/valkyrie-vintage-spell-raven-totem-t-shirt?variant=686edd61-f413-4e49-9954-dc123413b3f1","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"S"}],"off_ratio":12,"flashsale_info":[],"sales":11};
return `
`
}()}
${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 `
`;
}()}