$product = {"id":7769489211491,"title":"iPhone 14 Plus Mod NX (MagSafe 兼容) ilovedoodle Love Keeps Our Hearts Warm - 溫暖的愛","handle":"iphone-14-plus-mod-nx-magsafe-printable-xf56","description":null,"published_at":"2025-07-04T14:49:20+08:00","created_at":"2025-04-15T16:49:35+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":43302593658979,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-XF56","requires_shipping":true,"taxable":true,"featured_image":{"id":34197738848355,"product_id":7769489211491,"position":10,"created_at":"2025-07-16T15:21:51+08:00","updated_at":"2025-07-16T15:21:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77ca395b3a0e53ec39a5c22eac96d3b9da8cad86_acd55229-d0c0-4ff4-84b6-1e2aac0ae7db.webp?v=1752650513","variant_ids":[43302593658979]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) ilovedoodle Love Keeps Our Hearts Warm - 溫暖的愛 - 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-XF56","featured_media":{"alt":null,"id":25830076940387,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77ca395b3a0e53ec39a5c22eac96d3b9da8cad86_acd55229-d0c0-4ff4-84b6-1e2aac0ae7db.webp?v=1752650513"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/549839f74f1102349c96ca3580dc659eddb4a186.webp?v=1744706981","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b66f2502841a30b455f2ca7896e785ec7c8cb4e9_33255cc0-a028-465e-94dc-c90d44bdd7d1.webp?v=1752650507","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23a4e71538d7159c08a63a17a45a9b31ed711d55_916187ef-f85a-41e7-83b5-9795319d3ad9.webp?v=1752650508","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f913c92f6a60fa485753870ab7e5bea5b90565b2_54faac84-d22d-4785-b4b9-6f151eab7647.webp?v=1752650508","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a352f0fedd0513b9fe911a17a962f2397da9df63_a2748c8d-2189-45cf-9741-5225dedd511d.webp?v=1752650509","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a51f28041728c1c65aaeeaa6fe530495cdf56971_0446284a-7df3-423c-bb02-5934cc9bd1ba.webp?v=1752650510","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fca597d3e954221ef6f67720ea6542cfc4fda2ef_12f2c16c-18e4-4df4-9b28-e3a94c964d9d.webp?v=1752650510","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8169bfc8dac61fbb99515feec9384bd5d324d449_2c7db745-dba1-4b9b-9af6-35f56d428a10.webp?v=1752650511","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/148dd8633fdbedf6d0f293fe9ff688c55a7a7670_a15f4f68-b5f4-4500-be4c-9efc18f6ed58.webp?v=1752650512","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77ca395b3a0e53ec39a5c22eac96d3b9da8cad86_acd55229-d0c0-4ff4-84b6-1e2aac0ae7db.webp?v=1752650513","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99d72a524c8cf9b5129fc76c8764dd4678a083f2_d439bfbf-3759-4650-a237-8e6a476733ce.webp?v=1752650514","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9b35552ac3172126892db7e2b9d85db1af3870b_e7f1da17-a759-4d4f-b646-03b4fd15bb69.webp?v=1752650515","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08a90091c1c90c625493adf8bc4eb8a41cfdb572_8a9362fa-7c6d-4796-a753-0ae988560be3.webp?v=1752650515","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc2ba51859d031c26a481d80bc108a4586f7ff68_026eddd6-38c9-443e-83b7-a1da42cfeff6.webp?v=1752650516"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/549839f74f1102349c96ca3580dc659eddb4a186.webp?v=1744706981","options":["color"],"media":[{"alt":null,"id":25495588175971,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/549839f74f1102349c96ca3580dc659eddb4a186.webp?v=1744706981"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/549839f74f1102349c96ca3580dc659eddb4a186.webp?v=1744706981","width":2000},{"alt":null,"id":25830072844387,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b66f2502841a30b455f2ca7896e785ec7c8cb4e9_33255cc0-a028-465e-94dc-c90d44bdd7d1.webp?v=1752650507"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b66f2502841a30b455f2ca7896e785ec7c8cb4e9_33255cc0-a028-465e-94dc-c90d44bdd7d1.webp?v=1752650507","width":2000},{"alt":null,"id":25830073270371,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23a4e71538d7159c08a63a17a45a9b31ed711d55_916187ef-f85a-41e7-83b5-9795319d3ad9.webp?v=1752650508"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23a4e71538d7159c08a63a17a45a9b31ed711d55_916187ef-f85a-41e7-83b5-9795319d3ad9.webp?v=1752650508","width":2000},{"alt":null,"id":25830073892963,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f913c92f6a60fa485753870ab7e5bea5b90565b2_54faac84-d22d-4785-b4b9-6f151eab7647.webp?v=1752650508"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f913c92f6a60fa485753870ab7e5bea5b90565b2_54faac84-d22d-4785-b4b9-6f151eab7647.webp?v=1752650508","width":2000},{"alt":null,"id":25830074417251,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a352f0fedd0513b9fe911a17a962f2397da9df63_a2748c8d-2189-45cf-9741-5225dedd511d.webp?v=1752650509"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a352f0fedd0513b9fe911a17a962f2397da9df63_a2748c8d-2189-45cf-9741-5225dedd511d.webp?v=1752650509","width":2000},{"alt":null,"id":25830074941539,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a51f28041728c1c65aaeeaa6fe530495cdf56971_0446284a-7df3-423c-bb02-5934cc9bd1ba.webp?v=1752650510"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a51f28041728c1c65aaeeaa6fe530495cdf56971_0446284a-7df3-423c-bb02-5934cc9bd1ba.webp?v=1752650510","width":2000},{"alt":null,"id":25830075334755,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fca597d3e954221ef6f67720ea6542cfc4fda2ef_12f2c16c-18e4-4df4-9b28-e3a94c964d9d.webp?v=1752650510"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fca597d3e954221ef6f67720ea6542cfc4fda2ef_12f2c16c-18e4-4df4-9b28-e3a94c964d9d.webp?v=1752650510","width":2000},{"alt":null,"id":25830075727971,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8169bfc8dac61fbb99515feec9384bd5d324d449_2c7db745-dba1-4b9b-9af6-35f56d428a10.webp?v=1752650511"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8169bfc8dac61fbb99515feec9384bd5d324d449_2c7db745-dba1-4b9b-9af6-35f56d428a10.webp?v=1752650511","width":2000},{"alt":null,"id":25830076088419,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/148dd8633fdbedf6d0f293fe9ff688c55a7a7670_a15f4f68-b5f4-4500-be4c-9efc18f6ed58.webp?v=1752650512"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/148dd8633fdbedf6d0f293fe9ff688c55a7a7670_a15f4f68-b5f4-4500-be4c-9efc18f6ed58.webp?v=1752650512","width":2000},{"alt":null,"id":25830076940387,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77ca395b3a0e53ec39a5c22eac96d3b9da8cad86_acd55229-d0c0-4ff4-84b6-1e2aac0ae7db.webp?v=1752650513"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77ca395b3a0e53ec39a5c22eac96d3b9da8cad86_acd55229-d0c0-4ff4-84b6-1e2aac0ae7db.webp?v=1752650513","width":2000},{"alt":null,"id":25830077333603,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99d72a524c8cf9b5129fc76c8764dd4678a083f2_d439bfbf-3759-4650-a237-8e6a476733ce.webp?v=1752650514"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99d72a524c8cf9b5129fc76c8764dd4678a083f2_d439bfbf-3759-4650-a237-8e6a476733ce.webp?v=1752650514","width":2000},{"alt":null,"id":25830077661283,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9b35552ac3172126892db7e2b9d85db1af3870b_e7f1da17-a759-4d4f-b646-03b4fd15bb69.webp?v=1752650515"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9b35552ac3172126892db7e2b9d85db1af3870b_e7f1da17-a759-4d4f-b646-03b4fd15bb69.webp?v=1752650515","width":2000},{"alt":null,"id":25830077956195,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08a90091c1c90c625493adf8bc4eb8a41cfdb572_8a9362fa-7c6d-4796-a753-0ae988560be3.webp?v=1752650515"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08a90091c1c90c625493adf8bc4eb8a41cfdb572_8a9362fa-7c6d-4796-a753-0ae988560be3.webp?v=1752650515","width":2000},{"alt":null,"id":25830078218339,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc2ba51859d031c26a481d80bc108a4586f7ff68_026eddd6-38c9-443e-83b7-a1da42cfeff6.webp?v=1752650516"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc2ba51859d031c26a481d80bc108a4586f7ff68_026eddd6-38c9-443e-83b7-a1da42cfeff6.webp?v=1752650516","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43302593658979,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-XF56","requires_shipping":true,"taxable":true,"featured_image":{"id":34197738848355,"product_id":7769489211491,"position":10,"created_at":"2025-07-16T15:21:51+08:00","updated_at":"2025-07-16T15:21:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77ca395b3a0e53ec39a5c22eac96d3b9da8cad86_acd55229-d0c0-4ff4-84b6-1e2aac0ae7db.webp?v=1752650513","variant_ids":[43302593658979]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) ilovedoodle Love Keeps Our Hearts Warm - 溫暖的愛 - 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-XF56","featured_media":{"alt":null,"id":25830076940387,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77ca395b3a0e53ec39a5c22eac96d3b9da8cad86_acd55229-d0c0-4ff4-84b6-1e2aac0ae7db.webp?v=1752650513"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43302593658979,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-XF56","requires_shipping":true,"taxable":true,"featured_image":{"id":34197738848355,"product_id":7769489211491,"position":10,"created_at":"2025-07-16T15:21:51+08:00","updated_at":"2025-07-16T15:21:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77ca395b3a0e53ec39a5c22eac96d3b9da8cad86_acd55229-d0c0-4ff4-84b6-1e2aac0ae7db.webp?v=1752650513","variant_ids":[43302593658979]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) ilovedoodle Love Keeps Our Hearts Warm - 溫暖的愛 - 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-XF56","featured_media":{"alt":null,"id":25830076940387,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77ca395b3a0e53ec39a5c22eac96d3b9da8cad86_acd55229-d0c0-4ff4-84b6-1e2aac0ae7db.webp?v=1752650513"}},"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: "停產" }