Edgar Allan Raven Pullover Sweatshirt
${function() {
const variantData = data.variant || {"id":"c3235815-9889-452d-b8e7-574cc60a7126","product_id":"9dcf8c39-d9d4-4f83-a51f-cf7cf6ac52c0","title":"black-XS","weight_unit":"g","inventory_quantity":999,"sku":"1721453579440566273","barcode":"","position":1,"option1":"black","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/70510444e0dbbc6553ef2130e27716b3.jpeg","path":"70510444e0dbbc6553ef2130e27716b3.jpeg","width":1313,"height":1678,"alt":"Edgar Allan Raven Pullover Sweatshirt Techwear Shop","aspect_ratio":0.7824791418355185},"wholesale_price":[{"price":38.95,"min_quantity":1}],"weight":"300","compare_at_price":"0","price":"38.95","retail_price":"0","available":true,"url":"\/products\/edgar-allan-raven-pullover-sweatshirt?variant=c3235815-9889-452d-b8e7-574cc60a7126","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"XS"}],"off_ratio":0,"flashsale_info":[],"sales":10};
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":"c3235815-9889-452d-b8e7-574cc60a7126","product_id":"9dcf8c39-d9d4-4f83-a51f-cf7cf6ac52c0","title":"black-XS","weight_unit":"g","inventory_quantity":999,"sku":"1721453579440566273","barcode":"","position":1,"option1":"black","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/70510444e0dbbc6553ef2130e27716b3.jpeg","path":"70510444e0dbbc6553ef2130e27716b3.jpeg","width":1313,"height":1678,"alt":"Edgar Allan Raven Pullover Sweatshirt Techwear Shop","aspect_ratio":0.7824791418355185},"wholesale_price":[{"price":38.95,"min_quantity":1}],"weight":"300","compare_at_price":"0","price":"38.95","retail_price":"0","available":true,"url":"\/products\/edgar-allan-raven-pullover-sweatshirt?variant=c3235815-9889-452d-b8e7-574cc60a7126","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"XS"}],"off_ratio":0,"flashsale_info":[],"sales":10};
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 `
`;
}()}