Line puppy double-sided IMD phone case is suitable for Apple 15/14 PRO cartoon all-inclusive iPhone 13/12. It feels comfortable, resistant to falling, abrasion, scratches, and not easy to turn yellow.
${function() {
const variantData = data.variant || {"id":"a29d0a7f-53ae-4e0c-8f2b-71865fbb307d","product_id":"2d858ec8-0b0d-46f1-9e31-e589ae680a71","title":"With lanyard-iphone12","weight_unit":"kg","inventory_quantity":500,"sku":"","barcode":"","position":1,"option1":"With lanyard","option2":"iphone12","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7eb888992518edc4f2fd9b2395106809.jpg","path":"7eb888992518edc4f2fd9b2395106809.jpg","width":2160,"height":2160,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0.1","compare_at_price":"0","price":"19.99","retail_price":"0","available":true,"url":"\/products\/line-puppy-double-sided-imd-phone-case-is-suitable-for-apple-15-14-pro-cartoon-all-inclusive-iphone-13-12-it-feels-comfortable-resistant-to-falling-abrasion-scratches-and-not-easy-to-turn-yellow?variant=a29d0a7f-53ae-4e0c-8f2b-71865fbb307d","available_quantity":999999999,"options":[{"name":"color","value":"With lanyard"},{"name":"model","value":"iphone12"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
With lanyard
${function(){
const optName = "color";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Model:
iphone12
${function(){
const optName = "model";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
$19.99
${function(){
const wholesale_enabled = false;
const qty = data.quantity || 1;
const currentSelectVariant = data.variant;
const defaultVariant = (data.product && data.product.variants && data.product.variants[0]);
const productVariant = {"id":"a29d0a7f-53ae-4e0c-8f2b-71865fbb307d","product_id":"2d858ec8-0b0d-46f1-9e31-e589ae680a71","title":"With lanyard-iphone12","weight_unit":"kg","inventory_quantity":500,"sku":"","barcode":"","position":1,"option1":"With lanyard","option2":"iphone12","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7eb888992518edc4f2fd9b2395106809.jpg","path":"7eb888992518edc4f2fd9b2395106809.jpg","width":2160,"height":2160,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0.1","compare_at_price":"0","price":"19.99","retail_price":"0","available":true,"url":"\/products\/line-puppy-double-sided-imd-phone-case-is-suitable-for-apple-15-14-pro-cartoon-all-inclusive-iphone-13-12-it-feels-comfortable-resistant-to-falling-abrasion-scratches-and-not-easy-to-turn-yellow?variant=a29d0a7f-53ae-4e0c-8f2b-71865fbb307d","available_quantity":999999999,"options":[{"name":"color","value":"With lanyard"},{"name":"model","value":"iphone12"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const variantData = currentSelectVariant || defaultVariant || productVariant;
const wholesale_price = variantData.wholesale_price || [];
if(wholesale_enabled && wholesale_price.length > 0) {
let wholesaleIndex = wholesale_price.findIndex(item => {
return item.min_quantity > qty;
});
if(wholesaleIndex < 0){
wholesaleIndex = wholesale_price.length - 1;
}else if(wholesaleIndex > 0){
wholesaleIndex = wholesaleIndex - 1;
}
const wholesalePrice = wholesale_price[wholesaleIndex] || '';
return `
`
}else {
const price = variantData && variantData.price;
return price != undefined ? `
` : ' ';
}
}()}
Buy now
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"a29d0a7f-53ae-4e0c-8f2b-71865fbb307d","product_id":"2d858ec8-0b0d-46f1-9e31-e589ae680a71","title":"With lanyard-iphone12","weight_unit":"kg","inventory_quantity":500,"sku":"","barcode":"","position":1,"option1":"With lanyard","option2":"iphone12","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7eb888992518edc4f2fd9b2395106809.jpg","path":"7eb888992518edc4f2fd9b2395106809.jpg","width":2160,"height":2160,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0.1","compare_at_price":"0","price":"19.99","retail_price":"0","available":true,"url":"\/products\/line-puppy-double-sided-imd-phone-case-is-suitable-for-apple-15-14-pro-cartoon-all-inclusive-iphone-13-12-it-feels-comfortable-resistant-to-falling-abrasion-scratches-and-not-easy-to-turn-yellow?variant=a29d0a7f-53ae-4e0c-8f2b-71865fbb307d","available_quantity":999999999,"options":[{"name":"color","value":"With lanyard"},{"name":"model","value":"iphone12"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}