$product = {"id":7407942107235,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 史迪奇 - 夏威夷系列-線稿","handle":"iphone-14-pro-mod-nx-printable-yf03","description":null,"published_at":"2024-06-11T16:27:10+08:00","created_at":"2024-05-03T11:20:28+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-史迪奇","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-stitch","device-iPhone 14 Pro","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-stitch","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":41880824217699,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-YF03","requires_shipping":true,"taxable":true,"featured_image":{"id":31470760722531,"product_id":7407942107235,"position":5,"created_at":"2024-05-03T11:20:40+08:00","updated_at":"2024-05-03T11:20:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fbe7dd9b85c44a720d6d06a5aa37069afb1a83b_ab56df63-9782-47d5-8629-70bdb75f6322.webp?v=1714706440","variant_ids":[41880824217699]},"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-YF03","featured_media":{"alt":null,"id":23875665297507,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fbe7dd9b85c44a720d6d06a5aa37069afb1a83b_ab56df63-9782-47d5-8629-70bdb75f6322.webp?v=1714706440"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880824283235,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-YF03","requires_shipping":true,"taxable":true,"featured_image":{"id":31470761214051,"product_id":7407942107235,"position":6,"created_at":"2024-05-03T11:20:42+08:00","updated_at":"2024-05-03T11:20:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/005e3152260acc76298cdb724e2c61ddc841c96c_cc80b04b-310c-40e9-b11e-0f682a8ad027.webp?v=1714706442","variant_ids":[41880824283235]},"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-YF03","featured_media":{"alt":null,"id":23875665690723,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/005e3152260acc76298cdb724e2c61ddc841c96c_cc80b04b-310c-40e9-b11e-0f682a8ad027.webp?v=1714706442"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880824512611,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-YF03","requires_shipping":true,"taxable":true,"featured_image":{"id":31470762623075,"product_id":7407942107235,"position":8,"created_at":"2024-05-03T11:20:47+08:00","updated_at":"2024-05-03T11:20:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5fbb0ab95e772802d8de5dd5cf49daa9ad003ea_b51fade1-c703-4304-9f0c-c5acae7515ed.webp?v=1714706447","variant_ids":[41880824512611]},"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-YF03","featured_media":{"alt":null,"id":23875666870371,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5fbb0ab95e772802d8de5dd5cf49daa9ad003ea_b51fade1-c703-4304-9f0c-c5acae7515ed.webp?v=1714706447"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/377ff3c76cf7da640c4f3e525941368341c98191_e65c1c3b-db88-4463-9845-d27ea79c4f31.webp?v=1714706430","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c77e1edc6418c65834057c9db4089d358edcadf_c00ba3c0-d3a8-4ded-95e5-9bf10d971935.webp?v=1714706433","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20a1feeac17cf1e5a387cf74c6005929b62ac891_b747c640-faf7-498a-ad82-b54c6922110e.webp?v=1714706435","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5a69c3e6acd353c8957cfbb6f5a1def0084395b_074a4a4c-52b9-45bb-bb35-224a6ffca3d3.webp?v=1714706438","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fbe7dd9b85c44a720d6d06a5aa37069afb1a83b_ab56df63-9782-47d5-8629-70bdb75f6322.webp?v=1714706440","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/005e3152260acc76298cdb724e2c61ddc841c96c_cc80b04b-310c-40e9-b11e-0f682a8ad027.webp?v=1714706442","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bc80cbfd3c5afab9068d818883affa275451daa_fa0b3ebb-363a-4c79-b31c-70e9e58b5357.webp?v=1714706445","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5fbb0ab95e772802d8de5dd5cf49daa9ad003ea_b51fade1-c703-4304-9f0c-c5acae7515ed.webp?v=1714706447","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e301eddc0af6040c05063e3d818fcf5edbcc25d_f81326fe-328b-44bf-8128-7b333f6263a2.webp?v=1714706450","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e032de48c0f0db85541cdbd16edf42d326124196_defd529a-416f-41d1-860d-c6a138af51e7.webp?v=1714706452"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/377ff3c76cf7da640c4f3e525941368341c98191_e65c1c3b-db88-4463-9845-d27ea79c4f31.webp?v=1714706430","options":["color"],"media":[{"alt":null,"id":23875662905443,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/377ff3c76cf7da640c4f3e525941368341c98191_e65c1c3b-db88-4463-9845-d27ea79c4f31.webp?v=1714706430"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/377ff3c76cf7da640c4f3e525941368341c98191_e65c1c3b-db88-4463-9845-d27ea79c4f31.webp?v=1714706430","width":2000},{"alt":null,"id":23875663396963,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c77e1edc6418c65834057c9db4089d358edcadf_c00ba3c0-d3a8-4ded-95e5-9bf10d971935.webp?v=1714706433"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c77e1edc6418c65834057c9db4089d358edcadf_c00ba3c0-d3a8-4ded-95e5-9bf10d971935.webp?v=1714706433","width":2000},{"alt":null,"id":23875663986787,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20a1feeac17cf1e5a387cf74c6005929b62ac891_b747c640-faf7-498a-ad82-b54c6922110e.webp?v=1714706435"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20a1feeac17cf1e5a387cf74c6005929b62ac891_b747c640-faf7-498a-ad82-b54c6922110e.webp?v=1714706435","width":2000},{"alt":null,"id":23875664478307,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5a69c3e6acd353c8957cfbb6f5a1def0084395b_074a4a4c-52b9-45bb-bb35-224a6ffca3d3.webp?v=1714706438"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5a69c3e6acd353c8957cfbb6f5a1def0084395b_074a4a4c-52b9-45bb-bb35-224a6ffca3d3.webp?v=1714706438","width":2000},{"alt":null,"id":23875665297507,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fbe7dd9b85c44a720d6d06a5aa37069afb1a83b_ab56df63-9782-47d5-8629-70bdb75f6322.webp?v=1714706440"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fbe7dd9b85c44a720d6d06a5aa37069afb1a83b_ab56df63-9782-47d5-8629-70bdb75f6322.webp?v=1714706440","width":2000},{"alt":null,"id":23875665690723,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/005e3152260acc76298cdb724e2c61ddc841c96c_cc80b04b-310c-40e9-b11e-0f682a8ad027.webp?v=1714706442"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/005e3152260acc76298cdb724e2c61ddc841c96c_cc80b04b-310c-40e9-b11e-0f682a8ad027.webp?v=1714706442","width":2000},{"alt":null,"id":23875666444387,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bc80cbfd3c5afab9068d818883affa275451daa_fa0b3ebb-363a-4c79-b31c-70e9e58b5357.webp?v=1714706445"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bc80cbfd3c5afab9068d818883affa275451daa_fa0b3ebb-363a-4c79-b31c-70e9e58b5357.webp?v=1714706445","width":2000},{"alt":null,"id":23875666870371,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5fbb0ab95e772802d8de5dd5cf49daa9ad003ea_b51fade1-c703-4304-9f0c-c5acae7515ed.webp?v=1714706447"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5fbb0ab95e772802d8de5dd5cf49daa9ad003ea_b51fade1-c703-4304-9f0c-c5acae7515ed.webp?v=1714706447","width":2000},{"alt":null,"id":23875667263587,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e301eddc0af6040c05063e3d818fcf5edbcc25d_f81326fe-328b-44bf-8128-7b333f6263a2.webp?v=1714706450"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e301eddc0af6040c05063e3d818fcf5edbcc25d_f81326fe-328b-44bf-8128-7b333f6263a2.webp?v=1714706450","width":2000},{"alt":null,"id":23875667689571,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e032de48c0f0db85541cdbd16edf42d326124196_defd529a-416f-41d1-860d-c6a138af51e7.webp?v=1714706452"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e032de48c0f0db85541cdbd16edf42d326124196_defd529a-416f-41d1-860d-c6a138af51e7.webp?v=1714706452","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41880824217699,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-YF03","requires_shipping":true,"taxable":true,"featured_image":{"id":31470760722531,"product_id":7407942107235,"position":5,"created_at":"2024-05-03T11:20:40+08:00","updated_at":"2024-05-03T11:20:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fbe7dd9b85c44a720d6d06a5aa37069afb1a83b_ab56df63-9782-47d5-8629-70bdb75f6322.webp?v=1714706440","variant_ids":[41880824217699]},"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-YF03","featured_media":{"alt":null,"id":23875665297507,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fbe7dd9b85c44a720d6d06a5aa37069afb1a83b_ab56df63-9782-47d5-8629-70bdb75f6322.webp?v=1714706440"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880824283235,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-YF03","requires_shipping":true,"taxable":true,"featured_image":{"id":31470761214051,"product_id":7407942107235,"position":6,"created_at":"2024-05-03T11:20:42+08:00","updated_at":"2024-05-03T11:20:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/005e3152260acc76298cdb724e2c61ddc841c96c_cc80b04b-310c-40e9-b11e-0f682a8ad027.webp?v=1714706442","variant_ids":[41880824283235]},"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-YF03","featured_media":{"alt":null,"id":23875665690723,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/005e3152260acc76298cdb724e2c61ddc841c96c_cc80b04b-310c-40e9-b11e-0f682a8ad027.webp?v=1714706442"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880824512611,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-YF03","requires_shipping":true,"taxable":true,"featured_image":{"id":31470762623075,"product_id":7407942107235,"position":8,"created_at":"2024-05-03T11:20:47+08:00","updated_at":"2024-05-03T11:20:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5fbb0ab95e772802d8de5dd5cf49daa9ad003ea_b51fade1-c703-4304-9f0c-c5acae7515ed.webp?v=1714706447","variant_ids":[41880824512611]},"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-YF03","featured_media":{"alt":null,"id":23875666870371,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5fbb0ab95e772802d8de5dd5cf49daa9ad003ea_b51fade1-c703-4304-9f0c-c5acae7515ed.webp?v=1714706447"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41880824217699,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-YF03","requires_shipping":true,"taxable":true,"featured_image":{"id":31470760722531,"product_id":7407942107235,"position":5,"created_at":"2024-05-03T11:20:40+08:00","updated_at":"2024-05-03T11:20:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fbe7dd9b85c44a720d6d06a5aa37069afb1a83b_ab56df63-9782-47d5-8629-70bdb75f6322.webp?v=1714706440","variant_ids":[41880824217699]},"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-YF03","featured_media":{"alt":null,"id":23875665297507,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fbe7dd9b85c44a720d6d06a5aa37069afb1a83b_ab56df63-9782-47d5-8629-70bdb75f6322.webp?v=1714706440"}},"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: "停產" }