$product = {"id":7411391463523,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 1G - yaya款","handle":"iphone-14-pro-mod-nx-magsafe-printable-iv09","description":null,"published_at":"2024-06-11T17:43:42+08:00","created_at":"2024-05-05T00:20:46+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區1G","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-1chun","device-iPhone 14 Pro","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-1chun","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":41898296082531,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-IV09","requires_shipping":true,"taxable":true,"featured_image":{"id":31480310202467,"product_id":7411391463523,"position":5,"created_at":"2024-05-05T00:20:57+08:00","updated_at":"2024-05-05T00:20:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39fdcbbef78ce4f6690c0e95b15365f6e464d2bc_c3fe0510-7068-460b-87af-e2958166c24f.webp?v=1714839657","variant_ids":[41898296082531]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 1G - yaya款 - 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-IV09","featured_media":{"alt":null,"id":23885561921635,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39fdcbbef78ce4f6690c0e95b15365f6e464d2bc_c3fe0510-7068-460b-87af-e2958166c24f.webp?v=1714839657"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898296148067,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-IV09","requires_shipping":true,"taxable":true,"featured_image":{"id":31480308596835,"product_id":7411391463523,"position":3,"created_at":"2024-05-05T00:20:53+08:00","updated_at":"2024-05-05T00:20:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d87f7b50db0c1a42defa3e0c835ea1d4d5f0fec3_6c431240-dde2-4109-a6f4-3e1d76fe3728.webp?v=1714839653","variant_ids":[41898296148067]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 1G - yaya款 - 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-IV09","featured_media":{"alt":null,"id":23885560479843,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d87f7b50db0c1a42defa3e0c835ea1d4d5f0fec3_6c431240-dde2-4109-a6f4-3e1d76fe3728.webp?v=1714839653"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898296377443,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-IV09","requires_shipping":true,"taxable":true,"featured_image":{"id":31480310956131,"product_id":7411391463523,"position":6,"created_at":"2024-05-05T00:21:00+08:00","updated_at":"2024-05-05T00:21:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84ad2a8f2a0ab6380f7a6212a97805b2f20a22e9_aea24668-e472-411c-8227-54aabffc9bc7.webp?v=1714839660","variant_ids":[41898296377443]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 1G - yaya款 - 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-IV09","featured_media":{"alt":null,"id":23885562544227,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84ad2a8f2a0ab6380f7a6212a97805b2f20a22e9_aea24668-e472-411c-8227-54aabffc9bc7.webp?v=1714839660"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a7ca3afbae1296124308908ab9a2c09574540bb_af07a62e-d6fe-4c69-a874-75bd57065b96.webp?v=1714839648","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a314c1bfa37eb4671a6146a1c5474e84016bce2_497e2c81-3e3e-442c-9edb-af166b880a43.webp?v=1714839650","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d87f7b50db0c1a42defa3e0c835ea1d4d5f0fec3_6c431240-dde2-4109-a6f4-3e1d76fe3728.webp?v=1714839653","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/139a10100efb2b851010de705267226059e619fc_4a13add8-b8c1-4103-9ee1-1952139b2a9c.webp?v=1714839655","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39fdcbbef78ce4f6690c0e95b15365f6e464d2bc_c3fe0510-7068-460b-87af-e2958166c24f.webp?v=1714839657","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84ad2a8f2a0ab6380f7a6212a97805b2f20a22e9_aea24668-e472-411c-8227-54aabffc9bc7.webp?v=1714839660","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/efb1e179427af4a8ba1774fe836b857ea20220ac_03861429-e210-4fdf-ad16-000674627b4d.webp?v=1714839662","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c2169ea030881e11156d24502ea5d2b10ab2d7b_ce5ea524-e22d-40be-b90c-a23bed416281.webp?v=1714839664","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5886219613fb10adf056083fdb1391a0e0bfcc6e_8c526ea6-c34d-450a-a1cc-bcbff896a18f.webp?v=1714839667","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b396ab093ac1b323005972580a26565bd416540b_c966a399-03c9-4ae9-9fed-3c22a3cd84c0.webp?v=1714839669"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a7ca3afbae1296124308908ab9a2c09574540bb_af07a62e-d6fe-4c69-a874-75bd57065b96.webp?v=1714839648","options":["color"],"media":[{"alt":null,"id":23885559136355,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a7ca3afbae1296124308908ab9a2c09574540bb_af07a62e-d6fe-4c69-a874-75bd57065b96.webp?v=1714839648"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a7ca3afbae1296124308908ab9a2c09574540bb_af07a62e-d6fe-4c69-a874-75bd57065b96.webp?v=1714839648","width":2000},{"alt":null,"id":23885559529571,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a314c1bfa37eb4671a6146a1c5474e84016bce2_497e2c81-3e3e-442c-9edb-af166b880a43.webp?v=1714839650"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a314c1bfa37eb4671a6146a1c5474e84016bce2_497e2c81-3e3e-442c-9edb-af166b880a43.webp?v=1714839650","width":2000},{"alt":null,"id":23885560479843,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d87f7b50db0c1a42defa3e0c835ea1d4d5f0fec3_6c431240-dde2-4109-a6f4-3e1d76fe3728.webp?v=1714839653"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d87f7b50db0c1a42defa3e0c835ea1d4d5f0fec3_6c431240-dde2-4109-a6f4-3e1d76fe3728.webp?v=1714839653","width":2000},{"alt":null,"id":23885561430115,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/139a10100efb2b851010de705267226059e619fc_4a13add8-b8c1-4103-9ee1-1952139b2a9c.webp?v=1714839655"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/139a10100efb2b851010de705267226059e619fc_4a13add8-b8c1-4103-9ee1-1952139b2a9c.webp?v=1714839655","width":2000},{"alt":null,"id":23885561921635,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39fdcbbef78ce4f6690c0e95b15365f6e464d2bc_c3fe0510-7068-460b-87af-e2958166c24f.webp?v=1714839657"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39fdcbbef78ce4f6690c0e95b15365f6e464d2bc_c3fe0510-7068-460b-87af-e2958166c24f.webp?v=1714839657","width":2000},{"alt":null,"id":23885562544227,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84ad2a8f2a0ab6380f7a6212a97805b2f20a22e9_aea24668-e472-411c-8227-54aabffc9bc7.webp?v=1714839660"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84ad2a8f2a0ab6380f7a6212a97805b2f20a22e9_aea24668-e472-411c-8227-54aabffc9bc7.webp?v=1714839660","width":2000},{"alt":null,"id":23885563002979,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/efb1e179427af4a8ba1774fe836b857ea20220ac_03861429-e210-4fdf-ad16-000674627b4d.webp?v=1714839662"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/efb1e179427af4a8ba1774fe836b857ea20220ac_03861429-e210-4fdf-ad16-000674627b4d.webp?v=1714839662","width":2000},{"alt":null,"id":23885563658339,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c2169ea030881e11156d24502ea5d2b10ab2d7b_ce5ea524-e22d-40be-b90c-a23bed416281.webp?v=1714839664"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c2169ea030881e11156d24502ea5d2b10ab2d7b_ce5ea524-e22d-40be-b90c-a23bed416281.webp?v=1714839664","width":2000},{"alt":null,"id":23885564182627,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5886219613fb10adf056083fdb1391a0e0bfcc6e_8c526ea6-c34d-450a-a1cc-bcbff896a18f.webp?v=1714839667"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5886219613fb10adf056083fdb1391a0e0bfcc6e_8c526ea6-c34d-450a-a1cc-bcbff896a18f.webp?v=1714839667","width":2000},{"alt":null,"id":23885564772451,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b396ab093ac1b323005972580a26565bd416540b_c966a399-03c9-4ae9-9fed-3c22a3cd84c0.webp?v=1714839669"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b396ab093ac1b323005972580a26565bd416540b_c966a399-03c9-4ae9-9fed-3c22a3cd84c0.webp?v=1714839669","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41898296082531,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-IV09","requires_shipping":true,"taxable":true,"featured_image":{"id":31480310202467,"product_id":7411391463523,"position":5,"created_at":"2024-05-05T00:20:57+08:00","updated_at":"2024-05-05T00:20:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39fdcbbef78ce4f6690c0e95b15365f6e464d2bc_c3fe0510-7068-460b-87af-e2958166c24f.webp?v=1714839657","variant_ids":[41898296082531]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 1G - yaya款 - 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-IV09","featured_media":{"alt":null,"id":23885561921635,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39fdcbbef78ce4f6690c0e95b15365f6e464d2bc_c3fe0510-7068-460b-87af-e2958166c24f.webp?v=1714839657"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898296148067,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-IV09","requires_shipping":true,"taxable":true,"featured_image":{"id":31480308596835,"product_id":7411391463523,"position":3,"created_at":"2024-05-05T00:20:53+08:00","updated_at":"2024-05-05T00:20:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d87f7b50db0c1a42defa3e0c835ea1d4d5f0fec3_6c431240-dde2-4109-a6f4-3e1d76fe3728.webp?v=1714839653","variant_ids":[41898296148067]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 1G - yaya款 - 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-IV09","featured_media":{"alt":null,"id":23885560479843,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d87f7b50db0c1a42defa3e0c835ea1d4d5f0fec3_6c431240-dde2-4109-a6f4-3e1d76fe3728.webp?v=1714839653"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898296377443,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-IV09","requires_shipping":true,"taxable":true,"featured_image":{"id":31480310956131,"product_id":7411391463523,"position":6,"created_at":"2024-05-05T00:21:00+08:00","updated_at":"2024-05-05T00:21:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84ad2a8f2a0ab6380f7a6212a97805b2f20a22e9_aea24668-e472-411c-8227-54aabffc9bc7.webp?v=1714839660","variant_ids":[41898296377443]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 1G - yaya款 - 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-IV09","featured_media":{"alt":null,"id":23885562544227,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84ad2a8f2a0ab6380f7a6212a97805b2f20a22e9_aea24668-e472-411c-8227-54aabffc9bc7.webp?v=1714839660"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41898296082531,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-IV09","requires_shipping":true,"taxable":true,"featured_image":{"id":31480310202467,"product_id":7411391463523,"position":5,"created_at":"2024-05-05T00:20:57+08:00","updated_at":"2024-05-05T00:20:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39fdcbbef78ce4f6690c0e95b15365f6e464d2bc_c3fe0510-7068-460b-87af-e2958166c24f.webp?v=1714839657","variant_ids":[41898296082531]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 1G - yaya款 - 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-IV09","featured_media":{"alt":null,"id":23885561921635,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39fdcbbef78ce4f6690c0e95b15365f6e464d2bc_c3fe0510-7068-460b-87af-e2958166c24f.webp?v=1714839657"}},"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: "停產" }