$product = {"id":7769539706979,"title":"iPhone 14 Plus Mod NX (MagSafe 兼容) ilovedoodle White Cat Flowers - 白貓花朵","handle":"iphone-14-plus-mod-nx-magsafe-printable-xf49","description":null,"published_at":"2025-07-16T17:25:39+08:00","created_at":"2025-04-15T17:30:19+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":43302827655267,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-XF49","requires_shipping":true,"taxable":true,"featured_image":{"id":34197858517091,"product_id":7769539706979,"position":4,"created_at":"2025-07-16T15:23:38+08:00","updated_at":"2025-07-16T15:23:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60d0e6757170d002910945893eacd548fe8d81dc_7cdd9b99-94b8-4d9b-bb09-4999c7e56f6f.webp?v=1752650620","variant_ids":[43302827655267]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) ilovedoodle White Cat Flowers - 白貓花朵 - 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-XF49","featured_media":{"alt":null,"id":25830140248163,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60d0e6757170d002910945893eacd548fe8d81dc_7cdd9b99-94b8-4d9b-bb09-4999c7e56f6f.webp?v=1752650620"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f041e91f2ef8b59b5b02ee1ce9930b4f0a8aecc.webp?v=1744709426","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9e2b80bda4fdf7860f52aee3b1778b5706389eb_89a61b12-a27b-4e6f-9719-954b5418726e.webp?v=1752650619","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b31f30a48c4ae56748aee3516d14c51cd71e847_6ed400ca-1ea2-462a-bd24-548f215cdd31.webp?v=1752650620","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60d0e6757170d002910945893eacd548fe8d81dc_7cdd9b99-94b8-4d9b-bb09-4999c7e56f6f.webp?v=1752650620","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e29055ab39544fc242f288463ca5cf9299f331f3_26a7a4c2-85b1-40f5-93ae-470a04cf4555.webp?v=1752650621","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abaa12d89af709e3df1ac3b47331dba3293b1726_400ce401-0542-4c9f-80d1-a1b0971c6731.webp?v=1752650621","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d22ae5cdf746f1cbb524bfedb37b7c9183735bf6_15262f37-9d8a-4685-b7b8-f2e089fc612e.webp?v=1752650622","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48fd258e817352cff7939814261f99ffaec356f6_4d4001eb-7996-49e1-a24c-2c537c716e76.webp?v=1752650623","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b328ae664835650f6efe2f4f526a27422b3bfb57_6fadd010-0f72-435d-8a1f-617da839d666.webp?v=1752650623","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ffdcd638f509542315c8c715b99660d7086098fd_a1f81ee6-d3dd-4349-b16f-3d98c47606d3.webp?v=1752650623","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8633ab2a2b325f2370d21b63505ac645df4176c5_3d66cf76-1129-4662-8969-0c99a8f905af.webp?v=1752650624","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/550962008e75f287f5e69d5fd39dfee130c6017d_1e79fba0-e728-42a4-8619-c03798adf868.webp?v=1752650624","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/681189484788ca2c6c585a408328e3ade8df0d30_18e65afc-8a6c-4d02-96bd-20c76d78a803.webp?v=1752650625","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f3b7f3c27e6dfd6f7eafd6d20681628f8b33ef9_a0ede134-74af-4738-ba87-123722df9ed3.webp?v=1752650626"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f041e91f2ef8b59b5b02ee1ce9930b4f0a8aecc.webp?v=1744709426","options":["color"],"media":[{"alt":null,"id":25495747559523,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f041e91f2ef8b59b5b02ee1ce9930b4f0a8aecc.webp?v=1744709426"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f041e91f2ef8b59b5b02ee1ce9930b4f0a8aecc.webp?v=1744709426","width":2000},{"alt":null,"id":25830139363427,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9e2b80bda4fdf7860f52aee3b1778b5706389eb_89a61b12-a27b-4e6f-9719-954b5418726e.webp?v=1752650619"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9e2b80bda4fdf7860f52aee3b1778b5706389eb_89a61b12-a27b-4e6f-9719-954b5418726e.webp?v=1752650619","width":2000},{"alt":null,"id":25830139625571,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b31f30a48c4ae56748aee3516d14c51cd71e847_6ed400ca-1ea2-462a-bd24-548f215cdd31.webp?v=1752650620"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b31f30a48c4ae56748aee3516d14c51cd71e847_6ed400ca-1ea2-462a-bd24-548f215cdd31.webp?v=1752650620","width":2000},{"alt":null,"id":25830140248163,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60d0e6757170d002910945893eacd548fe8d81dc_7cdd9b99-94b8-4d9b-bb09-4999c7e56f6f.webp?v=1752650620"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60d0e6757170d002910945893eacd548fe8d81dc_7cdd9b99-94b8-4d9b-bb09-4999c7e56f6f.webp?v=1752650620","width":2000},{"alt":null,"id":25830140444771,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e29055ab39544fc242f288463ca5cf9299f331f3_26a7a4c2-85b1-40f5-93ae-470a04cf4555.webp?v=1752650621"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e29055ab39544fc242f288463ca5cf9299f331f3_26a7a4c2-85b1-40f5-93ae-470a04cf4555.webp?v=1752650621","width":2000},{"alt":null,"id":25830140608611,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abaa12d89af709e3df1ac3b47331dba3293b1726_400ce401-0542-4c9f-80d1-a1b0971c6731.webp?v=1752650621"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abaa12d89af709e3df1ac3b47331dba3293b1726_400ce401-0542-4c9f-80d1-a1b0971c6731.webp?v=1752650621","width":2000},{"alt":null,"id":25830140772451,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d22ae5cdf746f1cbb524bfedb37b7c9183735bf6_15262f37-9d8a-4685-b7b8-f2e089fc612e.webp?v=1752650622"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d22ae5cdf746f1cbb524bfedb37b7c9183735bf6_15262f37-9d8a-4685-b7b8-f2e089fc612e.webp?v=1752650622","width":2000},{"alt":null,"id":25830140903523,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48fd258e817352cff7939814261f99ffaec356f6_4d4001eb-7996-49e1-a24c-2c537c716e76.webp?v=1752650623"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48fd258e817352cff7939814261f99ffaec356f6_4d4001eb-7996-49e1-a24c-2c537c716e76.webp?v=1752650623","width":2000},{"alt":null,"id":25830141001827,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b328ae664835650f6efe2f4f526a27422b3bfb57_6fadd010-0f72-435d-8a1f-617da839d666.webp?v=1752650623"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b328ae664835650f6efe2f4f526a27422b3bfb57_6fadd010-0f72-435d-8a1f-617da839d666.webp?v=1752650623","width":2000},{"alt":null,"id":25830141100131,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ffdcd638f509542315c8c715b99660d7086098fd_a1f81ee6-d3dd-4349-b16f-3d98c47606d3.webp?v=1752650623"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ffdcd638f509542315c8c715b99660d7086098fd_a1f81ee6-d3dd-4349-b16f-3d98c47606d3.webp?v=1752650623","width":2000},{"alt":null,"id":25830141198435,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8633ab2a2b325f2370d21b63505ac645df4176c5_3d66cf76-1129-4662-8969-0c99a8f905af.webp?v=1752650624"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8633ab2a2b325f2370d21b63505ac645df4176c5_3d66cf76-1129-4662-8969-0c99a8f905af.webp?v=1752650624","width":2000},{"alt":null,"id":25830141329507,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/550962008e75f287f5e69d5fd39dfee130c6017d_1e79fba0-e728-42a4-8619-c03798adf868.webp?v=1752650624"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/550962008e75f287f5e69d5fd39dfee130c6017d_1e79fba0-e728-42a4-8619-c03798adf868.webp?v=1752650624","width":2000},{"alt":null,"id":25830141395043,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/681189484788ca2c6c585a408328e3ade8df0d30_18e65afc-8a6c-4d02-96bd-20c76d78a803.webp?v=1752650625"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/681189484788ca2c6c585a408328e3ade8df0d30_18e65afc-8a6c-4d02-96bd-20c76d78a803.webp?v=1752650625","width":2000},{"alt":null,"id":25830141493347,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f3b7f3c27e6dfd6f7eafd6d20681628f8b33ef9_a0ede134-74af-4738-ba87-123722df9ed3.webp?v=1752650626"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f3b7f3c27e6dfd6f7eafd6d20681628f8b33ef9_a0ede134-74af-4738-ba87-123722df9ed3.webp?v=1752650626","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43302827655267,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-XF49","requires_shipping":true,"taxable":true,"featured_image":{"id":34197858517091,"product_id":7769539706979,"position":4,"created_at":"2025-07-16T15:23:38+08:00","updated_at":"2025-07-16T15:23:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60d0e6757170d002910945893eacd548fe8d81dc_7cdd9b99-94b8-4d9b-bb09-4999c7e56f6f.webp?v=1752650620","variant_ids":[43302827655267]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) ilovedoodle White Cat Flowers - 白貓花朵 - 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-XF49","featured_media":{"alt":null,"id":25830140248163,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60d0e6757170d002910945893eacd548fe8d81dc_7cdd9b99-94b8-4d9b-bb09-4999c7e56f6f.webp?v=1752650620"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43302827655267,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-XF49","requires_shipping":true,"taxable":true,"featured_image":{"id":34197858517091,"product_id":7769539706979,"position":4,"created_at":"2025-07-16T15:23:38+08:00","updated_at":"2025-07-16T15:23:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60d0e6757170d002910945893eacd548fe8d81dc_7cdd9b99-94b8-4d9b-bb09-4999c7e56f6f.webp?v=1752650620","variant_ids":[43302827655267]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) ilovedoodle White Cat Flowers - 白貓花朵 - 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-XF49","featured_media":{"alt":null,"id":25830140248163,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60d0e6757170d002910945893eacd548fe8d81dc_7cdd9b99-94b8-4d9b-bb09-4999c7e56f6f.webp?v=1752650620"}},"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: "停產" }