$product = {"id":7769401884771,"title":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) ilovedoodle Meowing Glory - 貓咪藤蔓","handle":"iphone-13-pro-max-mod-nx-magsafe-printable-xf50","description":null,"published_at":"2025-07-16T17:40:03+08:00","created_at":"2025-04-15T15:32:43+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 13 Pro Max","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":43302156107875,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-XF50","requires_shipping":true,"taxable":true,"featured_image":{"id":34197706244195,"product_id":7769401884771,"position":7,"created_at":"2025-07-16T15:21:22+08:00","updated_at":"2025-07-16T15:21:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7e77cbe9eb63a6001f3a10ef36f75f653f8328d_64cc9a89-af04-41e4-bf9a-d7b8315d11a1.webp?v=1752650483","variant_ids":[43302156107875]},"available":true,"name":"iPhone 13 Pro Max 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":"MPB0123224-XF50","featured_media":{"alt":null,"id":25830058950755,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7e77cbe9eb63a6001f3a10ef36f75f653f8328d_64cc9a89-af04-41e4-bf9a-d7b8315d11a1.webp?v=1752650483"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43302160629859,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-XF50","requires_shipping":true,"taxable":true,"featured_image":{"id":34197706997859,"product_id":7769401884771,"position":8,"created_at":"2025-07-16T15:21:22+08:00","updated_at":"2025-07-16T15:21:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff7f4274ae54e25063a252f546eb13ca395816bd_a03c66c4-1b0a-4e81-885f-4f6f7c2218a8.webp?v=1752650484","variant_ids":[43302160629859]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) ilovedoodle Meowing Glory - 貓咪藤蔓 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01232J5-XF50","featured_media":{"alt":null,"id":25830059769955,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff7f4274ae54e25063a252f546eb13ca395816bd_a03c66c4-1b0a-4e81-885f-4f6f7c2218a8.webp?v=1752650484"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cd61232ade62eebde3f4a746fdac20a70bf0c61_e7fa953f-c5d7-4599-89da-f9fb3d8081fc.webp?v=1744702371","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df424cf3cc79fe78d24dcf37e9e663a5e952e145_63234d6e-703d-49ac-9422-0abea3761873.webp?v=1752650480","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/498f1d4ee5322f6efd72e3be4446cc4b6e282277_eb1873ae-5780-4fd8-b012-cc2b7526088c.webp?v=1752650480","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8689ab2a0fe4c81804d825ff6ad4377e9690d5a_c3bfebec-3ede-44da-98b7-cf419a079611.webp?v=1752650481","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dccae98eba25b4cb9b766ceb39b255700fe0a079_dbca1ea6-0bb1-4270-bf82-15a301db930e.webp?v=1752650482","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7eacadd8b69895bd6bcd3c9cb1954b29ebe6eee2_cc726b53-63ed-48d1-8046-f6c50b294ed1.webp?v=1752650483","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7e77cbe9eb63a6001f3a10ef36f75f653f8328d_64cc9a89-af04-41e4-bf9a-d7b8315d11a1.webp?v=1752650483","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff7f4274ae54e25063a252f546eb13ca395816bd_a03c66c4-1b0a-4e81-885f-4f6f7c2218a8.webp?v=1752650484","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af6be0e94c96fc7f9d05dcc4cd006ee8d5ad746e_cd96bd32-790a-497e-af3f-8de01ff2274a.webp?v=1752650484","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e33c4f6c89a7d36a234eae4aaf75d15da44a978_33b3728b-6a5e-42fb-a8bd-19140a6fa6dc.webp?v=1752650485","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/729f02688c203b21935f824246863cc1e39474e4_ecfcf2c9-79cc-4be2-b3aa-e0ebc9b0071e.webp?v=1752650485","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3a29a9c125b6de036717382b1c8ada11433828f_2d035dab-e49b-4548-9e77-3f4e4a25b29e.webp?v=1752650486"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cd61232ade62eebde3f4a746fdac20a70bf0c61_e7fa953f-c5d7-4599-89da-f9fb3d8081fc.webp?v=1744702371","options":["color"],"media":[{"alt":null,"id":25495298834531,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cd61232ade62eebde3f4a746fdac20a70bf0c61_e7fa953f-c5d7-4599-89da-f9fb3d8081fc.webp?v=1744702371"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cd61232ade62eebde3f4a746fdac20a70bf0c61_e7fa953f-c5d7-4599-89da-f9fb3d8081fc.webp?v=1744702371","width":2000},{"alt":null,"id":25830055772259,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df424cf3cc79fe78d24dcf37e9e663a5e952e145_63234d6e-703d-49ac-9422-0abea3761873.webp?v=1752650480"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df424cf3cc79fe78d24dcf37e9e663a5e952e145_63234d6e-703d-49ac-9422-0abea3761873.webp?v=1752650480","width":2000},{"alt":null,"id":25830056001635,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/498f1d4ee5322f6efd72e3be4446cc4b6e282277_eb1873ae-5780-4fd8-b012-cc2b7526088c.webp?v=1752650480"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/498f1d4ee5322f6efd72e3be4446cc4b6e282277_eb1873ae-5780-4fd8-b012-cc2b7526088c.webp?v=1752650480","width":2000},{"alt":null,"id":25830056722531,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8689ab2a0fe4c81804d825ff6ad4377e9690d5a_c3bfebec-3ede-44da-98b7-cf419a079611.webp?v=1752650481"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8689ab2a0fe4c81804d825ff6ad4377e9690d5a_c3bfebec-3ede-44da-98b7-cf419a079611.webp?v=1752650481","width":2000},{"alt":null,"id":25830057607267,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dccae98eba25b4cb9b766ceb39b255700fe0a079_dbca1ea6-0bb1-4270-bf82-15a301db930e.webp?v=1752650482"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dccae98eba25b4cb9b766ceb39b255700fe0a079_dbca1ea6-0bb1-4270-bf82-15a301db930e.webp?v=1752650482","width":2000},{"alt":null,"id":25830058328163,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7eacadd8b69895bd6bcd3c9cb1954b29ebe6eee2_cc726b53-63ed-48d1-8046-f6c50b294ed1.webp?v=1752650483"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7eacadd8b69895bd6bcd3c9cb1954b29ebe6eee2_cc726b53-63ed-48d1-8046-f6c50b294ed1.webp?v=1752650483","width":2000},{"alt":null,"id":25830058950755,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7e77cbe9eb63a6001f3a10ef36f75f653f8328d_64cc9a89-af04-41e4-bf9a-d7b8315d11a1.webp?v=1752650483"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7e77cbe9eb63a6001f3a10ef36f75f653f8328d_64cc9a89-af04-41e4-bf9a-d7b8315d11a1.webp?v=1752650483","width":2000},{"alt":null,"id":25830059769955,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff7f4274ae54e25063a252f546eb13ca395816bd_a03c66c4-1b0a-4e81-885f-4f6f7c2218a8.webp?v=1752650484"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff7f4274ae54e25063a252f546eb13ca395816bd_a03c66c4-1b0a-4e81-885f-4f6f7c2218a8.webp?v=1752650484","width":2000},{"alt":null,"id":25830060261475,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af6be0e94c96fc7f9d05dcc4cd006ee8d5ad746e_cd96bd32-790a-497e-af3f-8de01ff2274a.webp?v=1752650484"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af6be0e94c96fc7f9d05dcc4cd006ee8d5ad746e_cd96bd32-790a-497e-af3f-8de01ff2274a.webp?v=1752650484","width":2000},{"alt":null,"id":25830060687459,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e33c4f6c89a7d36a234eae4aaf75d15da44a978_33b3728b-6a5e-42fb-a8bd-19140a6fa6dc.webp?v=1752650485"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e33c4f6c89a7d36a234eae4aaf75d15da44a978_33b3728b-6a5e-42fb-a8bd-19140a6fa6dc.webp?v=1752650485","width":2000},{"alt":null,"id":25830061146211,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/729f02688c203b21935f824246863cc1e39474e4_ecfcf2c9-79cc-4be2-b3aa-e0ebc9b0071e.webp?v=1752650485"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/729f02688c203b21935f824246863cc1e39474e4_ecfcf2c9-79cc-4be2-b3aa-e0ebc9b0071e.webp?v=1752650485","width":2000},{"alt":null,"id":25830061736035,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3a29a9c125b6de036717382b1c8ada11433828f_2d035dab-e49b-4548-9e77-3f4e4a25b29e.webp?v=1752650486"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3a29a9c125b6de036717382b1c8ada11433828f_2d035dab-e49b-4548-9e77-3f4e4a25b29e.webp?v=1752650486","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43302156107875,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-XF50","requires_shipping":true,"taxable":true,"featured_image":{"id":34197706244195,"product_id":7769401884771,"position":7,"created_at":"2025-07-16T15:21:22+08:00","updated_at":"2025-07-16T15:21:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7e77cbe9eb63a6001f3a10ef36f75f653f8328d_64cc9a89-af04-41e4-bf9a-d7b8315d11a1.webp?v=1752650483","variant_ids":[43302156107875]},"available":true,"name":"iPhone 13 Pro Max 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":"MPB0123224-XF50","featured_media":{"alt":null,"id":25830058950755,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7e77cbe9eb63a6001f3a10ef36f75f653f8328d_64cc9a89-af04-41e4-bf9a-d7b8315d11a1.webp?v=1752650483"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43302160629859,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-XF50","requires_shipping":true,"taxable":true,"featured_image":{"id":34197706997859,"product_id":7769401884771,"position":8,"created_at":"2025-07-16T15:21:22+08:00","updated_at":"2025-07-16T15:21:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff7f4274ae54e25063a252f546eb13ca395816bd_a03c66c4-1b0a-4e81-885f-4f6f7c2218a8.webp?v=1752650484","variant_ids":[43302160629859]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) ilovedoodle Meowing Glory - 貓咪藤蔓 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01232J5-XF50","featured_media":{"alt":null,"id":25830059769955,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff7f4274ae54e25063a252f546eb13ca395816bd_a03c66c4-1b0a-4e81-885f-4f6f7c2218a8.webp?v=1752650484"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43302156107875,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-XF50","requires_shipping":true,"taxable":true,"featured_image":{"id":34197706244195,"product_id":7769401884771,"position":7,"created_at":"2025-07-16T15:21:22+08:00","updated_at":"2025-07-16T15:21:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7e77cbe9eb63a6001f3a10ef36f75f653f8328d_64cc9a89-af04-41e4-bf9a-d7b8315d11a1.webp?v=1752650483","variant_ids":[43302156107875]},"available":true,"name":"iPhone 13 Pro Max 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":"MPB0123224-XF50","featured_media":{"alt":null,"id":25830058950755,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7e77cbe9eb63a6001f3a10ef36f75f653f8328d_64cc9a89-af04-41e4-bf9a-d7b8315d11a1.webp?v=1752650483"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null; $type = ""; var sellingStatus if ($isMerge) { $(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: "停產" }