🚚Global Fast Logistics. 7-15 Days To US & EU
💲Secure payments. ✅30days Returns
${function() {
const variantData = data.variant || {"id":"e6bec4cc-bdd0-4929-ba23-4bc75aa4b64e","product_id":"e9810fdc-c2e3-4b51-aaf1-0de74010c956","title":"blue Snake Skin-S","weight_unit":"lb","inventory_quantity":20145,"sku":"65588623-blue-snake-skin-s","barcode":"","position":1,"option1":"blue Snake Skin","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/46cff208d5e8533d46d53b2a43f609a4.jpeg","path":"46cff208d5e8533d46d53b2a43f609a4.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0","compare_at_price":"22","price":"20.99","retail_price":"22","available":true,"url":"\/products\/instahot-snakeskin-bodysuits-women-sexy-snake-skin-high-turtleneck-long-sleeve-python-fashion-2018-spring-rompers-playsuit-lady?variant=e6bec4cc-bdd0-4929-ba23-4bc75aa4b64e","available_quantity":999999999,"options":[{"name":"Color","value":"blue Snake Skin"},{"name":"Size","value":"S"}],"off_ratio":5,"flashsale_info":[],"sales":0};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
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.
people are viewing this right now
${function() {
const minDays = parseInt('7');
const maxDays = parseInt('12');
const customText = "Estimated Delivery\uff1a{min_date} - {max_date}";
const minDate = new Date(Date.now() + (minDays * 86400000));
const maxDate = new Date(Date.now() + (maxDays * 86400000));
const formatDate = (minDate.getFullYear() == maxDate.getFullYear() && minDate.getFullYear() == new Date().getFullYear())
? new Intl.DateTimeFormat('en', { month: 'short', day: '2-digit' })
: new Intl.DateTimeFormat('en', { month: 'short', day: '2-digit', year: 'numeric' });
const tipText = customText.replace(/\{min_date\}/g, '' + formatDate.format(minDate) + '')
.replace(/\{max_date\}/g, '' + formatDate.format(maxDate) + '');
return `
`;
}()}
${function() {
const postageFreeAmount = 35;
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 `
`;
}()}