Suitable for Apple 15ProMax pop button magnetic leakage tag metal magnetic phone case
${function(){
return `
Please select a Color
`;
}()}
${function(){
return `
Please select a Type
`;
}()}
${function() {
const variantData = data.variant || {"id":"55015945-ff44-4aaa-a2ce-61a50d5e8318","product_id":"8e6dac23-b867-4a29-a7d9-3c883e2aefad","title":"Black-iPhone - 15ProMax","weight_unit":"kg","inventory_quantity":1000,"sku":"3TX240102-Black-iPhone - 15ProMax","barcode":"","position":1,"option1":"Black","option2":"iPhone - 15ProMax","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/37d174fde0be46425401a3dfe156f485.jpg","path":"37d174fde0be46425401a3dfe156f485.jpg","width":800,"height":800,"alt":"Suitable for Apple 15ProMax pop button magnetic leakage tag metal magnetic phone case","aspect_ratio":1},"wholesale_price":[{"price":24.98,"min_quantity":1}],"weight":"0","compare_at_price":"34.99","price":"24.98","retail_price":"34.99","available":true,"url":"\/products\/case-5-h5vi?variant=55015945-ff44-4aaa-a2ce-61a50d5e8318","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Type","value":"iPhone - 15ProMax"}],"off_ratio":29,"flashsale_info":[],"sales":0};
const saveType = "percent";
const productSaveLabel = true;
return `
-
${saveType == 'percent' ? `-${variantData.off_ratio}%` : `-` }
`; }()}
${function() {
const type = 'hero';
const postageFreeAmount = 35;
const custom_text_hero = "\ud83d\udd25 Spend $35+ & Save $5.99 on 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";
const custom_text_wind = "Buy {amount} more to enjoy FREE Shipping";
const custom_text = type === 'hero' ? custom_text_hero : custom_text_wind;
if (diffPrice > 0) {
tipText = custom_text.replace('{amount}', `
`);
}
return `
${type === 'hero' ?
`
` :
`
${tipText}
Your order is free delivery
`
}
`;
}()}
people are viewing this right now
${function() {
const minInventory = parseInt('7');
const maxInventory = parseInt('20');
const randomInventory = Math.round(Math.random() * (maxInventory - minInventory)) + minInventory;
const customText = "Only {stock} item(s) left in stock!".replace(/\{stock\}/g, '' + randomInventory + '');
const barWidth = (randomInventory / maxInventory) * 100 + '%';
return `
`;
}()}
Product was out of stock.
Product is unavailable.