$product = {"id":7769547997283,"title":"iPhone 13 mini Mod NX ilovedoodle Hug One Line - 愛與擁抱","handle":"iphone-13-mini-mod-nx-printable-xf55","description":null,"published_at":"2025-07-16T17:24:56+08:00","created_at":"2025-04-15T17:35:35+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-I Love Doodle","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-ilovedoodle","device-iPhone 13 Mini","merge","reseller-ilovedoodle"],"price":90000,"price_min":90000,"price_max":90000,"available":true,"price_varies":false,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":43302868713571,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0122824-XF55","requires_shipping":true,"taxable":true,"featured_image":{"id":34196822261859,"product_id":7769547997283,"position":11,"created_at":"2025-07-16T14:52:05+08:00","updated_at":"2025-07-16T14:52:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24b5c7695f2efe7d8581a6e820b447b5591ca877_9090ea25-4266-47aa-bf29-135cd42f54ff.webp?v=1752648727","variant_ids":[43302868713571]},"available":true,"name":"iPhone 13 mini Mod NX ilovedoodle Hug One Line - 愛與擁抱 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-XF55","featured_media":{"alt":null,"id":25829563727971,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24b5c7695f2efe7d8581a6e820b447b5591ca877_9090ea25-4266-47aa-bf29-135cd42f54ff.webp?v=1752648727"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43302874447971,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0122804-XF55","requires_shipping":true,"taxable":true,"featured_image":{"id":34196821966947,"product_id":7769547997283,"position":10,"created_at":"2025-07-16T14:52:05+08:00","updated_at":"2025-07-16T14:52:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b6cb4f0c2a6a67b1b077de21cdcf6fd0d248cc4_b70402f1-f7ab-4653-938a-ecfeb030e67a.webp?v=1752648727","variant_ids":[43302874447971]},"available":true,"name":"iPhone 13 mini Mod NX ilovedoodle Hug One Line - 愛與擁抱 - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-XF55","featured_media":{"alt":null,"id":25829563531363,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b6cb4f0c2a6a67b1b077de21cdcf6fd0d248cc4_b70402f1-f7ab-4653-938a-ecfeb030e67a.webp?v=1752648727"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43302874611811,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01228J5-XF55","requires_shipping":true,"taxable":true,"featured_image":{"id":34196819247203,"product_id":7769547997283,"position":4,"created_at":"2025-07-16T14:52:02+08:00","updated_at":"2025-07-16T14:52:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/465d4475cf1e577a35886a5b90d13c46559bd380_2f389708-f1e7-48ea-aa79-61ef6a589b0d.webp?v=1752648724","variant_ids":[43302874611811]},"available":true,"name":"iPhone 13 mini Mod NX ilovedoodle Hug One Line - 愛與擁抱 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-XF55","featured_media":{"alt":null,"id":25829561860195,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/465d4475cf1e577a35886a5b90d13c46559bd380_2f389708-f1e7-48ea-aa79-61ef6a589b0d.webp?v=1752648724"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1fd1513707c1efb876012d5461d1316180fa0a67.webp?v=1744709742","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccad82f7e625e19fd3e644202b5ee5034236e20e_216b3e95-4b25-4745-ab8c-19b872d6c4c7.webp?v=1752648722","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b12eaa81a9c5ca942edbf85edb78aa61b6893f9e_33a6f71c-ca30-4874-8d85-3588f4b9985d.webp?v=1752648723","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/465d4475cf1e577a35886a5b90d13c46559bd380_2f389708-f1e7-48ea-aa79-61ef6a589b0d.webp?v=1752648724","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/383eff87affcd9a9c53df8025ca62cee6b22a306_8a3ffbb9-3982-4dff-978b-99536481af75.webp?v=1752648724","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d763006e9395e15172cb8afd8c475279f9888a2_1a012246-6088-4fd8-a4f1-aed8da94a9b5.webp?v=1752648725","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/609e150ed80acab5ca5495e8d59752e9c30683b9_802a9e1a-3270-455f-a6c9-917a2ae57771.webp?v=1752648725","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3087209a3513030e57f8fcc909845117368b964_f4ca128f-be7c-4879-9b65-7d29aaedbf03.webp?v=1752648726","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec28d5f1fe201baa1dc585c5811a1d952702a276_4c9e8673-881c-41df-95d9-2672d94c0e0b.webp?v=1752648726","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b6cb4f0c2a6a67b1b077de21cdcf6fd0d248cc4_b70402f1-f7ab-4653-938a-ecfeb030e67a.webp?v=1752648727","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24b5c7695f2efe7d8581a6e820b447b5591ca877_9090ea25-4266-47aa-bf29-135cd42f54ff.webp?v=1752648727"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1fd1513707c1efb876012d5461d1316180fa0a67.webp?v=1744709742","options":["color"],"media":[{"alt":null,"id":25495772463203,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1fd1513707c1efb876012d5461d1316180fa0a67.webp?v=1744709742"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1fd1513707c1efb876012d5461d1316180fa0a67.webp?v=1744709742","width":2000},{"alt":null,"id":25829561139299,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccad82f7e625e19fd3e644202b5ee5034236e20e_216b3e95-4b25-4745-ab8c-19b872d6c4c7.webp?v=1752648722"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccad82f7e625e19fd3e644202b5ee5034236e20e_216b3e95-4b25-4745-ab8c-19b872d6c4c7.webp?v=1752648722","width":2000},{"alt":null,"id":25829561565283,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b12eaa81a9c5ca942edbf85edb78aa61b6893f9e_33a6f71c-ca30-4874-8d85-3588f4b9985d.webp?v=1752648723"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b12eaa81a9c5ca942edbf85edb78aa61b6893f9e_33a6f71c-ca30-4874-8d85-3588f4b9985d.webp?v=1752648723","width":2000},{"alt":null,"id":25829561860195,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/465d4475cf1e577a35886a5b90d13c46559bd380_2f389708-f1e7-48ea-aa79-61ef6a589b0d.webp?v=1752648724"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/465d4475cf1e577a35886a5b90d13c46559bd380_2f389708-f1e7-48ea-aa79-61ef6a589b0d.webp?v=1752648724","width":2000},{"alt":null,"id":25829562155107,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/383eff87affcd9a9c53df8025ca62cee6b22a306_8a3ffbb9-3982-4dff-978b-99536481af75.webp?v=1752648724"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/383eff87affcd9a9c53df8025ca62cee6b22a306_8a3ffbb9-3982-4dff-978b-99536481af75.webp?v=1752648724","width":2000},{"alt":null,"id":25829562613859,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d763006e9395e15172cb8afd8c475279f9888a2_1a012246-6088-4fd8-a4f1-aed8da94a9b5.webp?v=1752648725"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d763006e9395e15172cb8afd8c475279f9888a2_1a012246-6088-4fd8-a4f1-aed8da94a9b5.webp?v=1752648725","width":2000},{"alt":null,"id":25829562876003,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/609e150ed80acab5ca5495e8d59752e9c30683b9_802a9e1a-3270-455f-a6c9-917a2ae57771.webp?v=1752648725"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/609e150ed80acab5ca5495e8d59752e9c30683b9_802a9e1a-3270-455f-a6c9-917a2ae57771.webp?v=1752648725","width":2000},{"alt":null,"id":25829563105379,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3087209a3513030e57f8fcc909845117368b964_f4ca128f-be7c-4879-9b65-7d29aaedbf03.webp?v=1752648726"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3087209a3513030e57f8fcc909845117368b964_f4ca128f-be7c-4879-9b65-7d29aaedbf03.webp?v=1752648726","width":2000},{"alt":null,"id":25829563301987,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec28d5f1fe201baa1dc585c5811a1d952702a276_4c9e8673-881c-41df-95d9-2672d94c0e0b.webp?v=1752648726"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec28d5f1fe201baa1dc585c5811a1d952702a276_4c9e8673-881c-41df-95d9-2672d94c0e0b.webp?v=1752648726","width":2000},{"alt":null,"id":25829563531363,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b6cb4f0c2a6a67b1b077de21cdcf6fd0d248cc4_b70402f1-f7ab-4653-938a-ecfeb030e67a.webp?v=1752648727"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b6cb4f0c2a6a67b1b077de21cdcf6fd0d248cc4_b70402f1-f7ab-4653-938a-ecfeb030e67a.webp?v=1752648727","width":2000},{"alt":null,"id":25829563727971,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24b5c7695f2efe7d8581a6e820b447b5591ca877_9090ea25-4266-47aa-bf29-135cd42f54ff.webp?v=1752648727"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24b5c7695f2efe7d8581a6e820b447b5591ca877_9090ea25-4266-47aa-bf29-135cd42f54ff.webp?v=1752648727","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43302868713571,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0122824-XF55","requires_shipping":true,"taxable":true,"featured_image":{"id":34196822261859,"product_id":7769547997283,"position":11,"created_at":"2025-07-16T14:52:05+08:00","updated_at":"2025-07-16T14:52:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24b5c7695f2efe7d8581a6e820b447b5591ca877_9090ea25-4266-47aa-bf29-135cd42f54ff.webp?v=1752648727","variant_ids":[43302868713571]},"available":true,"name":"iPhone 13 mini Mod NX ilovedoodle Hug One Line - 愛與擁抱 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-XF55","featured_media":{"alt":null,"id":25829563727971,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24b5c7695f2efe7d8581a6e820b447b5591ca877_9090ea25-4266-47aa-bf29-135cd42f54ff.webp?v=1752648727"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43302874447971,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0122804-XF55","requires_shipping":true,"taxable":true,"featured_image":{"id":34196821966947,"product_id":7769547997283,"position":10,"created_at":"2025-07-16T14:52:05+08:00","updated_at":"2025-07-16T14:52:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b6cb4f0c2a6a67b1b077de21cdcf6fd0d248cc4_b70402f1-f7ab-4653-938a-ecfeb030e67a.webp?v=1752648727","variant_ids":[43302874447971]},"available":true,"name":"iPhone 13 mini Mod NX ilovedoodle Hug One Line - 愛與擁抱 - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-XF55","featured_media":{"alt":null,"id":25829563531363,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b6cb4f0c2a6a67b1b077de21cdcf6fd0d248cc4_b70402f1-f7ab-4653-938a-ecfeb030e67a.webp?v=1752648727"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43302874611811,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01228J5-XF55","requires_shipping":true,"taxable":true,"featured_image":{"id":34196819247203,"product_id":7769547997283,"position":4,"created_at":"2025-07-16T14:52:02+08:00","updated_at":"2025-07-16T14:52:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/465d4475cf1e577a35886a5b90d13c46559bd380_2f389708-f1e7-48ea-aa79-61ef6a589b0d.webp?v=1752648724","variant_ids":[43302874611811]},"available":true,"name":"iPhone 13 mini Mod NX ilovedoodle Hug One Line - 愛與擁抱 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-XF55","featured_media":{"alt":null,"id":25829561860195,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/465d4475cf1e577a35886a5b90d13c46559bd380_2f389708-f1e7-48ea-aa79-61ef6a589b0d.webp?v=1752648724"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43302868713571,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0122824-XF55","requires_shipping":true,"taxable":true,"featured_image":{"id":34196822261859,"product_id":7769547997283,"position":11,"created_at":"2025-07-16T14:52:05+08:00","updated_at":"2025-07-16T14:52:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24b5c7695f2efe7d8581a6e820b447b5591ca877_9090ea25-4266-47aa-bf29-135cd42f54ff.webp?v=1752648727","variant_ids":[43302868713571]},"available":true,"name":"iPhone 13 mini Mod NX ilovedoodle Hug One Line - 愛與擁抱 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-XF55","featured_media":{"alt":null,"id":25829563727971,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24b5c7695f2efe7d8581a6e820b447b5591ca877_9090ea25-4266-47aa-bf29-135cd42f54ff.webp?v=1752648727"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null var sellingStatus if ($bumper) { $(document).ready(function() { var productImg = $product.images[0] var bumperVariants = $bumper.variants; var bumperColors = new Object(); var currentVariant = ''; var productType = ''; bumperVariants.forEach(variant => { bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src; }); if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') { mergeImages( [productImg, bumperColors[currentVariant]], { crossOrigin: 'anonymous' } ).then(mergedImg => { $('.merged-img').attr('src', mergedImg); }); } else { mergeImages( [bumperColors[currentVariant], productImg], { crossOrigin: 'anonymous' } ).then(mergedImg => { $('.merged-img').attr('src', mergedImg); }); } }); }; var sellingStatusData window.fetchSellingStatus().then(data => { try { sellingStatusData = data; } catch (error) { sellingStatusData = null console.error('Unable to parse selling status', error) } $(document).ready(function() { handleSellingStatus($defaultVariant.sku); }); }) function handleSellingStatus(currentSku) { if (!sellingStatusData) { console.error('No selling status available!') return } const sellingStatusElement = document.getElementById('selling-status') const addToCartButton = document.getElementById('AddToCart-product-template') const currentProductSku = currentSku.replace(/-(.*)$/, '-') if ($variants) { const flattenedSellingStatus = [...sellingStatusData.pending, ...sellingStatusData.preorder] const matchSellingStatusProduct = flattenedSellingStatus.filter(product => currentProductSku === product.sku) if (matchSellingStatusProduct.length > 0) { const isProductPending = matchSellingStatusProduct[0].status === 'pending' const matchDate = matchSellingStatusProduct[0].date sellingStatus = isProductPending ? "缺貨中" : "預購完成出貨日:" + matchDate sellingStatusElement.textContent = sellingStatus if (sellingStatus.includes("缺貨中")){ addToCartButton.disabled ='true'; addToCartButton.textContent = "缺貨中無法加入購物車" } else { addToCartButton.textContent = "加到購物車" } } else { sellingStatusElement.textContent = '' addToCartButton.textContent = "加到購物車" }; }; }; document.addEventListener('DOMContentLoaded', function () { var currentVariantSelect = document.getElementById('SingleOptionSelector-0') currentVariantSelect.addEventListener('change', function() { var currentSku = $('#current_sku').text() var skuElement = document.getElementById('current-sku') skuElement.textContent = currentSku handleSellingStatus(currentSku) }); });
// Override default values of shop.strings for each template. // Alternate product templates can change values of // add to cart button, sold out, and unavailable states here. theme.productStrings = { addToCart: "加到購物車", soldOut: "售完", unavailable: "停產" }