Dark Sorcerer's Hood And Cloak
1078
${function() {
const variantData = data.variant || {"id":"3cd7b3c2-8cec-4b43-83c5-b61fb57e55e6","product_id":"fe47e08d-e42e-434d-aa6c-2bb842a26032","title":"black-S","weight_unit":"g","inventory_quantity":999,"sku":"1567023388454019073","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c7da284f2127efa3baa4a7e6b0ffca4d.jpeg","path":"c7da284f2127efa3baa4a7e6b0ffca4d.jpeg","width":800,"height":800,"alt":"Dark Sorcerer's Hood And Cloak Techwear Shop","aspect_ratio":1},"wholesale_price":[{"price":30.95,"min_quantity":1}],"weight":"500","compare_at_price":"37.95","price":"30.95","retail_price":"37.95","available":true,"url":"\/products\/dark-sorcerers-hood-and-cloak?variant=3cd7b3c2-8cec-4b43-83c5-b61fb57e55e6","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":18,"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}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"3cd7b3c2-8cec-4b43-83c5-b61fb57e55e6","product_id":"fe47e08d-e42e-434d-aa6c-2bb842a26032","title":"black-S","weight_unit":"g","inventory_quantity":999,"sku":"1567023388454019073","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c7da284f2127efa3baa4a7e6b0ffca4d.jpeg","path":"c7da284f2127efa3baa4a7e6b0ffca4d.jpeg","width":800,"height":800,"alt":"Dark Sorcerer's Hood And Cloak Techwear Shop","aspect_ratio":1},"wholesale_price":[{"price":30.95,"min_quantity":1}],"weight":"500","compare_at_price":"37.95","price":"30.95","retail_price":"37.95","available":true,"url":"\/products\/dark-sorcerers-hood-and-cloak?variant=3cd7b3c2-8cec-4b43-83c5-b61fb57e55e6","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":18,"flashsale_info":[],"sales":3};
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 `
`;
}()}