$product = {"id":7892124172387,"title":"iPhone 14 Pro Mod NX (MagSafe 兼容) 咻咻熊 熊泥抱抱","handle":"iphone-14-pro-mod-nx-magsafe-printable-fw54","description":null,"published_at":"2025-10-01T12:19:54+08:00","created_at":"2025-10-01T09:36:43+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-xiuxiubear","device-iPhone 14 Pro","merge","reseller-xiuxiubear"],"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":43754577002595,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-FW54","requires_shipping":true,"taxable":true,"featured_image":{"id":34540857327715,"product_id":7892124172387,"position":8,"created_at":"2025-10-01T09:36:51+08:00","updated_at":"2025-10-01T09:36:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8116b360b23b244d8c9df3369425e0667b6f9cb8.webp?v=1759282613","variant_ids":[43754577002595]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 咻咻熊 熊泥抱抱 - 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":"MPB01262J5-FW54","featured_media":{"alt":null,"id":26110624464995,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8116b360b23b244d8c9df3369425e0667b6f9cb8.webp?v=1759282613"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43754577166435,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-FW54","requires_shipping":true,"taxable":true,"featured_image":{"id":34540858048611,"product_id":7892124172387,"position":12,"created_at":"2025-10-01T09:36:53+08:00","updated_at":"2025-10-01T09:36:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb3e9a94d5d3b85824099f91154296d674885761.webp?v=1759282615","variant_ids":[43754577166435]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 咻咻熊 熊泥抱抱 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-FW54","featured_media":{"alt":null,"id":26110625185891,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb3e9a94d5d3b85824099f91154296d674885761.webp?v=1759282615"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43754577231971,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-FW54","requires_shipping":true,"taxable":true,"featured_image":{"id":34540855558243,"product_id":7892124172387,"position":3,"created_at":"2025-10-01T09:36:48+08:00","updated_at":"2025-10-01T09:36:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9efab453ad28733d46d2ce4ea51c8f59711cdc4c.webp?v=1759282610","variant_ids":[43754577231971]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 咻咻熊 熊泥抱抱 - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-FW54","featured_media":{"alt":null,"id":26110622695523,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9efab453ad28733d46d2ce4ea51c8f59711cdc4c.webp?v=1759282610"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1db37d023264012bcaa567afaa9a43ae5c25a635.webp?v=1759282609","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d3c1488d2db6709a77f3ba9458adc8b0371c1df.webp?v=1759282609","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9efab453ad28733d46d2ce4ea51c8f59711cdc4c.webp?v=1759282610","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8a55c5591b1d2061f6c933c357c05eb7c2d6c03.webp?v=1759282610","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/220b98c6d5a758f0066a21a239eb63355d9c894f.webp?v=1759282611","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01e2fd7491a88a30b5bc5336a5e10239ae6be6cf.webp?v=1759282611","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d525fdb8ec5ea1f6ad29c2c1a6293d7a664c25e.webp?v=1759282612","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8116b360b23b244d8c9df3369425e0667b6f9cb8.webp?v=1759282613","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c690d1a1f77c0964425486476d5e2667672a60ac.webp?v=1759282613","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7004ef54fb14419c00daf8a07d0684bcbe33798d.webp?v=1759282614","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d03946fe202ce990de7d1a482249ed121031495.webp?v=1759282614","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb3e9a94d5d3b85824099f91154296d674885761.webp?v=1759282615"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1db37d023264012bcaa567afaa9a43ae5c25a635.webp?v=1759282609","options":["color"],"media":[{"alt":null,"id":26110622466147,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1db37d023264012bcaa567afaa9a43ae5c25a635.webp?v=1759282609"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1db37d023264012bcaa567afaa9a43ae5c25a635.webp?v=1759282609","width":2000},{"alt":null,"id":26110622564451,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d3c1488d2db6709a77f3ba9458adc8b0371c1df.webp?v=1759282609"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d3c1488d2db6709a77f3ba9458adc8b0371c1df.webp?v=1759282609","width":2000},{"alt":null,"id":26110622695523,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9efab453ad28733d46d2ce4ea51c8f59711cdc4c.webp?v=1759282610"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9efab453ad28733d46d2ce4ea51c8f59711cdc4c.webp?v=1759282610","width":2000},{"alt":null,"id":26110623154275,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8a55c5591b1d2061f6c933c357c05eb7c2d6c03.webp?v=1759282610"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8a55c5591b1d2061f6c933c357c05eb7c2d6c03.webp?v=1759282610","width":2000},{"alt":null,"id":26110623449187,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/220b98c6d5a758f0066a21a239eb63355d9c894f.webp?v=1759282611"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/220b98c6d5a758f0066a21a239eb63355d9c894f.webp?v=1759282611","width":2000},{"alt":null,"id":26110623711331,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01e2fd7491a88a30b5bc5336a5e10239ae6be6cf.webp?v=1759282611"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01e2fd7491a88a30b5bc5336a5e10239ae6be6cf.webp?v=1759282611","width":2000},{"alt":null,"id":26110624202851,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d525fdb8ec5ea1f6ad29c2c1a6293d7a664c25e.webp?v=1759282612"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d525fdb8ec5ea1f6ad29c2c1a6293d7a664c25e.webp?v=1759282612","width":2000},{"alt":null,"id":26110624464995,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8116b360b23b244d8c9df3369425e0667b6f9cb8.webp?v=1759282613"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8116b360b23b244d8c9df3369425e0667b6f9cb8.webp?v=1759282613","width":2000},{"alt":null,"id":26110624694371,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c690d1a1f77c0964425486476d5e2667672a60ac.webp?v=1759282613"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c690d1a1f77c0964425486476d5e2667672a60ac.webp?v=1759282613","width":2000},{"alt":null,"id":26110624956515,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7004ef54fb14419c00daf8a07d0684bcbe33798d.webp?v=1759282614"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7004ef54fb14419c00daf8a07d0684bcbe33798d.webp?v=1759282614","width":2000},{"alt":null,"id":26110625120355,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d03946fe202ce990de7d1a482249ed121031495.webp?v=1759282614"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d03946fe202ce990de7d1a482249ed121031495.webp?v=1759282614","width":2000},{"alt":null,"id":26110625185891,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb3e9a94d5d3b85824099f91154296d674885761.webp?v=1759282615"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb3e9a94d5d3b85824099f91154296d674885761.webp?v=1759282615","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43754577002595,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-FW54","requires_shipping":true,"taxable":true,"featured_image":{"id":34540857327715,"product_id":7892124172387,"position":8,"created_at":"2025-10-01T09:36:51+08:00","updated_at":"2025-10-01T09:36:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8116b360b23b244d8c9df3369425e0667b6f9cb8.webp?v=1759282613","variant_ids":[43754577002595]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 咻咻熊 熊泥抱抱 - 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":"MPB01262J5-FW54","featured_media":{"alt":null,"id":26110624464995,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8116b360b23b244d8c9df3369425e0667b6f9cb8.webp?v=1759282613"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43754577166435,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-FW54","requires_shipping":true,"taxable":true,"featured_image":{"id":34540858048611,"product_id":7892124172387,"position":12,"created_at":"2025-10-01T09:36:53+08:00","updated_at":"2025-10-01T09:36:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb3e9a94d5d3b85824099f91154296d674885761.webp?v=1759282615","variant_ids":[43754577166435]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 咻咻熊 熊泥抱抱 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-FW54","featured_media":{"alt":null,"id":26110625185891,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb3e9a94d5d3b85824099f91154296d674885761.webp?v=1759282615"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43754577231971,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-FW54","requires_shipping":true,"taxable":true,"featured_image":{"id":34540855558243,"product_id":7892124172387,"position":3,"created_at":"2025-10-01T09:36:48+08:00","updated_at":"2025-10-01T09:36:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9efab453ad28733d46d2ce4ea51c8f59711cdc4c.webp?v=1759282610","variant_ids":[43754577231971]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 咻咻熊 熊泥抱抱 - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-FW54","featured_media":{"alt":null,"id":26110622695523,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9efab453ad28733d46d2ce4ea51c8f59711cdc4c.webp?v=1759282610"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43754577002595,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-FW54","requires_shipping":true,"taxable":true,"featured_image":{"id":34540857327715,"product_id":7892124172387,"position":8,"created_at":"2025-10-01T09:36:51+08:00","updated_at":"2025-10-01T09:36:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8116b360b23b244d8c9df3369425e0667b6f9cb8.webp?v=1759282613","variant_ids":[43754577002595]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 咻咻熊 熊泥抱抱 - 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":"MPB01262J5-FW54","featured_media":{"alt":null,"id":26110624464995,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8116b360b23b244d8c9df3369425e0667b6f9cb8.webp?v=1759282613"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null var sellingStatus if ($bumper) { $(document).ready(function() { var productImg = $product.images[0] var bumperVariants = $bumper.variants; var bumperColors = new Object(); var currentVariant = ''; var productType = ''; bumperVariants.forEach(variant => { bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src; }); if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') { mergeImages( [productImg, bumperColors[currentVariant]], { crossOrigin: 'anonymous' } ).then(mergedImg => { $('.merged-img').attr('src', mergedImg); }); } else { mergeImages( [bumperColors[currentVariant], productImg], { crossOrigin: 'anonymous' } ).then(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: "停產" }