$product = {"id":7769441730659,"title":"iPhone 13 mini Mod NX ilovedoodle Peek A Paw - 躲貓貓","handle":"iphone-13-mini-mod-nx-printable-xf48","description":null,"published_at":"2025-07-16T17:36:00+08:00","created_at":"2025-04-15T16:10:40+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":43302363168867,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0122824-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34196529578083,"product_id":7769441730659,"position":5,"created_at":"2025-07-16T14:45:27+08:00","updated_at":"2025-07-16T14:45:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eab950ee87d9aebf41bef49274e51fac5fc39208_1300fecb-bc59-4338-86f7-cc718da05d98.webp?v=1752648329","variant_ids":[43302363168867]},"available":true,"name":"iPhone 13 mini Mod NX ilovedoodle Peek A Paw - 躲貓貓 - 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-XF48","featured_media":{"alt":null,"id":25829404508259,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eab950ee87d9aebf41bef49274e51fac5fc39208_1300fecb-bc59-4338-86f7-cc718da05d98.webp?v=1752648329"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43302367494243,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0122804-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34196530888803,"product_id":7769441730659,"position":9,"created_at":"2025-07-16T14:45:29+08:00","updated_at":"2025-07-16T14:45:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/211fb236cf76008c41f3ab0f789cb65008371823_69d5795c-1c73-481e-98f1-8db805bbdf2b.webp?v=1752648331","variant_ids":[43302367494243]},"available":true,"name":"iPhone 13 mini Mod NX ilovedoodle Peek A Paw - 躲貓貓 - 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-XF48","featured_media":{"alt":null,"id":25829405229155,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/211fb236cf76008c41f3ab0f789cb65008371823_69d5795c-1c73-481e-98f1-8db805bbdf2b.webp?v=1752648331"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43302367658083,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01228J5-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34196531478627,"product_id":7769441730659,"position":11,"created_at":"2025-07-16T14:45:30+08:00","updated_at":"2025-07-16T14:45:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/571fcb49e7786b0d235dcdd37deeb689ebaa45f9_d25dbd12-92e6-4e8d-b41d-7610e1a1dce5.webp?v=1752648332","variant_ids":[43302367658083]},"available":true,"name":"iPhone 13 mini Mod NX ilovedoodle Peek A Paw - 躲貓貓 - 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-XF48","featured_media":{"alt":null,"id":25829405556835,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/571fcb49e7786b0d235dcdd37deeb689ebaa45f9_d25dbd12-92e6-4e8d-b41d-7610e1a1dce5.webp?v=1752648332"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b4041c0994b8533873464ace9aae97d8cd22e42.webp?v=1744704647","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e1834969edaa9a09666758a862a11413e7a3109_e9648c39-2b03-4295-818e-63cefcf49b20.webp?v=1752648327","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b28cf6074bf4bed3535e8ec6ca19330f6663a348_77c87bae-8184-4a4b-b341-d324c0c80226.webp?v=1752648327","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd48358f0cf80d79a5aaa93305b9b35203d92542_d8f0ee49-7f5f-4aca-b0e7-cadd8fbfcaf9.webp?v=1752648328","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eab950ee87d9aebf41bef49274e51fac5fc39208_1300fecb-bc59-4338-86f7-cc718da05d98.webp?v=1752648329","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1dd2aaf3125f43a6388560d1ff70ef09f3d1effa_4dd22587-0fe2-4b4f-ac7f-e120ed811d09.webp?v=1752648329","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c080431d0031f082bb0b23bab651f4be8360803_94c75fbe-429b-49bc-83ed-15504b074cec.webp?v=1752648330","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26c3f03d8fafc4fb6a9e247e8502cf8a9f2fa6fb_80bd6edb-78eb-42c5-b595-31664dbc6a7f.webp?v=1752648330","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/211fb236cf76008c41f3ab0f789cb65008371823_69d5795c-1c73-481e-98f1-8db805bbdf2b.webp?v=1752648331","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1c56b5e9e48a8d56f85900f9c5ac489ab8247e6_f67026d5-8a3b-4cd2-b351-c97af0cec54f.webp?v=1752648331","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/571fcb49e7786b0d235dcdd37deeb689ebaa45f9_d25dbd12-92e6-4e8d-b41d-7610e1a1dce5.webp?v=1752648332"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b4041c0994b8533873464ace9aae97d8cd22e42.webp?v=1744704647","options":["color"],"media":[{"alt":null,"id":25495445897315,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b4041c0994b8533873464ace9aae97d8cd22e42.webp?v=1744704647"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b4041c0994b8533873464ace9aae97d8cd22e42.webp?v=1744704647","width":2000},{"alt":null,"id":25829403623523,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e1834969edaa9a09666758a862a11413e7a3109_e9648c39-2b03-4295-818e-63cefcf49b20.webp?v=1752648327"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e1834969edaa9a09666758a862a11413e7a3109_e9648c39-2b03-4295-818e-63cefcf49b20.webp?v=1752648327","width":2000},{"alt":null,"id":25829403787363,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b28cf6074bf4bed3535e8ec6ca19330f6663a348_77c87bae-8184-4a4b-b341-d324c0c80226.webp?v=1752648327"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b28cf6074bf4bed3535e8ec6ca19330f6663a348_77c87bae-8184-4a4b-b341-d324c0c80226.webp?v=1752648327","width":2000},{"alt":null,"id":25829403951203,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd48358f0cf80d79a5aaa93305b9b35203d92542_d8f0ee49-7f5f-4aca-b0e7-cadd8fbfcaf9.webp?v=1752648328"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd48358f0cf80d79a5aaa93305b9b35203d92542_d8f0ee49-7f5f-4aca-b0e7-cadd8fbfcaf9.webp?v=1752648328","width":2000},{"alt":null,"id":25829404508259,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eab950ee87d9aebf41bef49274e51fac5fc39208_1300fecb-bc59-4338-86f7-cc718da05d98.webp?v=1752648329"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eab950ee87d9aebf41bef49274e51fac5fc39208_1300fecb-bc59-4338-86f7-cc718da05d98.webp?v=1752648329","width":2000},{"alt":null,"id":25829404704867,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1dd2aaf3125f43a6388560d1ff70ef09f3d1effa_4dd22587-0fe2-4b4f-ac7f-e120ed811d09.webp?v=1752648329"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1dd2aaf3125f43a6388560d1ff70ef09f3d1effa_4dd22587-0fe2-4b4f-ac7f-e120ed811d09.webp?v=1752648329","width":2000},{"alt":null,"id":25829404868707,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c080431d0031f082bb0b23bab651f4be8360803_94c75fbe-429b-49bc-83ed-15504b074cec.webp?v=1752648330"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c080431d0031f082bb0b23bab651f4be8360803_94c75fbe-429b-49bc-83ed-15504b074cec.webp?v=1752648330","width":2000},{"alt":null,"id":25829405065315,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26c3f03d8fafc4fb6a9e247e8502cf8a9f2fa6fb_80bd6edb-78eb-42c5-b595-31664dbc6a7f.webp?v=1752648330"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26c3f03d8fafc4fb6a9e247e8502cf8a9f2fa6fb_80bd6edb-78eb-42c5-b595-31664dbc6a7f.webp?v=1752648330","width":2000},{"alt":null,"id":25829405229155,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/211fb236cf76008c41f3ab0f789cb65008371823_69d5795c-1c73-481e-98f1-8db805bbdf2b.webp?v=1752648331"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/211fb236cf76008c41f3ab0f789cb65008371823_69d5795c-1c73-481e-98f1-8db805bbdf2b.webp?v=1752648331","width":2000},{"alt":null,"id":25829405425763,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1c56b5e9e48a8d56f85900f9c5ac489ab8247e6_f67026d5-8a3b-4cd2-b351-c97af0cec54f.webp?v=1752648331"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1c56b5e9e48a8d56f85900f9c5ac489ab8247e6_f67026d5-8a3b-4cd2-b351-c97af0cec54f.webp?v=1752648331","width":2000},{"alt":null,"id":25829405556835,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/571fcb49e7786b0d235dcdd37deeb689ebaa45f9_d25dbd12-92e6-4e8d-b41d-7610e1a1dce5.webp?v=1752648332"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/571fcb49e7786b0d235dcdd37deeb689ebaa45f9_d25dbd12-92e6-4e8d-b41d-7610e1a1dce5.webp?v=1752648332","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43302363168867,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0122824-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34196529578083,"product_id":7769441730659,"position":5,"created_at":"2025-07-16T14:45:27+08:00","updated_at":"2025-07-16T14:45:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eab950ee87d9aebf41bef49274e51fac5fc39208_1300fecb-bc59-4338-86f7-cc718da05d98.webp?v=1752648329","variant_ids":[43302363168867]},"available":true,"name":"iPhone 13 mini Mod NX ilovedoodle Peek A Paw - 躲貓貓 - 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-XF48","featured_media":{"alt":null,"id":25829404508259,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eab950ee87d9aebf41bef49274e51fac5fc39208_1300fecb-bc59-4338-86f7-cc718da05d98.webp?v=1752648329"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43302367494243,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0122804-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34196530888803,"product_id":7769441730659,"position":9,"created_at":"2025-07-16T14:45:29+08:00","updated_at":"2025-07-16T14:45:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/211fb236cf76008c41f3ab0f789cb65008371823_69d5795c-1c73-481e-98f1-8db805bbdf2b.webp?v=1752648331","variant_ids":[43302367494243]},"available":true,"name":"iPhone 13 mini Mod NX ilovedoodle Peek A Paw - 躲貓貓 - 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-XF48","featured_media":{"alt":null,"id":25829405229155,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/211fb236cf76008c41f3ab0f789cb65008371823_69d5795c-1c73-481e-98f1-8db805bbdf2b.webp?v=1752648331"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43302367658083,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01228J5-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34196531478627,"product_id":7769441730659,"position":11,"created_at":"2025-07-16T14:45:30+08:00","updated_at":"2025-07-16T14:45:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/571fcb49e7786b0d235dcdd37deeb689ebaa45f9_d25dbd12-92e6-4e8d-b41d-7610e1a1dce5.webp?v=1752648332","variant_ids":[43302367658083]},"available":true,"name":"iPhone 13 mini Mod NX ilovedoodle Peek A Paw - 躲貓貓 - 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-XF48","featured_media":{"alt":null,"id":25829405556835,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/571fcb49e7786b0d235dcdd37deeb689ebaa45f9_d25dbd12-92e6-4e8d-b41d-7610e1a1dce5.webp?v=1752648332"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43302363168867,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0122824-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34196529578083,"product_id":7769441730659,"position":5,"created_at":"2025-07-16T14:45:27+08:00","updated_at":"2025-07-16T14:45:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eab950ee87d9aebf41bef49274e51fac5fc39208_1300fecb-bc59-4338-86f7-cc718da05d98.webp?v=1752648329","variant_ids":[43302363168867]},"available":true,"name":"iPhone 13 mini Mod NX ilovedoodle Peek A Paw - 躲貓貓 - 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-XF48","featured_media":{"alt":null,"id":25829404508259,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eab950ee87d9aebf41bef49274e51fac5fc39208_1300fecb-bc59-4338-86f7-cc718da05d98.webp?v=1752648329"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null; $brand_handle = null; $type = ""; var sellingStatus // 只有設計款(SKU 含 '-')才需要合圖 if ($isMerge && $defaultVariant.sku.includes('-')) { $(document).ready(function() { var productImg = $product.images[0]; var bumperImg = window.getProductImageUrl($defaultVariant.sku.split('-')[0]); var layers = ($type === 'mod-nx-backplate' || $type === 'mod-backplate') ? [productImg, bumperImg] : [bumperImg, productImg]; window.mergeProductImages(layers).then(function (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: "停產" }