Leather Wallet Wrist Strap Case for iPhone
${function() {
const variantData = data.variant || {"id":"795597a5-e305-455e-bc77-794231c9dd04","product_id":"f81e21e2-443a-4cc7-b765-43a20b4c8c27","title":"Case Only-For iPhone 13 Pro Max-Black","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Case Only","option2":"For iPhone 13 Pro Max","option3":"Black","note":"","image":{"src":"\/\/img.staticdj.com\/91e3a8718b15f1a79090e6388c05de28.jpg","path":"91e3a8718b15f1a79090e6388c05de28.jpg","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.99,"min_quantity":1}],"weight":"0","compare_at_price":"41.99","price":"31.99","retail_price":"41.99","available":true,"url":"\/products\/leather-wallet-wrist-strap-case-for-iphone?variant=795597a5-e305-455e-bc77-794231c9dd04","available_quantity":999999999,"options":[{"name":"Style","value":"Case Only"},{"name":"Size","value":"For iPhone 13 Pro Max"},{"name":"Color","value":"Black"}],"off_ratio":24,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Style:
Case Only
${function(){
const optName = "Style";
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}
`
}()}
Size:
For iPhone 13 Pro Max
${function(){
const optName = "Size";
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}
`
}()}
Color:
Black
${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}
`
}()}
Add to cart
$31.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":"795597a5-e305-455e-bc77-794231c9dd04","product_id":"f81e21e2-443a-4cc7-b765-43a20b4c8c27","title":"Case Only-For iPhone 13 Pro Max-Black","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Case Only","option2":"For iPhone 13 Pro Max","option3":"Black","note":"","image":{"src":"\/\/img.staticdj.com\/91e3a8718b15f1a79090e6388c05de28.jpg","path":"91e3a8718b15f1a79090e6388c05de28.jpg","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.99,"min_quantity":1}],"weight":"0","compare_at_price":"41.99","price":"31.99","retail_price":"41.99","available":true,"url":"\/products\/leather-wallet-wrist-strap-case-for-iphone?variant=795597a5-e305-455e-bc77-794231c9dd04","available_quantity":999999999,"options":[{"name":"Style","value":"Case Only"},{"name":"Size","value":"For iPhone 13 Pro Max"},{"name":"Color","value":"Black"}],"off_ratio":24,"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":"795597a5-e305-455e-bc77-794231c9dd04","product_id":"f81e21e2-443a-4cc7-b765-43a20b4c8c27","title":"Case Only-For iPhone 13 Pro Max-Black","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Case Only","option2":"For iPhone 13 Pro Max","option3":"Black","note":"","image":{"src":"\/\/img.staticdj.com\/91e3a8718b15f1a79090e6388c05de28.jpg","path":"91e3a8718b15f1a79090e6388c05de28.jpg","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.99,"min_quantity":1}],"weight":"0","compare_at_price":"41.99","price":"31.99","retail_price":"41.99","available":true,"url":"\/products\/leather-wallet-wrist-strap-case-for-iphone?variant=795597a5-e305-455e-bc77-794231c9dd04","available_quantity":999999999,"options":[{"name":"Style","value":"Case Only"},{"name":"Size","value":"For iPhone 13 Pro Max"},{"name":"Color","value":"Black"}],"off_ratio":24,"flashsale_info":[],"sales":0};
return `
`
}()}