$product = {"id":7769539117155,"title":"iPhone 14 Plus Mod NX ilovedoodle Lunar Mirage Cat - 月光貓","handle":"iphone-14-plus-mod-nx-printable-xf53","description":null,"published_at":"2025-07-16T17:25:42+08:00","created_at":"2025-04-15T17:29:55+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 14 Plus","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":43302823657571,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-XF53","requires_shipping":true,"taxable":true,"featured_image":{"id":34197049475171,"product_id":7769539117155,"position":7,"created_at":"2025-07-16T14:57:27+08:00","updated_at":"2025-07-16T14:57:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aff0539c8c747ad0e56c94e517951e37a81cbc1c_7c53728f-6d46-42ed-82bd-ba59eeaf048f.webp?v=1752649049","variant_ids":[43302823657571]},"available":true,"name":"iPhone 14 Plus Mod NX ilovedoodle Lunar Mirage Cat - 月光貓 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126124-XF53","featured_media":{"alt":null,"id":25829687492707,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aff0539c8c747ad0e56c94e517951e37a81cbc1c_7c53728f-6d46-42ed-82bd-ba59eeaf048f.webp?v=1752649049"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6e1b6c19be937b90c7af28ace997aff5073e044.webp?v=1744709402","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a11ca41cabb292bb1d7f3f9c8ce390f8a121f90_d73c8271-f82c-461f-b197-f90fc39b5027.webp?v=1752649046","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9d83ba7e789f6477585b52aa13223ec845852bc_15e26b45-169c-4520-a3d9-4b70219ea009.webp?v=1752649046","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61379390d07198b4ae1711c2fe71cbf4e06f895b_61c3e103-5d3d-4e4e-b118-8fcaaa9e8c9c.webp?v=1752649047","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14d7472829a4a9380ac5ed2e770011b5fb7699b7_a7c51529-02d8-49d9-89f1-7445fd574728.webp?v=1752649048","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f124ea6947e6235f4d3830d441cfaf7f65037db_564d282d-18ac-4031-8379-5a0df56a69e9.webp?v=1752649048","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aff0539c8c747ad0e56c94e517951e37a81cbc1c_7c53728f-6d46-42ed-82bd-ba59eeaf048f.webp?v=1752649049","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2be8572f0fae91cf1064b832cb68ea629b6e8594_e7ecfae0-b830-4d6d-9dbd-3e37f85be08a.webp?v=1752649049","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb5c064f2a1beacf9d8798b8cfd59b79fe3707e9_a30b184c-74ce-453e-9a35-69ce34470444.webp?v=1752649050","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ad7dd8093e5c774bcb43af629c783a844e343a5_cef21126-20d5-42b9-80a8-f4dffe32498f.webp?v=1752649051","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4d9f12b61122974c0715144c28d10b77d494abb_9970d901-f5bb-4289-beb9-98f1c591e667.webp?v=1752649051","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e62b266445e6366af961977921948ffd40167164_9457e0fa-a12f-4db9-a292-427676d7608d.webp?v=1752649051","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f981bdcc9dd63e7affd7549e17984860bb2b89fd_cb3338a2-8ed4-4848-b00a-df3a09890940.webp?v=1752649052","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/efc5cd060772f96aa24962269f8d98113d9c0bb9_3c183f24-f9f7-4ec2-94e4-95b37cb54168.webp?v=1752649053"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6e1b6c19be937b90c7af28ace997aff5073e044.webp?v=1744709402","options":["color"],"media":[{"alt":null,"id":25495744381027,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6e1b6c19be937b90c7af28ace997aff5073e044.webp?v=1744709402"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6e1b6c19be937b90c7af28ace997aff5073e044.webp?v=1744709402","width":2000},{"alt":null,"id":25829685919843,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a11ca41cabb292bb1d7f3f9c8ce390f8a121f90_d73c8271-f82c-461f-b197-f90fc39b5027.webp?v=1752649046"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a11ca41cabb292bb1d7f3f9c8ce390f8a121f90_d73c8271-f82c-461f-b197-f90fc39b5027.webp?v=1752649046","width":2000},{"alt":null,"id":25829686050915,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9d83ba7e789f6477585b52aa13223ec845852bc_15e26b45-169c-4520-a3d9-4b70219ea009.webp?v=1752649046"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9d83ba7e789f6477585b52aa13223ec845852bc_15e26b45-169c-4520-a3d9-4b70219ea009.webp?v=1752649046","width":2000},{"alt":null,"id":25829686640739,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61379390d07198b4ae1711c2fe71cbf4e06f895b_61c3e103-5d3d-4e4e-b118-8fcaaa9e8c9c.webp?v=1752649047"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61379390d07198b4ae1711c2fe71cbf4e06f895b_61c3e103-5d3d-4e4e-b118-8fcaaa9e8c9c.webp?v=1752649047","width":2000},{"alt":null,"id":25829687165027,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14d7472829a4a9380ac5ed2e770011b5fb7699b7_a7c51529-02d8-49d9-89f1-7445fd574728.webp?v=1752649048"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14d7472829a4a9380ac5ed2e770011b5fb7699b7_a7c51529-02d8-49d9-89f1-7445fd574728.webp?v=1752649048","width":2000},{"alt":null,"id":25829687361635,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f124ea6947e6235f4d3830d441cfaf7f65037db_564d282d-18ac-4031-8379-5a0df56a69e9.webp?v=1752649048"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f124ea6947e6235f4d3830d441cfaf7f65037db_564d282d-18ac-4031-8379-5a0df56a69e9.webp?v=1752649048","width":2000},{"alt":null,"id":25829687492707,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aff0539c8c747ad0e56c94e517951e37a81cbc1c_7c53728f-6d46-42ed-82bd-ba59eeaf048f.webp?v=1752649049"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aff0539c8c747ad0e56c94e517951e37a81cbc1c_7c53728f-6d46-42ed-82bd-ba59eeaf048f.webp?v=1752649049","width":2000},{"alt":null,"id":25829687689315,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2be8572f0fae91cf1064b832cb68ea629b6e8594_e7ecfae0-b830-4d6d-9dbd-3e37f85be08a.webp?v=1752649049"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2be8572f0fae91cf1064b832cb68ea629b6e8594_e7ecfae0-b830-4d6d-9dbd-3e37f85be08a.webp?v=1752649049","width":2000},{"alt":null,"id":25829687820387,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb5c064f2a1beacf9d8798b8cfd59b79fe3707e9_a30b184c-74ce-453e-9a35-69ce34470444.webp?v=1752649050"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb5c064f2a1beacf9d8798b8cfd59b79fe3707e9_a30b184c-74ce-453e-9a35-69ce34470444.webp?v=1752649050","width":2000},{"alt":null,"id":25829687984227,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ad7dd8093e5c774bcb43af629c783a844e343a5_cef21126-20d5-42b9-80a8-f4dffe32498f.webp?v=1752649051"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ad7dd8093e5c774bcb43af629c783a844e343a5_cef21126-20d5-42b9-80a8-f4dffe32498f.webp?v=1752649051","width":2000},{"alt":null,"id":25829688377443,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4d9f12b61122974c0715144c28d10b77d494abb_9970d901-f5bb-4289-beb9-98f1c591e667.webp?v=1752649051"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4d9f12b61122974c0715144c28d10b77d494abb_9970d901-f5bb-4289-beb9-98f1c591e667.webp?v=1752649051","width":2000},{"alt":null,"id":25829688541283,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e62b266445e6366af961977921948ffd40167164_9457e0fa-a12f-4db9-a292-427676d7608d.webp?v=1752649051"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e62b266445e6366af961977921948ffd40167164_9457e0fa-a12f-4db9-a292-427676d7608d.webp?v=1752649051","width":2000},{"alt":null,"id":25829688770659,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f981bdcc9dd63e7affd7549e17984860bb2b89fd_cb3338a2-8ed4-4848-b00a-df3a09890940.webp?v=1752649052"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f981bdcc9dd63e7affd7549e17984860bb2b89fd_cb3338a2-8ed4-4848-b00a-df3a09890940.webp?v=1752649052","width":2000},{"alt":null,"id":25829688901731,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/efc5cd060772f96aa24962269f8d98113d9c0bb9_3c183f24-f9f7-4ec2-94e4-95b37cb54168.webp?v=1752649053"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/efc5cd060772f96aa24962269f8d98113d9c0bb9_3c183f24-f9f7-4ec2-94e4-95b37cb54168.webp?v=1752649053","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43302823657571,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-XF53","requires_shipping":true,"taxable":true,"featured_image":{"id":34197049475171,"product_id":7769539117155,"position":7,"created_at":"2025-07-16T14:57:27+08:00","updated_at":"2025-07-16T14:57:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aff0539c8c747ad0e56c94e517951e37a81cbc1c_7c53728f-6d46-42ed-82bd-ba59eeaf048f.webp?v=1752649049","variant_ids":[43302823657571]},"available":true,"name":"iPhone 14 Plus Mod NX ilovedoodle Lunar Mirage Cat - 月光貓 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126124-XF53","featured_media":{"alt":null,"id":25829687492707,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aff0539c8c747ad0e56c94e517951e37a81cbc1c_7c53728f-6d46-42ed-82bd-ba59eeaf048f.webp?v=1752649049"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43302823657571,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-XF53","requires_shipping":true,"taxable":true,"featured_image":{"id":34197049475171,"product_id":7769539117155,"position":7,"created_at":"2025-07-16T14:57:27+08:00","updated_at":"2025-07-16T14:57:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aff0539c8c747ad0e56c94e517951e37a81cbc1c_7c53728f-6d46-42ed-82bd-ba59eeaf048f.webp?v=1752649049","variant_ids":[43302823657571]},"available":true,"name":"iPhone 14 Plus Mod NX ilovedoodle Lunar Mirage Cat - 月光貓 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126124-XF53","featured_media":{"alt":null,"id":25829687492707,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aff0539c8c747ad0e56c94e517951e37a81cbc1c_7c53728f-6d46-42ed-82bd-ba59eeaf048f.webp?v=1752649049"}},"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: "停產" }