$product = {"id":7411431047267,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Weiweiboy - 超級可愛大王","handle":"iphone-14-pro-mod-nx-magsafe-printable-eo01","description":null,"published_at":"2024-06-11T17:44:49+08:00","created_at":"2024-05-05T00:28:30+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區Weiweiboy","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-weiweiboy","device-iPhone 14 Pro","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-weiweiboy","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":41898804412515,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-EO01","requires_shipping":true,"taxable":true,"featured_image":{"id":31480408080483,"product_id":7411431047267,"position":4,"created_at":"2024-05-05T00:28:40+08:00","updated_at":"2024-05-05T00:28:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94a33e9b95b4079c102a08013e064cb73e3a35f3_4cd67308-1694-4892-9a23-16352400e92d.webp?v=1714840120","variant_ids":[41898804412515]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Weiweiboy - 超級可愛大王 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-EO01","featured_media":{"alt":null,"id":23885659734115,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94a33e9b95b4079c102a08013e064cb73e3a35f3_4cd67308-1694-4892-9a23-16352400e92d.webp?v=1714840120"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898804543587,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-EO01","requires_shipping":true,"taxable":true,"featured_image":{"id":31480406605923,"product_id":7411431047267,"position":1,"created_at":"2024-05-05T00:28:33+08:00","updated_at":"2024-05-05T00:28:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd9a9aace2a20a748c06d18faefa2e6c34dfed94_cd0c6bee-05e5-4450-88a1-109ed69ec550.webp?v=1714840113","variant_ids":[41898804543587]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Weiweiboy - 超級可愛大王 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-EO01","featured_media":{"alt":null,"id":23885658259555,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd9a9aace2a20a748c06d18faefa2e6c34dfed94_cd0c6bee-05e5-4450-88a1-109ed69ec550.webp?v=1714840113"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898804838499,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-EO01","requires_shipping":true,"taxable":true,"featured_image":{"id":31480407523427,"product_id":7411431047267,"position":3,"created_at":"2024-05-05T00:28:38+08:00","updated_at":"2024-05-05T00:28:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea6885d9c2182ad645003522fc73f0f1b1408f27_eb9d0e3c-4120-4fb3-8710-45e968e430da.webp?v=1714840118","variant_ids":[41898804838499]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Weiweiboy - 超級可愛大王 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-EO01","featured_media":{"alt":null,"id":23885659209827,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea6885d9c2182ad645003522fc73f0f1b1408f27_eb9d0e3c-4120-4fb3-8710-45e968e430da.webp?v=1714840118"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd9a9aace2a20a748c06d18faefa2e6c34dfed94_cd0c6bee-05e5-4450-88a1-109ed69ec550.webp?v=1714840113","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/feec518620176d8d31765bd5fd25973358e0d19f_216837e7-83df-4f04-9044-c600d40504e2.webp?v=1714840115","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea6885d9c2182ad645003522fc73f0f1b1408f27_eb9d0e3c-4120-4fb3-8710-45e968e430da.webp?v=1714840118","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94a33e9b95b4079c102a08013e064cb73e3a35f3_4cd67308-1694-4892-9a23-16352400e92d.webp?v=1714840120","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/098186bbb3a2598678828c501153eb9a50d742a9_4f68901a-c225-498e-95f2-87de6173a44f.webp?v=1714840123","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56f42b00987736f6e40468be828440bbe8ce64c3_54a44b5f-75b9-4ae0-abe8-9c8217161852.webp?v=1714840125","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a7d9a6dad6fa8d5ac834dcd360fad8062f08d8c_5ea3ab97-2ff7-4693-baf1-d53811cce44d.webp?v=1714840128","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08aae7794aec0ff567527e984b2bcc88c4fe76d2_ca9c855e-6d8b-4b03-b61d-f35d149082f9.webp?v=1714840130","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/676a6e1daf390de53046cc77ab45c3fee34858a5_eb0ce976-f7d7-4b96-85b5-da081c120534.webp?v=1714840133","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be49cba309c05b7a4f28fdf76fab9f1ee93c4ca5_13e05dde-8bd5-4faf-9d30-3e80a3124d5d.webp?v=1714840135"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd9a9aace2a20a748c06d18faefa2e6c34dfed94_cd0c6bee-05e5-4450-88a1-109ed69ec550.webp?v=1714840113","options":["color"],"media":[{"alt":null,"id":23885658259555,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd9a9aace2a20a748c06d18faefa2e6c34dfed94_cd0c6bee-05e5-4450-88a1-109ed69ec550.webp?v=1714840113"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd9a9aace2a20a748c06d18faefa2e6c34dfed94_cd0c6bee-05e5-4450-88a1-109ed69ec550.webp?v=1714840113","width":2000},{"alt":null,"id":23885658783843,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/feec518620176d8d31765bd5fd25973358e0d19f_216837e7-83df-4f04-9044-c600d40504e2.webp?v=1714840115"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/feec518620176d8d31765bd5fd25973358e0d19f_216837e7-83df-4f04-9044-c600d40504e2.webp?v=1714840115","width":2000},{"alt":null,"id":23885659209827,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea6885d9c2182ad645003522fc73f0f1b1408f27_eb9d0e3c-4120-4fb3-8710-45e968e430da.webp?v=1714840118"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea6885d9c2182ad645003522fc73f0f1b1408f27_eb9d0e3c-4120-4fb3-8710-45e968e430da.webp?v=1714840118","width":2000},{"alt":null,"id":23885659734115,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94a33e9b95b4079c102a08013e064cb73e3a35f3_4cd67308-1694-4892-9a23-16352400e92d.webp?v=1714840120"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94a33e9b95b4079c102a08013e064cb73e3a35f3_4cd67308-1694-4892-9a23-16352400e92d.webp?v=1714840120","width":2000},{"alt":null,"id":23885660291171,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/098186bbb3a2598678828c501153eb9a50d742a9_4f68901a-c225-498e-95f2-87de6173a44f.webp?v=1714840123"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/098186bbb3a2598678828c501153eb9a50d742a9_4f68901a-c225-498e-95f2-87de6173a44f.webp?v=1714840123","width":2000},{"alt":null,"id":23885661012067,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56f42b00987736f6e40468be828440bbe8ce64c3_54a44b5f-75b9-4ae0-abe8-9c8217161852.webp?v=1714840125"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56f42b00987736f6e40468be828440bbe8ce64c3_54a44b5f-75b9-4ae0-abe8-9c8217161852.webp?v=1714840125","width":2000},{"alt":null,"id":23885661470819,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a7d9a6dad6fa8d5ac834dcd360fad8062f08d8c_5ea3ab97-2ff7-4693-baf1-d53811cce44d.webp?v=1714840128"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a7d9a6dad6fa8d5ac834dcd360fad8062f08d8c_5ea3ab97-2ff7-4693-baf1-d53811cce44d.webp?v=1714840128","width":2000},{"alt":null,"id":23885661995107,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08aae7794aec0ff567527e984b2bcc88c4fe76d2_ca9c855e-6d8b-4b03-b61d-f35d149082f9.webp?v=1714840130"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08aae7794aec0ff567527e984b2bcc88c4fe76d2_ca9c855e-6d8b-4b03-b61d-f35d149082f9.webp?v=1714840130","width":2000},{"alt":null,"id":23885662617699,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/676a6e1daf390de53046cc77ab45c3fee34858a5_eb0ce976-f7d7-4b96-85b5-da081c120534.webp?v=1714840133"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/676a6e1daf390de53046cc77ab45c3fee34858a5_eb0ce976-f7d7-4b96-85b5-da081c120534.webp?v=1714840133","width":2000},{"alt":null,"id":23885663371363,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be49cba309c05b7a4f28fdf76fab9f1ee93c4ca5_13e05dde-8bd5-4faf-9d30-3e80a3124d5d.webp?v=1714840135"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be49cba309c05b7a4f28fdf76fab9f1ee93c4ca5_13e05dde-8bd5-4faf-9d30-3e80a3124d5d.webp?v=1714840135","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41898804412515,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-EO01","requires_shipping":true,"taxable":true,"featured_image":{"id":31480408080483,"product_id":7411431047267,"position":4,"created_at":"2024-05-05T00:28:40+08:00","updated_at":"2024-05-05T00:28:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94a33e9b95b4079c102a08013e064cb73e3a35f3_4cd67308-1694-4892-9a23-16352400e92d.webp?v=1714840120","variant_ids":[41898804412515]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Weiweiboy - 超級可愛大王 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-EO01","featured_media":{"alt":null,"id":23885659734115,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94a33e9b95b4079c102a08013e064cb73e3a35f3_4cd67308-1694-4892-9a23-16352400e92d.webp?v=1714840120"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898804543587,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-EO01","requires_shipping":true,"taxable":true,"featured_image":{"id":31480406605923,"product_id":7411431047267,"position":1,"created_at":"2024-05-05T00:28:33+08:00","updated_at":"2024-05-05T00:28:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd9a9aace2a20a748c06d18faefa2e6c34dfed94_cd0c6bee-05e5-4450-88a1-109ed69ec550.webp?v=1714840113","variant_ids":[41898804543587]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Weiweiboy - 超級可愛大王 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-EO01","featured_media":{"alt":null,"id":23885658259555,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd9a9aace2a20a748c06d18faefa2e6c34dfed94_cd0c6bee-05e5-4450-88a1-109ed69ec550.webp?v=1714840113"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898804838499,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-EO01","requires_shipping":true,"taxable":true,"featured_image":{"id":31480407523427,"product_id":7411431047267,"position":3,"created_at":"2024-05-05T00:28:38+08:00","updated_at":"2024-05-05T00:28:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea6885d9c2182ad645003522fc73f0f1b1408f27_eb9d0e3c-4120-4fb3-8710-45e968e430da.webp?v=1714840118","variant_ids":[41898804838499]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Weiweiboy - 超級可愛大王 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-EO01","featured_media":{"alt":null,"id":23885659209827,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea6885d9c2182ad645003522fc73f0f1b1408f27_eb9d0e3c-4120-4fb3-8710-45e968e430da.webp?v=1714840118"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41898804412515,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-EO01","requires_shipping":true,"taxable":true,"featured_image":{"id":31480408080483,"product_id":7411431047267,"position":4,"created_at":"2024-05-05T00:28:40+08:00","updated_at":"2024-05-05T00:28:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94a33e9b95b4079c102a08013e064cb73e3a35f3_4cd67308-1694-4892-9a23-16352400e92d.webp?v=1714840120","variant_ids":[41898804412515]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Weiweiboy - 超級可愛大王 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-EO01","featured_media":{"alt":null,"id":23885659734115,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94a33e9b95b4079c102a08013e064cb73e3a35f3_4cd67308-1694-4892-9a23-16352400e92d.webp?v=1714840120"}},"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: "停產" }