$product = {"id":7769527517283,"title":"iPhone 14 Plus Mod NX (MagSafe 兼容) ilovedoodle Peek A Paw - 躲貓貓","handle":"iphone-14-plus-mod-nx-magsafe-printable-xf48","description":null,"published_at":"2025-07-16T17:26:49+08:00","created_at":"2025-04-15T17:21:21+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區I Love Doodle","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-ilovedoodle","device-iPhone 14 Plus","merge","reseller-ilovedoodle"],"price":110000,"price_min":110000,"price_max":110000,"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":43302769918051,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34197713125475,"product_id":7769527517283,"position":3,"created_at":"2025-07-16T15:21:29+08:00","updated_at":"2025-07-16T15:21:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f80fa9a5d30702d532b1ea9da4c943ab9e85639f_220e2b7e-ac6d-431d-b671-ff3ccd97f360.webp?v=1752650490","variant_ids":[43302769918051]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) ilovedoodle Peek A Paw - 躲貓貓 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-XF48","featured_media":{"alt":null,"id":25830063243363,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f80fa9a5d30702d532b1ea9da4c943ab9e85639f_220e2b7e-ac6d-431d-b671-ff3ccd97f360.webp?v=1752650490"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df3cd0cbb2a43e0931ac34cb9388d34194904b10.webp?v=1744708889","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d455cdace37d4d7230faebbafd8c39462661caab_a4174cd8-ae6a-4437-9c70-0e3e9a210d04.webp?v=1752650490","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f80fa9a5d30702d532b1ea9da4c943ab9e85639f_220e2b7e-ac6d-431d-b671-ff3ccd97f360.webp?v=1752650490","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54c3def69beaf9bad9e752b95d2e568486190bfe_7c65e6bf-44a2-432d-b799-b15917dea716.webp?v=1752650491","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af0733076b14f5dfd49cf21451b1255c8d818ded_620ad468-dd71-4da9-b532-1b833e82fd31.webp?v=1752650492","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40dca2f53f13275934c47c82383c44f6563490ab_38aa82f0-c7cb-4239-8d03-c70acd987543.webp?v=1752650492","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96ff1c8080a56695c3bd4f126a531965699c138d_e85de425-e53d-41ed-9d0a-1cf1d8a77138.webp?v=1752650493","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1905ad66ce52d9ab8d16770fa7c602411dbf8619_f678c5bb-b34a-48be-a5b7-3ad2f6802a8a.webp?v=1752650493","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1cd7ee63b6e37fe9f5e598b629f958a0b946abe_9991d9d4-b01f-4f2e-a7d6-2ba2c3e4008b.webp?v=1752650494","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0caac79b41088952d8692bca1ba6e1fbced63f64_eb68b420-3628-43cc-9375-9af2094b49fe.webp?v=1752650494","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd51383031d1b3a513c7540930c4ec05dc9ba70f_acec068d-9bb5-4100-8d23-5948b42984f8.webp?v=1752650495","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ed32fb87f3b3d8dda3501ff16a3666a1534daee_aeabaf9a-056c-4c4a-8fe1-b37b8dae377e.webp?v=1752650495","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b6d9902080d3bb5492046db810417eef631417f_bbc1b313-c229-43f7-aa00-b370f592768d.webp?v=1752650496","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f12c9c655f1cfd33f193b273fbceb95e02ca0d97_0e1ebbbb-f4a8-411b-be6a-d3dfcd608f7c.webp?v=1752650497"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df3cd0cbb2a43e0931ac34cb9388d34194904b10.webp?v=1744708889","options":["color"],"media":[{"alt":null,"id":25495707910243,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df3cd0cbb2a43e0931ac34cb9388d34194904b10.webp?v=1744708889"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df3cd0cbb2a43e0931ac34cb9388d34194904b10.webp?v=1744708889","width":2000},{"alt":null,"id":25830063177827,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d455cdace37d4d7230faebbafd8c39462661caab_a4174cd8-ae6a-4437-9c70-0e3e9a210d04.webp?v=1752650490"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d455cdace37d4d7230faebbafd8c39462661caab_a4174cd8-ae6a-4437-9c70-0e3e9a210d04.webp?v=1752650490","width":2000},{"alt":null,"id":25830063243363,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f80fa9a5d30702d532b1ea9da4c943ab9e85639f_220e2b7e-ac6d-431d-b671-ff3ccd97f360.webp?v=1752650490"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f80fa9a5d30702d532b1ea9da4c943ab9e85639f_220e2b7e-ac6d-431d-b671-ff3ccd97f360.webp?v=1752650490","width":2000},{"alt":null,"id":25830063374435,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54c3def69beaf9bad9e752b95d2e568486190bfe_7c65e6bf-44a2-432d-b799-b15917dea716.webp?v=1752650491"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54c3def69beaf9bad9e752b95d2e568486190bfe_7c65e6bf-44a2-432d-b799-b15917dea716.webp?v=1752650491","width":2000},{"alt":null,"id":25830063702115,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af0733076b14f5dfd49cf21451b1255c8d818ded_620ad468-dd71-4da9-b532-1b833e82fd31.webp?v=1752650492"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af0733076b14f5dfd49cf21451b1255c8d818ded_620ad468-dd71-4da9-b532-1b833e82fd31.webp?v=1752650492","width":2000},{"alt":null,"id":25830063833187,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40dca2f53f13275934c47c82383c44f6563490ab_38aa82f0-c7cb-4239-8d03-c70acd987543.webp?v=1752650492"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40dca2f53f13275934c47c82383c44f6563490ab_38aa82f0-c7cb-4239-8d03-c70acd987543.webp?v=1752650492","width":2000},{"alt":null,"id":25830063964259,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96ff1c8080a56695c3bd4f126a531965699c138d_e85de425-e53d-41ed-9d0a-1cf1d8a77138.webp?v=1752650493"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96ff1c8080a56695c3bd4f126a531965699c138d_e85de425-e53d-41ed-9d0a-1cf1d8a77138.webp?v=1752650493","width":2000},{"alt":null,"id":25830064128099,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1905ad66ce52d9ab8d16770fa7c602411dbf8619_f678c5bb-b34a-48be-a5b7-3ad2f6802a8a.webp?v=1752650493"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1905ad66ce52d9ab8d16770fa7c602411dbf8619_f678c5bb-b34a-48be-a5b7-3ad2f6802a8a.webp?v=1752650493","width":2000},{"alt":null,"id":25830064390243,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1cd7ee63b6e37fe9f5e598b629f958a0b946abe_9991d9d4-b01f-4f2e-a7d6-2ba2c3e4008b.webp?v=1752650494"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1cd7ee63b6e37fe9f5e598b629f958a0b946abe_9991d9d4-b01f-4f2e-a7d6-2ba2c3e4008b.webp?v=1752650494","width":2000},{"alt":null,"id":25830064717923,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0caac79b41088952d8692bca1ba6e1fbced63f64_eb68b420-3628-43cc-9375-9af2094b49fe.webp?v=1752650494"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0caac79b41088952d8692bca1ba6e1fbced63f64_eb68b420-3628-43cc-9375-9af2094b49fe.webp?v=1752650494","width":2000},{"alt":null,"id":25830065471587,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd51383031d1b3a513c7540930c4ec05dc9ba70f_acec068d-9bb5-4100-8d23-5948b42984f8.webp?v=1752650495"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd51383031d1b3a513c7540930c4ec05dc9ba70f_acec068d-9bb5-4100-8d23-5948b42984f8.webp?v=1752650495","width":2000},{"alt":null,"id":25830066028643,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ed32fb87f3b3d8dda3501ff16a3666a1534daee_aeabaf9a-056c-4c4a-8fe1-b37b8dae377e.webp?v=1752650495"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ed32fb87f3b3d8dda3501ff16a3666a1534daee_aeabaf9a-056c-4c4a-8fe1-b37b8dae377e.webp?v=1752650495","width":2000},{"alt":null,"id":25830066487395,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b6d9902080d3bb5492046db810417eef631417f_bbc1b313-c229-43f7-aa00-b370f592768d.webp?v=1752650496"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b6d9902080d3bb5492046db810417eef631417f_bbc1b313-c229-43f7-aa00-b370f592768d.webp?v=1752650496","width":2000},{"alt":null,"id":25830066946147,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f12c9c655f1cfd33f193b273fbceb95e02ca0d97_0e1ebbbb-f4a8-411b-be6a-d3dfcd608f7c.webp?v=1752650497"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f12c9c655f1cfd33f193b273fbceb95e02ca0d97_0e1ebbbb-f4a8-411b-be6a-d3dfcd608f7c.webp?v=1752650497","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43302769918051,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34197713125475,"product_id":7769527517283,"position":3,"created_at":"2025-07-16T15:21:29+08:00","updated_at":"2025-07-16T15:21:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f80fa9a5d30702d532b1ea9da4c943ab9e85639f_220e2b7e-ac6d-431d-b671-ff3ccd97f360.webp?v=1752650490","variant_ids":[43302769918051]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) ilovedoodle Peek A Paw - 躲貓貓 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-XF48","featured_media":{"alt":null,"id":25830063243363,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f80fa9a5d30702d532b1ea9da4c943ab9e85639f_220e2b7e-ac6d-431d-b671-ff3ccd97f360.webp?v=1752650490"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43302769918051,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34197713125475,"product_id":7769527517283,"position":3,"created_at":"2025-07-16T15:21:29+08:00","updated_at":"2025-07-16T15:21:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f80fa9a5d30702d532b1ea9da4c943ab9e85639f_220e2b7e-ac6d-431d-b671-ff3ccd97f360.webp?v=1752650490","variant_ids":[43302769918051]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) ilovedoodle Peek A Paw - 躲貓貓 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-XF48","featured_media":{"alt":null,"id":25830063243363,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f80fa9a5d30702d532b1ea9da4c943ab9e85639f_220e2b7e-ac6d-431d-b671-ff3ccd97f360.webp?v=1752650490"}},"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: "停產" }