$product = {"id":7769771606115,"title":"iPhone 14 Plus Mod NX (MagSafe 兼容) ilovedoodle Meowing Glory - 貓咪藤蔓","handle":"iphone-14-plus-mod-nx-magsafe-printable-xf50","description":null,"published_at":"2025-07-16T17:00:53+08:00","created_at":"2025-04-15T20:25: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":43303896940643,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-XF50","requires_shipping":true,"taxable":true,"featured_image":{"id":34197808480355,"product_id":7769771606115,"position":4,"created_at":"2025-07-16T15:22:53+08:00","updated_at":"2025-07-16T15:22:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e1f27dbf06f230e3dcff77314a3d60718649533_3fe2e676-c13e-4038-9c30-da91fc1f6ebb.webp?v=1752650574","variant_ids":[43303896940643]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) ilovedoodle Meowing Glory - 貓咪藤蔓 - 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-XF50","featured_media":{"alt":null,"id":25830112919651,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e1f27dbf06f230e3dcff77314a3d60718649533_3fe2e676-c13e-4038-9c30-da91fc1f6ebb.webp?v=1752650574"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81a937aa4506c666b2a2e7cbbb4d88fb18c6a06e.webp?v=1744719928","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2c4011a6f7319561067bbd3a48a07688021b318_a8ef266e-428c-48d8-b7e8-2f45bf357134.webp?v=1752650574","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5eef09cadf6b3eaf556f034e7b9c6de249d16bff_27ebd927-3b38-4afe-bb5d-de13094b2f07.webp?v=1752650574","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e1f27dbf06f230e3dcff77314a3d60718649533_3fe2e676-c13e-4038-9c30-da91fc1f6ebb.webp?v=1752650574","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5673cfaa3f90c975209e8d83140f7ec784a9014_fae7d44e-4c60-4342-a856-8684d8adc841.webp?v=1752650575","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2383b07a15db5db060eac4717f6394c3b067aae4_3d6c9deb-d436-4d3c-9771-acfafbb221d9.webp?v=1752650576","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/085fa4afd2445109d033bc7075d081b755b39ecb_6b2168fa-3de6-4dd8-a415-4a1103f69e81.webp?v=1752650576","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7d1fabdaeafa55656844b7f0d9995cf7c981e94_07ec15cf-0fdf-4010-96eb-0521b1de22aa.webp?v=1752650578","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26073da327762c5aa8f73b28b6c329867390ee10_f8585d43-55bd-429d-8a57-2df8cb1e400c.webp?v=1752650578","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f2c357e8c831cd4aef0d4b42aefb5cd73519791_5de6f6d3-61fb-4e18-a522-455251e94015.webp?v=1752650579","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bcbb2688576e8af682baaea16795be09585b2765_c7165d03-71e9-4aa3-a286-a207ae01d66a.webp?v=1752650580","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0d9a30be30fdd47de1f20ea62b9d3deeaf89146_84d05743-6fc8-4b2d-b4a5-54355d6a41f2.webp?v=1752650580","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/762926de5ed0da26ec5d34712b25345534c801f5_ec3b7264-5062-43e4-9bdc-6a60df692654.webp?v=1752650581","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55e73cefd72d696b05c0b3278e519b066291bbde_bb78d7d7-8939-4f2d-bbcf-f6521f0be9e9.webp?v=1752650582"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81a937aa4506c666b2a2e7cbbb4d88fb18c6a06e.webp?v=1744719928","options":["color"],"media":[{"alt":null,"id":25496264343651,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81a937aa4506c666b2a2e7cbbb4d88fb18c6a06e.webp?v=1744719928"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81a937aa4506c666b2a2e7cbbb4d88fb18c6a06e.webp?v=1744719928","width":2000},{"alt":null,"id":25830112133219,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2c4011a6f7319561067bbd3a48a07688021b318_a8ef266e-428c-48d8-b7e8-2f45bf357134.webp?v=1752650574"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2c4011a6f7319561067bbd3a48a07688021b318_a8ef266e-428c-48d8-b7e8-2f45bf357134.webp?v=1752650574","width":2000},{"alt":null,"id":25830112690275,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5eef09cadf6b3eaf556f034e7b9c6de249d16bff_27ebd927-3b38-4afe-bb5d-de13094b2f07.webp?v=1752650574"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5eef09cadf6b3eaf556f034e7b9c6de249d16bff_27ebd927-3b38-4afe-bb5d-de13094b2f07.webp?v=1752650574","width":2000},{"alt":null,"id":25830112919651,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e1f27dbf06f230e3dcff77314a3d60718649533_3fe2e676-c13e-4038-9c30-da91fc1f6ebb.webp?v=1752650574"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e1f27dbf06f230e3dcff77314a3d60718649533_3fe2e676-c13e-4038-9c30-da91fc1f6ebb.webp?v=1752650574","width":2000},{"alt":null,"id":25830113247331,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5673cfaa3f90c975209e8d83140f7ec784a9014_fae7d44e-4c60-4342-a856-8684d8adc841.webp?v=1752650575"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5673cfaa3f90c975209e8d83140f7ec784a9014_fae7d44e-4c60-4342-a856-8684d8adc841.webp?v=1752650575","width":2000},{"alt":null,"id":25830114295907,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2383b07a15db5db060eac4717f6394c3b067aae4_3d6c9deb-d436-4d3c-9771-acfafbb221d9.webp?v=1752650576"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2383b07a15db5db060eac4717f6394c3b067aae4_3d6c9deb-d436-4d3c-9771-acfafbb221d9.webp?v=1752650576","width":2000},{"alt":null,"id":25830114525283,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/085fa4afd2445109d033bc7075d081b755b39ecb_6b2168fa-3de6-4dd8-a415-4a1103f69e81.webp?v=1752650576"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/085fa4afd2445109d033bc7075d081b755b39ecb_6b2168fa-3de6-4dd8-a415-4a1103f69e81.webp?v=1752650576","width":2000},{"alt":null,"id":25830114820195,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7d1fabdaeafa55656844b7f0d9995cf7c981e94_07ec15cf-0fdf-4010-96eb-0521b1de22aa.webp?v=1752650578"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7d1fabdaeafa55656844b7f0d9995cf7c981e94_07ec15cf-0fdf-4010-96eb-0521b1de22aa.webp?v=1752650578","width":2000},{"alt":null,"id":25830115180643,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26073da327762c5aa8f73b28b6c329867390ee10_f8585d43-55bd-429d-8a57-2df8cb1e400c.webp?v=1752650578"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26073da327762c5aa8f73b28b6c329867390ee10_f8585d43-55bd-429d-8a57-2df8cb1e400c.webp?v=1752650578","width":2000},{"alt":null,"id":25830115934307,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f2c357e8c831cd4aef0d4b42aefb5cd73519791_5de6f6d3-61fb-4e18-a522-455251e94015.webp?v=1752650579"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f2c357e8c831cd4aef0d4b42aefb5cd73519791_5de6f6d3-61fb-4e18-a522-455251e94015.webp?v=1752650579","width":2000},{"alt":null,"id":25830116229219,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bcbb2688576e8af682baaea16795be09585b2765_c7165d03-71e9-4aa3-a286-a207ae01d66a.webp?v=1752650580"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bcbb2688576e8af682baaea16795be09585b2765_c7165d03-71e9-4aa3-a286-a207ae01d66a.webp?v=1752650580","width":2000},{"alt":null,"id":25830116687971,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0d9a30be30fdd47de1f20ea62b9d3deeaf89146_84d05743-6fc8-4b2d-b4a5-54355d6a41f2.webp?v=1752650580"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0d9a30be30fdd47de1f20ea62b9d3deeaf89146_84d05743-6fc8-4b2d-b4a5-54355d6a41f2.webp?v=1752650580","width":2000},{"alt":null,"id":25830117146723,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/762926de5ed0da26ec5d34712b25345534c801f5_ec3b7264-5062-43e4-9bdc-6a60df692654.webp?v=1752650581"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/762926de5ed0da26ec5d34712b25345534c801f5_ec3b7264-5062-43e4-9bdc-6a60df692654.webp?v=1752650581","width":2000},{"alt":null,"id":25830117441635,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55e73cefd72d696b05c0b3278e519b066291bbde_bb78d7d7-8939-4f2d-bbcf-f6521f0be9e9.webp?v=1752650582"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55e73cefd72d696b05c0b3278e519b066291bbde_bb78d7d7-8939-4f2d-bbcf-f6521f0be9e9.webp?v=1752650582","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43303896940643,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-XF50","requires_shipping":true,"taxable":true,"featured_image":{"id":34197808480355,"product_id":7769771606115,"position":4,"created_at":"2025-07-16T15:22:53+08:00","updated_at":"2025-07-16T15:22:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e1f27dbf06f230e3dcff77314a3d60718649533_3fe2e676-c13e-4038-9c30-da91fc1f6ebb.webp?v=1752650574","variant_ids":[43303896940643]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) ilovedoodle Meowing Glory - 貓咪藤蔓 - 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-XF50","featured_media":{"alt":null,"id":25830112919651,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e1f27dbf06f230e3dcff77314a3d60718649533_3fe2e676-c13e-4038-9c30-da91fc1f6ebb.webp?v=1752650574"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43303896940643,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-XF50","requires_shipping":true,"taxable":true,"featured_image":{"id":34197808480355,"product_id":7769771606115,"position":4,"created_at":"2025-07-16T15:22:53+08:00","updated_at":"2025-07-16T15:22:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e1f27dbf06f230e3dcff77314a3d60718649533_3fe2e676-c13e-4038-9c30-da91fc1f6ebb.webp?v=1752650574","variant_ids":[43303896940643]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) ilovedoodle Meowing Glory - 貓咪藤蔓 - 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-XF50","featured_media":{"alt":null,"id":25830112919651,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e1f27dbf06f230e3dcff77314a3d60718649533_3fe2e676-c13e-4038-9c30-da91fc1f6ebb.webp?v=1752650574"}},"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: "停產" }