$product = {"id":7407877718115,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【獨家設計款】 - 願傷疤開花(恆春)","handle":"iphone-14-pro-mod-nx-printable-ae01","description":null,"published_at":"2024-06-11T16:25:22+08:00","created_at":"2024-05-03T11:07:49+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"MOD NX 客製化","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","device-iPhone 14 Pro","discountable-item","member","merge","mod-nx-printable","new-modnx-sku","reseller","reseller-modnx-chi-po-lin-series","Top50","type-Mod NX Printable"],"price":90000,"price_min":90000,"price_max":90000,"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":41879977525347,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-AE01","requires_shipping":true,"taxable":true,"featured_image":{"id":31470596194403,"product_id":7407877718115,"position":3,"created_at":"2024-05-03T11:07:57+08:00","updated_at":"2024-05-03T11:07:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/932609c43ba9659bf37ee05a3866d9057934f728_6d259ada-e6cb-4739-9368-a59db1e4889e.webp?v=1714705677","variant_ids":[41879977525347]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【獨家設計款】 - 願傷疤開花(恆春) - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-AE01","featured_media":{"alt":null,"id":23875500114019,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/932609c43ba9659bf37ee05a3866d9057934f728_6d259ada-e6cb-4739-9368-a59db1e4889e.webp?v=1714705677"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879977590883,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-AE01","requires_shipping":true,"taxable":true,"featured_image":{"id":31470597144675,"product_id":7407877718115,"position":5,"created_at":"2024-05-03T11:08:02+08:00","updated_at":"2024-05-03T11:08:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b5f6a574140f449cf17612f246262d8b2f82d46_62f1cb69-41b6-4b7f-84ac-f259b27bdf3a.webp?v=1714705682","variant_ids":[41879977590883]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【獨家設計款】 - 願傷疤開花(恆春) - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-AE01","featured_media":{"alt":null,"id":23875501064291,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b5f6a574140f449cf17612f246262d8b2f82d46_62f1cb69-41b6-4b7f-84ac-f259b27bdf3a.webp?v=1714705682"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879977918563,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-AE01","requires_shipping":true,"taxable":true,"featured_image":{"id":31470598881379,"product_id":7407877718115,"position":8,"created_at":"2024-05-03T11:08:09+08:00","updated_at":"2024-05-03T11:08:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99ae9f82ff68ebe5ea61533d77b5d363140c4320_c3af3b66-e800-44b4-8ec3-9c82b2fc6399.webp?v=1714705689","variant_ids":[41879977918563]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【獨家設計款】 - 願傷疤開花(恆春) - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-AE01","featured_media":{"alt":null,"id":23875502309475,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99ae9f82ff68ebe5ea61533d77b5d363140c4320_c3af3b66-e800-44b4-8ec3-9c82b2fc6399.webp?v=1714705689"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9149b07f339e04d2a9b2467990550f5427b4618_b19ec378-e263-485c-9032-6085dd942934.webp?v=1714705672","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7643087027aec8e1b722b6dc7503bc33df7cd858_34f0cf15-0529-46cd-9303-53db170187c9.webp?v=1714705674","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/932609c43ba9659bf37ee05a3866d9057934f728_6d259ada-e6cb-4739-9368-a59db1e4889e.webp?v=1714705677","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f7e91c2fd355613de117ca48c3fd06579ad1b50_0f79063f-7dc7-4137-b62b-743e63f0907c.webp?v=1714705679","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b5f6a574140f449cf17612f246262d8b2f82d46_62f1cb69-41b6-4b7f-84ac-f259b27bdf3a.webp?v=1714705682","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f790a454ffbf08128076465d860208e5f40d606_0831ee30-89f7-49c6-8eac-647e73b1c8ab.webp?v=1714705684","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc9a7606feec1a85f4647a5e5b9dc2f06ba57d84_4363e242-c9b8-485b-be7b-ee4921a7c977.webp?v=1714705686","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99ae9f82ff68ebe5ea61533d77b5d363140c4320_c3af3b66-e800-44b4-8ec3-9c82b2fc6399.webp?v=1714705689","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/425d961feb3ae2cbab40d4e020ab31a472a50ea4_80a3972e-d397-4685-a6a7-2558ffb088d7.webp?v=1714705691","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b17ba3cdddc9aeec2703d9a5df4b62f56c3f6e7_5ab55e2f-6129-48cb-85a2-9cc282256016.webp?v=1714705693"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9149b07f339e04d2a9b2467990550f5427b4618_b19ec378-e263-485c-9032-6085dd942934.webp?v=1714705672","options":["color"],"media":[{"alt":null,"id":23875499262051,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9149b07f339e04d2a9b2467990550f5427b4618_b19ec378-e263-485c-9032-6085dd942934.webp?v=1714705672"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9149b07f339e04d2a9b2467990550f5427b4618_b19ec378-e263-485c-9032-6085dd942934.webp?v=1714705672","width":2000},{"alt":null,"id":23875499720803,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7643087027aec8e1b722b6dc7503bc33df7cd858_34f0cf15-0529-46cd-9303-53db170187c9.webp?v=1714705674"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7643087027aec8e1b722b6dc7503bc33df7cd858_34f0cf15-0529-46cd-9303-53db170187c9.webp?v=1714705674","width":2000},{"alt":null,"id":23875500114019,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/932609c43ba9659bf37ee05a3866d9057934f728_6d259ada-e6cb-4739-9368-a59db1e4889e.webp?v=1714705677"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/932609c43ba9659bf37ee05a3866d9057934f728_6d259ada-e6cb-4739-9368-a59db1e4889e.webp?v=1714705677","width":2000},{"alt":null,"id":23875500671075,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f7e91c2fd355613de117ca48c3fd06579ad1b50_0f79063f-7dc7-4137-b62b-743e63f0907c.webp?v=1714705679"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f7e91c2fd355613de117ca48c3fd06579ad1b50_0f79063f-7dc7-4137-b62b-743e63f0907c.webp?v=1714705679","width":2000},{"alt":null,"id":23875501064291,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b5f6a574140f449cf17612f246262d8b2f82d46_62f1cb69-41b6-4b7f-84ac-f259b27bdf3a.webp?v=1714705682"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b5f6a574140f449cf17612f246262d8b2f82d46_62f1cb69-41b6-4b7f-84ac-f259b27bdf3a.webp?v=1714705682","width":2000},{"alt":null,"id":23875501457507,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f790a454ffbf08128076465d860208e5f40d606_0831ee30-89f7-49c6-8eac-647e73b1c8ab.webp?v=1714705684"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f790a454ffbf08128076465d860208e5f40d606_0831ee30-89f7-49c6-8eac-647e73b1c8ab.webp?v=1714705684","width":2000},{"alt":null,"id":23875501883491,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc9a7606feec1a85f4647a5e5b9dc2f06ba57d84_4363e242-c9b8-485b-be7b-ee4921a7c977.webp?v=1714705686"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc9a7606feec1a85f4647a5e5b9dc2f06ba57d84_4363e242-c9b8-485b-be7b-ee4921a7c977.webp?v=1714705686","width":2000},{"alt":null,"id":23875502309475,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99ae9f82ff68ebe5ea61533d77b5d363140c4320_c3af3b66-e800-44b4-8ec3-9c82b2fc6399.webp?v=1714705689"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99ae9f82ff68ebe5ea61533d77b5d363140c4320_c3af3b66-e800-44b4-8ec3-9c82b2fc6399.webp?v=1714705689","width":2000},{"alt":null,"id":23875502571619,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/425d961feb3ae2cbab40d4e020ab31a472a50ea4_80a3972e-d397-4685-a6a7-2558ffb088d7.webp?v=1714705691"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/425d961feb3ae2cbab40d4e020ab31a472a50ea4_80a3972e-d397-4685-a6a7-2558ffb088d7.webp?v=1714705691","width":2000},{"alt":null,"id":23875508338787,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b17ba3cdddc9aeec2703d9a5df4b62f56c3f6e7_5ab55e2f-6129-48cb-85a2-9cc282256016.webp?v=1714705693"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b17ba3cdddc9aeec2703d9a5df4b62f56c3f6e7_5ab55e2f-6129-48cb-85a2-9cc282256016.webp?v=1714705693","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41879977525347,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-AE01","requires_shipping":true,"taxable":true,"featured_image":{"id":31470596194403,"product_id":7407877718115,"position":3,"created_at":"2024-05-03T11:07:57+08:00","updated_at":"2024-05-03T11:07:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/932609c43ba9659bf37ee05a3866d9057934f728_6d259ada-e6cb-4739-9368-a59db1e4889e.webp?v=1714705677","variant_ids":[41879977525347]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【獨家設計款】 - 願傷疤開花(恆春) - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-AE01","featured_media":{"alt":null,"id":23875500114019,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/932609c43ba9659bf37ee05a3866d9057934f728_6d259ada-e6cb-4739-9368-a59db1e4889e.webp?v=1714705677"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879977590883,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-AE01","requires_shipping":true,"taxable":true,"featured_image":{"id":31470597144675,"product_id":7407877718115,"position":5,"created_at":"2024-05-03T11:08:02+08:00","updated_at":"2024-05-03T11:08:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b5f6a574140f449cf17612f246262d8b2f82d46_62f1cb69-41b6-4b7f-84ac-f259b27bdf3a.webp?v=1714705682","variant_ids":[41879977590883]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【獨家設計款】 - 願傷疤開花(恆春) - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-AE01","featured_media":{"alt":null,"id":23875501064291,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b5f6a574140f449cf17612f246262d8b2f82d46_62f1cb69-41b6-4b7f-84ac-f259b27bdf3a.webp?v=1714705682"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879977918563,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-AE01","requires_shipping":true,"taxable":true,"featured_image":{"id":31470598881379,"product_id":7407877718115,"position":8,"created_at":"2024-05-03T11:08:09+08:00","updated_at":"2024-05-03T11:08:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99ae9f82ff68ebe5ea61533d77b5d363140c4320_c3af3b66-e800-44b4-8ec3-9c82b2fc6399.webp?v=1714705689","variant_ids":[41879977918563]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【獨家設計款】 - 願傷疤開花(恆春) - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-AE01","featured_media":{"alt":null,"id":23875502309475,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99ae9f82ff68ebe5ea61533d77b5d363140c4320_c3af3b66-e800-44b4-8ec3-9c82b2fc6399.webp?v=1714705689"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41879977525347,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-AE01","requires_shipping":true,"taxable":true,"featured_image":{"id":31470596194403,"product_id":7407877718115,"position":3,"created_at":"2024-05-03T11:07:57+08:00","updated_at":"2024-05-03T11:07:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/932609c43ba9659bf37ee05a3866d9057934f728_6d259ada-e6cb-4739-9368-a59db1e4889e.webp?v=1714705677","variant_ids":[41879977525347]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【獨家設計款】 - 願傷疤開花(恆春) - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-AE01","featured_media":{"alt":null,"id":23875500114019,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/932609c43ba9659bf37ee05a3866d9057934f728_6d259ada-e6cb-4739-9368-a59db1e4889e.webp?v=1714705677"}},"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: "停產" }