$product = {"id":7411393921123,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - 小丑女 瘋狂的愛","handle":"iphone-14-pro-mod-nx-magsafe-printable-sb09","description":null,"published_at":"2024-06-11T17:43:46+08:00","created_at":"2024-05-05T00:21:17+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區Batman","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-batman","device-iPhone 14 Pro","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-batman","Top50","type-Mod NX Printable MagSafe Printable"],"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":41898331373667,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-SB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31480316526691,"product_id":7411393921123,"position":3,"created_at":"2024-05-05T00:21:24+08:00","updated_at":"2024-05-05T00:21:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e54394e4c9378f579cbacd94071696a2b2cdc8d9_f5dbbc7b-b4a9-4e27-8313-baa6e23dd11c.webp?v=1714839684","variant_ids":[41898331373667]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - 小丑女 瘋狂的愛 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-SB09","featured_media":{"alt":null,"id":23885568049251,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e54394e4c9378f579cbacd94071696a2b2cdc8d9_f5dbbc7b-b4a9-4e27-8313-baa6e23dd11c.webp?v=1714839684"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898331603043,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-SB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31480318230627,"product_id":7411393921123,"position":6,"created_at":"2024-05-05T00:21:32+08:00","updated_at":"2024-05-05T00:21:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/411def75e3e68616ab55dc5bbeb5f1361ccf40af_48e7bc00-29c7-41de-b164-d2eaef85967d.webp?v=1714839692","variant_ids":[41898331603043]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - 小丑女 瘋狂的愛 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-SB09","featured_media":{"alt":null,"id":23885569818723,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/411def75e3e68616ab55dc5bbeb5f1361ccf40af_48e7bc00-29c7-41de-b164-d2eaef85967d.webp?v=1714839692"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898332127331,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-SB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31480315805795,"product_id":7411393921123,"position":2,"created_at":"2024-05-05T00:21:22+08:00","updated_at":"2024-05-05T00:21:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06189452a07b816d3ed79d153063244124aa7813_a755189a-8584-4df5-98ef-85522dea3a75.webp?v=1714839682","variant_ids":[41898332127331]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - 小丑女 瘋狂的愛 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-SB09","featured_media":{"alt":null,"id":23885567393891,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06189452a07b816d3ed79d153063244124aa7813_a755189a-8584-4df5-98ef-85522dea3a75.webp?v=1714839682"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8704e88c8fdfc5740a4996dbcffe407c377ed1e0_13dbdcf7-6068-44e7-952b-74f78a9d8328.webp?v=1714839679","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06189452a07b816d3ed79d153063244124aa7813_a755189a-8584-4df5-98ef-85522dea3a75.webp?v=1714839682","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e54394e4c9378f579cbacd94071696a2b2cdc8d9_f5dbbc7b-b4a9-4e27-8313-baa6e23dd11c.webp?v=1714839684","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22072c4b671736973709b4cb1de8f672a95a4013_81479b3c-2661-4301-8a52-7a6d908cc280.webp?v=1714839687","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddffcad6965b2d58694202264aa3e4394e4abb90_9239f382-7477-4006-accd-b729a0ef78f4.webp?v=1714839690","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/411def75e3e68616ab55dc5bbeb5f1361ccf40af_48e7bc00-29c7-41de-b164-d2eaef85967d.webp?v=1714839692","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f04b1b00752ab9fec3cb750f233659293903a10a_bba21f42-6b40-4407-9b8f-e44a780fd056.webp?v=1714839695","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d383492c6242386a1a5bbde6a2780061fd2383b5_0d1dd159-6f11-4e13-a4d3-d00d765044fe.webp?v=1714839697","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fde815089899581946a62efd5437452301c7e847_372ed59a-c88f-4c22-bc21-121632155812.webp?v=1714839700","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8909798baa5758da8c6ab7e517d60b5a74d8367c_603a7ffe-3d16-4bb9-8054-26d5f031941a.webp?v=1714839702"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8704e88c8fdfc5740a4996dbcffe407c377ed1e0_13dbdcf7-6068-44e7-952b-74f78a9d8328.webp?v=1714839679","options":["color"],"media":[{"alt":null,"id":23885567000675,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8704e88c8fdfc5740a4996dbcffe407c377ed1e0_13dbdcf7-6068-44e7-952b-74f78a9d8328.webp?v=1714839679"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8704e88c8fdfc5740a4996dbcffe407c377ed1e0_13dbdcf7-6068-44e7-952b-74f78a9d8328.webp?v=1714839679","width":2000},{"alt":null,"id":23885567393891,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06189452a07b816d3ed79d153063244124aa7813_a755189a-8584-4df5-98ef-85522dea3a75.webp?v=1714839682"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06189452a07b816d3ed79d153063244124aa7813_a755189a-8584-4df5-98ef-85522dea3a75.webp?v=1714839682","width":2000},{"alt":null,"id":23885568049251,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e54394e4c9378f579cbacd94071696a2b2cdc8d9_f5dbbc7b-b4a9-4e27-8313-baa6e23dd11c.webp?v=1714839684"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e54394e4c9378f579cbacd94071696a2b2cdc8d9_f5dbbc7b-b4a9-4e27-8313-baa6e23dd11c.webp?v=1714839684","width":2000},{"alt":null,"id":23885568540771,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22072c4b671736973709b4cb1de8f672a95a4013_81479b3c-2661-4301-8a52-7a6d908cc280.webp?v=1714839687"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22072c4b671736973709b4cb1de8f672a95a4013_81479b3c-2661-4301-8a52-7a6d908cc280.webp?v=1714839687","width":2000},{"alt":null,"id":23885569327203,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddffcad6965b2d58694202264aa3e4394e4abb90_9239f382-7477-4006-accd-b729a0ef78f4.webp?v=1714839690"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddffcad6965b2d58694202264aa3e4394e4abb90_9239f382-7477-4006-accd-b729a0ef78f4.webp?v=1714839690","width":2000},{"alt":null,"id":23885569818723,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/411def75e3e68616ab55dc5bbeb5f1361ccf40af_48e7bc00-29c7-41de-b164-d2eaef85967d.webp?v=1714839692"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/411def75e3e68616ab55dc5bbeb5f1361ccf40af_48e7bc00-29c7-41de-b164-d2eaef85967d.webp?v=1714839692","width":2000},{"alt":null,"id":23885570343011,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f04b1b00752ab9fec3cb750f233659293903a10a_bba21f42-6b40-4407-9b8f-e44a780fd056.webp?v=1714839695"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f04b1b00752ab9fec3cb750f233659293903a10a_bba21f42-6b40-4407-9b8f-e44a780fd056.webp?v=1714839695","width":2000},{"alt":null,"id":23885570834531,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d383492c6242386a1a5bbde6a2780061fd2383b5_0d1dd159-6f11-4e13-a4d3-d00d765044fe.webp?v=1714839697"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d383492c6242386a1a5bbde6a2780061fd2383b5_0d1dd159-6f11-4e13-a4d3-d00d765044fe.webp?v=1714839697","width":2000},{"alt":null,"id":23885571358819,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fde815089899581946a62efd5437452301c7e847_372ed59a-c88f-4c22-bc21-121632155812.webp?v=1714839700"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fde815089899581946a62efd5437452301c7e847_372ed59a-c88f-4c22-bc21-121632155812.webp?v=1714839700","width":2000},{"alt":null,"id":23885571981411,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8909798baa5758da8c6ab7e517d60b5a74d8367c_603a7ffe-3d16-4bb9-8054-26d5f031941a.webp?v=1714839702"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8909798baa5758da8c6ab7e517d60b5a74d8367c_603a7ffe-3d16-4bb9-8054-26d5f031941a.webp?v=1714839702","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41898331373667,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-SB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31480316526691,"product_id":7411393921123,"position":3,"created_at":"2024-05-05T00:21:24+08:00","updated_at":"2024-05-05T00:21:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e54394e4c9378f579cbacd94071696a2b2cdc8d9_f5dbbc7b-b4a9-4e27-8313-baa6e23dd11c.webp?v=1714839684","variant_ids":[41898331373667]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - 小丑女 瘋狂的愛 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-SB09","featured_media":{"alt":null,"id":23885568049251,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e54394e4c9378f579cbacd94071696a2b2cdc8d9_f5dbbc7b-b4a9-4e27-8313-baa6e23dd11c.webp?v=1714839684"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898331603043,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-SB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31480318230627,"product_id":7411393921123,"position":6,"created_at":"2024-05-05T00:21:32+08:00","updated_at":"2024-05-05T00:21:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/411def75e3e68616ab55dc5bbeb5f1361ccf40af_48e7bc00-29c7-41de-b164-d2eaef85967d.webp?v=1714839692","variant_ids":[41898331603043]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - 小丑女 瘋狂的愛 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-SB09","featured_media":{"alt":null,"id":23885569818723,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/411def75e3e68616ab55dc5bbeb5f1361ccf40af_48e7bc00-29c7-41de-b164-d2eaef85967d.webp?v=1714839692"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898332127331,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-SB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31480315805795,"product_id":7411393921123,"position":2,"created_at":"2024-05-05T00:21:22+08:00","updated_at":"2024-05-05T00:21:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06189452a07b816d3ed79d153063244124aa7813_a755189a-8584-4df5-98ef-85522dea3a75.webp?v=1714839682","variant_ids":[41898332127331]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - 小丑女 瘋狂的愛 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-SB09","featured_media":{"alt":null,"id":23885567393891,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06189452a07b816d3ed79d153063244124aa7813_a755189a-8584-4df5-98ef-85522dea3a75.webp?v=1714839682"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41898331373667,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-SB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31480316526691,"product_id":7411393921123,"position":3,"created_at":"2024-05-05T00:21:24+08:00","updated_at":"2024-05-05T00:21:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e54394e4c9378f579cbacd94071696a2b2cdc8d9_f5dbbc7b-b4a9-4e27-8313-baa6e23dd11c.webp?v=1714839684","variant_ids":[41898331373667]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - 小丑女 瘋狂的愛 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-SB09","featured_media":{"alt":null,"id":23885568049251,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e54394e4c9378f579cbacd94071696a2b2cdc8d9_f5dbbc7b-b4a9-4e27-8313-baa6e23dd11c.webp?v=1714839684"}},"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: "停產" }