$product = {"id":7769704464483,"title":"iPhone 14 Plus Mod NX (MagSafe 兼容) ilovedoodle Lunar Mirage Cat - 月光貓","handle":"iphone-14-plus-mod-nx-magsafe-printable-xf53","description":null,"published_at":"2025-07-16T17:07:07+08:00","created_at":"2025-04-15T19:43:30+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":43303606976611,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-XF53","requires_shipping":true,"taxable":true,"featured_image":{"id":34197848326243,"product_id":7769704464483,"position":8,"created_at":"2025-07-16T15:23:29+08:00","updated_at":"2025-07-16T15:23:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec843c26f3da7f41807f8bad340ea664f3f7e142_9b3087f6-72d0-45c8-8d40-73b00c44368d.webp?v=1752650611","variant_ids":[43303606976611]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) ilovedoodle Lunar Mirage Cat - 月光貓 - 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-XF53","featured_media":{"alt":null,"id":25830134513763,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec843c26f3da7f41807f8bad340ea664f3f7e142_9b3087f6-72d0-45c8-8d40-73b00c44368d.webp?v=1752650611"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6e1b6c19be937b90c7af28ace997aff5073e044_4648dd0d-03ec-4cdf-8046-a59cff372f9e.webp?v=1744717416","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd205bea8cc41d33eff629f535d8b4002c688011_36527a5a-5e9d-4c40-9197-fd665632d708.webp?v=1752650608","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3722bb8743810ae5733ec506b4bcf0031135bfb4_7e830ff1-477b-482e-ac95-b485afeeb78b.webp?v=1752650608","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25393a1bed7ef72dd0f3407850f19b3f9bd41515_5dbb1671-99bb-4209-8fb9-93814a01cec3.webp?v=1752650609","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4d8f510ea7cfc4421a12efc6c1430be1701985b_a83c73c3-7895-4ed6-b3f3-d737799ef3e8.webp?v=1752650609","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2447c5405534199c3e4450f7b7162ee2133118fa_8312cb89-7ecf-461d-afee-fad9da64f9dd.webp?v=1752650610","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4e02f5af44d7576e62cfd19e76727a09210b092_8b67c554-c6b6-46d1-b9bd-b89013136c51.webp?v=1752650610","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec843c26f3da7f41807f8bad340ea664f3f7e142_9b3087f6-72d0-45c8-8d40-73b00c44368d.webp?v=1752650611","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7c206b1bdfe5947226a2db8921a31a925bb755c_bd726f05-f3ca-4f88-b7fa-57fc51cacd38.webp?v=1752650611","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c98be71c7b1479071dfaeb395452a1a2ede2adb5_d3d4db62-440e-4f61-99bd-a5482cb8b4f1.webp?v=1752650612","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6696c4e45bd590552b5e0b0616e2bf412abcd95_4233bf4c-ba6a-4bfb-a888-95409ffe3197.webp?v=1752650612","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d9a3c563a3da4bb930afd70bca191755ee7fa91_1a1f6415-c0f3-4869-af91-0fec8670578f.webp?v=1752650613","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89384db199c2695e47b330128bf3743c3d31cdca_15a8b581-a3a8-492d-8f07-531f88408e7e.webp?v=1752650613","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41e615008e7a9da57a3331ec359fdca77e18404a_69f7de15-416f-4df3-9b6b-5dd60fb94269.webp?v=1752650614"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6e1b6c19be937b90c7af28ace997aff5073e044_4648dd0d-03ec-4cdf-8046-a59cff372f9e.webp?v=1744717416","options":["color"],"media":[{"alt":null,"id":25496147165283,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6e1b6c19be937b90c7af28ace997aff5073e044_4648dd0d-03ec-4cdf-8046-a59cff372f9e.webp?v=1744717416"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6e1b6c19be937b90c7af28ace997aff5073e044_4648dd0d-03ec-4cdf-8046-a59cff372f9e.webp?v=1744717416","width":2000},{"alt":null,"id":25830132908131,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd205bea8cc41d33eff629f535d8b4002c688011_36527a5a-5e9d-4c40-9197-fd665632d708.webp?v=1752650608"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd205bea8cc41d33eff629f535d8b4002c688011_36527a5a-5e9d-4c40-9197-fd665632d708.webp?v=1752650608","width":2000},{"alt":null,"id":25830133137507,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3722bb8743810ae5733ec506b4bcf0031135bfb4_7e830ff1-477b-482e-ac95-b485afeeb78b.webp?v=1752650608"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3722bb8743810ae5733ec506b4bcf0031135bfb4_7e830ff1-477b-482e-ac95-b485afeeb78b.webp?v=1752650608","width":2000},{"alt":null,"id":25830133366883,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25393a1bed7ef72dd0f3407850f19b3f9bd41515_5dbb1671-99bb-4209-8fb9-93814a01cec3.webp?v=1752650609"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25393a1bed7ef72dd0f3407850f19b3f9bd41515_5dbb1671-99bb-4209-8fb9-93814a01cec3.webp?v=1752650609","width":2000},{"alt":null,"id":25830133563491,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4d8f510ea7cfc4421a12efc6c1430be1701985b_a83c73c3-7895-4ed6-b3f3-d737799ef3e8.webp?v=1752650609"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4d8f510ea7cfc4421a12efc6c1430be1701985b_a83c73c3-7895-4ed6-b3f3-d737799ef3e8.webp?v=1752650609","width":2000},{"alt":null,"id":25830133858403,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2447c5405534199c3e4450f7b7162ee2133118fa_8312cb89-7ecf-461d-afee-fad9da64f9dd.webp?v=1752650610"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2447c5405534199c3e4450f7b7162ee2133118fa_8312cb89-7ecf-461d-afee-fad9da64f9dd.webp?v=1752650610","width":2000},{"alt":null,"id":25830134218851,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4e02f5af44d7576e62cfd19e76727a09210b092_8b67c554-c6b6-46d1-b9bd-b89013136c51.webp?v=1752650610"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4e02f5af44d7576e62cfd19e76727a09210b092_8b67c554-c6b6-46d1-b9bd-b89013136c51.webp?v=1752650610","width":2000},{"alt":null,"id":25830134513763,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec843c26f3da7f41807f8bad340ea664f3f7e142_9b3087f6-72d0-45c8-8d40-73b00c44368d.webp?v=1752650611"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec843c26f3da7f41807f8bad340ea664f3f7e142_9b3087f6-72d0-45c8-8d40-73b00c44368d.webp?v=1752650611","width":2000},{"alt":null,"id":25830134808675,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7c206b1bdfe5947226a2db8921a31a925bb755c_bd726f05-f3ca-4f88-b7fa-57fc51cacd38.webp?v=1752650611"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7c206b1bdfe5947226a2db8921a31a925bb755c_bd726f05-f3ca-4f88-b7fa-57fc51cacd38.webp?v=1752650611","width":2000},{"alt":null,"id":25830135070819,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c98be71c7b1479071dfaeb395452a1a2ede2adb5_d3d4db62-440e-4f61-99bd-a5482cb8b4f1.webp?v=1752650612"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c98be71c7b1479071dfaeb395452a1a2ede2adb5_d3d4db62-440e-4f61-99bd-a5482cb8b4f1.webp?v=1752650612","width":2000},{"alt":null,"id":25830135365731,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6696c4e45bd590552b5e0b0616e2bf412abcd95_4233bf4c-ba6a-4bfb-a888-95409ffe3197.webp?v=1752650612"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6696c4e45bd590552b5e0b0616e2bf412abcd95_4233bf4c-ba6a-4bfb-a888-95409ffe3197.webp?v=1752650612","width":2000},{"alt":null,"id":25830135562339,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d9a3c563a3da4bb930afd70bca191755ee7fa91_1a1f6415-c0f3-4869-af91-0fec8670578f.webp?v=1752650613"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d9a3c563a3da4bb930afd70bca191755ee7fa91_1a1f6415-c0f3-4869-af91-0fec8670578f.webp?v=1752650613","width":2000},{"alt":null,"id":25830135758947,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89384db199c2695e47b330128bf3743c3d31cdca_15a8b581-a3a8-492d-8f07-531f88408e7e.webp?v=1752650613"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89384db199c2695e47b330128bf3743c3d31cdca_15a8b581-a3a8-492d-8f07-531f88408e7e.webp?v=1752650613","width":2000},{"alt":null,"id":25830135955555,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41e615008e7a9da57a3331ec359fdca77e18404a_69f7de15-416f-4df3-9b6b-5dd60fb94269.webp?v=1752650614"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41e615008e7a9da57a3331ec359fdca77e18404a_69f7de15-416f-4df3-9b6b-5dd60fb94269.webp?v=1752650614","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43303606976611,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-XF53","requires_shipping":true,"taxable":true,"featured_image":{"id":34197848326243,"product_id":7769704464483,"position":8,"created_at":"2025-07-16T15:23:29+08:00","updated_at":"2025-07-16T15:23:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec843c26f3da7f41807f8bad340ea664f3f7e142_9b3087f6-72d0-45c8-8d40-73b00c44368d.webp?v=1752650611","variant_ids":[43303606976611]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) ilovedoodle Lunar Mirage Cat - 月光貓 - 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-XF53","featured_media":{"alt":null,"id":25830134513763,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec843c26f3da7f41807f8bad340ea664f3f7e142_9b3087f6-72d0-45c8-8d40-73b00c44368d.webp?v=1752650611"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43303606976611,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-XF53","requires_shipping":true,"taxable":true,"featured_image":{"id":34197848326243,"product_id":7769704464483,"position":8,"created_at":"2025-07-16T15:23:29+08:00","updated_at":"2025-07-16T15:23:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec843c26f3da7f41807f8bad340ea664f3f7e142_9b3087f6-72d0-45c8-8d40-73b00c44368d.webp?v=1752650611","variant_ids":[43303606976611]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) ilovedoodle Lunar Mirage Cat - 月光貓 - 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-XF53","featured_media":{"alt":null,"id":25830134513763,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec843c26f3da7f41807f8bad340ea664f3f7e142_9b3087f6-72d0-45c8-8d40-73b00c44368d.webp?v=1752650611"}},"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: "停產" }